Рет қаралды 1,873
Follow me on Twitter to get more tips and tutorials! / alchemistcamp
We go over a process for making a flexible game board and logic for placing pieces in tic-tac-toe. This involves many new Elixir concepts: Comprehensions, MapSet, module structs, enforced keys, with and more.
Challenge 8:
Part 1) Use comprehensions to generate a deck of cards from lists of suits and ranks
Part 2) Check out elixir-lang.github.io/getting-... and experiment!