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.
gameplay.mp4
iex> alias Boneyard.{Cpu, Game}
iex> {:ok, game} = Game.new(4, 7, 6)
iex> Game.playable_tiles(game)
iex> {:ok, tile, game} = Cpu.play_random_tile(game)
iex> {:error, reason, game} = Cpu.play_until_round_over(game)
mix phx.new boneyard --no-ecto --no-mailer