Powered by AppSignal & Oban Pro
Would you like to see your link here? Contact us

Games: Menu

exercises/games_menu.livemd

Games: Menu

Mix.install([
  {:jason, "~> 1.4"},
  {:kino, "~> 0.9", override: true},
  {:youtube, github: "brooklinjazz/youtube"},
  {:hidden_cell, github: "brooklinjazz/hidden_cell"}
])

Navigation

Home Report An Issue ExecutablesAdvanced Pattern Matching

Games: Menu

Configure your existing Games project as an escript.

mix escript.build
$ ./games

Requirements

  • Player can select a game to play (guessing game, rock paper scissors, wordle)
  • Players are re-prompted to select a game to play after finishing a game.
  • Player can stop the program by typing “stop” instead of selecting a game.
What game would you like to play?
1. Guessing Game
2. Rock Paper Scissors
3. Wordle

enter "stop" to exit

Commit Your Progress

DockYard Academy now recommends you use the latest Release rather than forking or cloning our repository.

Run git status to ensure there are no undesirable changes. Then run the following in your command line from the curriculum folder to commit your progress.

$ git add .
$ git commit -m "finish Games: Menu exercise"
$ git push

We’re proud to offer our open-source curriculum free of charge for anyone to learn from at their own pace.

We also offer a paid course where you can learn from an instructor alongside a cohort of your peers. We will accept applications for the June-August 2023 cohort soon.

Navigation

Home Report An Issue ExecutablesAdvanced Pattern Matching