Skip to content

Section 3 of Elixir e Phoenix do Zero Course by Rafael Camarda

Notifications You must be signed in to change notification settings

raulpe7eira/ex_mon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ExMon

This code corresponds to the Section 3 of Elixir e Phoenix do Zero Course lab by Rafael Camarda.

The project simulates a turn-based game (like Pokémon).

Compilation, tests and runs

$ cd ex_mon
$ asdf install
$ mix compile
$ mix test
$ iex -S mix

How to use?

# creates a player with three movements
iex> player = ExMon.create_player("Raul", :kick, :cure, :punch)
# starts a game for the player
iex> ExMon.start_game(player)
# makes move for the player
iex> ExMon.make_move(:kick)

About

Section 3 of Elixir e Phoenix do Zero Course by Rafael Camarda

Topics

Resources

Stars

Watchers

Forks

Languages