Skip to content

Latest commit

 

History

History
81 lines (66 loc) · 3.31 KB

math_game.livemd

File metadata and controls

81 lines (66 loc) · 3.31 KB

Math Game

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

Navigation

Math Game

Build a mental math game using LiveView.

The game should:

  • Prompt the user with a random math addition question: i.e. 2 + 3.
  • Have a text input the user can enter their answer into.
  • Have a button users can submit their answer with.
  • Track the score of the user, and increment the score with each correct answer.

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 Math Game 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