In this project, we'll practice building forms and saving user inputs to a database.
Start by attempting this quick puzzle. What do you think?
- Fork this repository.
- Clone your fork.
- Open the entire folder you downloaded in Atom.
- Commit and sync often.
- Run
rake grade
when you are ready to see how you are doing.
- Create static mockups of the two pages users can get to,
/all_guesses
and/show_answer
, based on the target. - Make the Answer form work to send the user from
/all_guesses
to/show_answer
and parrot back the answer they submitted. - Make the Guesses form work to send the user from
/all_guesses
back to/all_guesses
and parrot back the guess they submitted. - Add some logic to report whether the guess obeyed the rule or not.
- What would we need in order to store the history of all past guesses?