/rps-challenge

Create the Rock Paper Scissors Game

Primary LanguageRubyOtherNOASSERTION

RPS App

Installation

  • Clone the repository to your computer
  • Run command bundle install in the terminal
  • Run rackup in the terminal to start the server
  • Visit localhost:9292 in your browser

User stories


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

Overview Functionality

  • The player should be able to enter their name before the game

  • The player will be presented the choices (rock, paper and scissors)

  • The player can choose one option

  • The game will choose a random option

  • A winner will be declared

  • NOTE: Rock beats Scissors | Scissors beats Paper | Paper beats Rock

Technologies

  • Ruby
  • Sinatra
  • Capybara
  • Simplecov
  • Rubocop