Games on Sinatra is a web application with three games
- Magic 8 Ball
- Secret Number
- Rock Paper Scissors
Magic 8 Ball
- Magic 8 ball takes user's questions and returns an eerily prescient answer.
Secret Number
- Users click a number between 1 and 10. The controller validates the guess and renders the win or lose view.
Rock Paper Scissors
- Create a URL in this form:
/games/rock_paper_scissors/:throw
- Use params[:throw] as the user's choice (i.e. /games/rock_paper_scissors/rock)
- Compare the 2!
Extensions
- Styling
- Rock Paper Scissors Lizard Spock