Skip to content

blue-luke/rps-challenge

 
 

Repository files navigation

RPS Challenge

Set-up

  • Clone the repo and pull it locally
  • Run bundle to install dependencies
  • To check tests, run: $ rspec
  • To start server, run: $ rackup
  • Visit local host on assigned port
  • Play game

Playing the game

  • Enter your name
  • Choose rock, paper or scissors
  • Press 'Submit'
  • The computer automatically makes its choice when 'Submit' is pressed (it doesn't cheat!)

Task

As a marketeer
So that I can see my name in lights
I would like to register my name before playing an online game

As a marketeer
So that I can enjoy myself away from the daily grind
I would like to be able to play rock/paper/scissors

Hints on functionality

  • the marketeer should be able to enter their name before the game
  • the marketeer will be presented the choices (rock, paper and scissors)
  • the marketeer can choose one option
  • the game will choose a random option
  • a winner will be declared

Bonus level 1: Multiplayer

Change the game so that two marketeers can play against each other ( yes there are two of them ).

Bonus level 2: Rock, Paper, Scissors, Spock, Lizard

Use the special rules ( you can find them here http://en.wikipedia.org/wiki/Rock-paper-scissors-lizard-Spock )

Basic Rules

  • Rock beats Scissors
  • Scissors beats Paper
  • Paper beats Rock

About

Create the Rock Paper Scissors Game

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Ruby 72.6%
  • HTML 14.9%
  • Shell 12.5%