Skip to content
Create the Rock Paper Scissors Game
Ruby HTML
Branch: master
Clone or download
Pull request Compare This branch is 12 commits ahead, 19 commits behind makersacademy:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
docs
lib
public
spec
views
.gitignore
.hound.yml
.rspec
.rubocop.yml
.travis.yml
CONTRIBUTING.md
Gemfile
Gemfile.lock
LICENSE
README.md
Rakefile
app.rb
config.ru

README.md

Rock Paper Scissors Challenge

id

A Rock, Paper, Scissors web app where 2 players can play against each other. The first page displays a short story with the 3 characters.

The first page ask for players names, if none are given the game uses the default names. The first player must be human and is forced to make a choice between the 3 options but the second player can skip choosing and the computer will chose instead.

There are 2 modes of playing:

  • sudden death: the game stops after one round
  • best 3 out of five: score is kept for 5 games and results are announced after each round as well as the overall winer

Example of how the winner is decided

ScreenShot

How to install it

  • Fork this repo
  • Run the command 'bundle' in the project directory to ensure you have all the gems

Extra functionality to be added

  • Game logic allows for easy extension to more than 3 choices

How to test it

  • Use rspec and rubocop
You can’t perform that action at this time.