To start your Phoenix server:
- Run
mix setup
to install and setup dependencies - Start Phoenix endpoint with
mix phx.server
or inside IEx withiex -S mix phx.server
Now you can visit localhost:4000
from your browser.
Ready to run in production? Please check our deployment guides.
- Official website: https://www.phoenixframework.org/
- Guides: https://hexdocs.pm/phoenix/overview.html
- Docs: https://hexdocs.pm/phoenix
- Forum: https://elixirforum.com/c/phoenix-forum
- Source: https://github.com/phoenixframework/phoenix
- recreate this README
- work with tests
- documentate the game flow
The gameflow consists in
- the user is authenticated
- he starts a match
- the user need to starts a set
- the system choose who's gonna start, if is gonna be the opponent, the result will be with the opponent card
- If the user is who gonna starts, he needs to select 1 of the 3 sorted cards for this match, when he selects, the system will create an opponent movement too.
- doesn't matter who started, the system will compairs who's have the card with the biggest value, and choose the user to win this set.
- There's a few rules to understand who wins, the first that happens, will gonna be choosed.
- If the same user win 2 sets.
- If a set is draw, the first that won will be the winner.