- ruby 2.5.0
- rails 5.2.1
Run in the terminal:
$ bundle
$ rake db:setup
$ rails s
Select one of the options and click on it, the alert will report the result (you can see the full details in response)
- Rock beats scissors
- Scissors beats paper
- Paper beats rock
- Identical throws draw