My junky solution to the DockYard Academy Games project.
It includes a Games Escript with a Guessing Game, Rock Paper Scissors, and Wordle.
Install Elixir by following the Elixir Installation Guide.
Clone the repository.
$ git clone https://github.com/lgmfred/games.git
Install dependencies.
$ mix deps.get
Run tests and ensure they all pass.
$ mix test
Generate docs (if you like).
$ mix docs
Then you can either start the project in the IEx shell.
$ iex -S mix
iex> Games.Menu.display()
Or build the project as an escript executable.
$ mix escript.build
$ ./games
- Basic Elixir syntax
- Elixir Build Tooling(Mix)
- Testing and TDD (ExUnit With Mix Projects)
- Documentation and Static Analysis (Doctests, Typespecs, ExDoc and Credo)
- Executables