Create a web app that allows you to play this time-honoured game with nothing but your your mitts ✊ 👋 ✌️: rock paper scissors.
- Forked RPS challenge from Maker's Repo. Bundled installed its preset gems.
- Replaced README with this one.
- Created initial file structure.
- Create tests for the welcome page, entering a name.
- Created app controller and first views erb to with form, and tested post request sent correctly.
- Tested selecting link to choose tool. Create Player object with an instance variable to store this info (alongside name).
- Refactored to replace magic numbers and tool options with constants and created a helper method for game object's permutations.
- Extrapolated tests and production code to also account for the tools, paper and scissors.
- Created player tests.
- Created game's tests to test whether it pulls player move correctly.
- Extended game's tests to allow it to generate a random move containing logic inside in model.
This meets the minimum requirements, but there is still room for improvement. Perhaps, changing controller logic to use game as a top level model. Some nice visuals to help the user become better immersed in our illusion.