Skip to content

avirene/rps-challenge

 
 

Repository files navigation

RPS Challenge

This repo provides a Rock, Paper, Scissors game for the Makers Academy Marketing Array on the web with the following 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

Functionality:

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

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

Basic Rules

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

Domain Model

RPS domain model

to install gems

$ bundle install

(Sinatra, Capybara, Ruby, Rack, Simplecov, RSpec, Rubocop)

to play the game

$ rackup

navigate to localhost:9292.

to play the game on localhost:3000

$ rackup -p 3000

Ruby Style Guide

to run linter

$ rubocop

to run tests

$ rspec

MIT © Iryna Audzei

About

Create the Rock Paper Scissors Game

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Ruby 92.4%
  • HTML 7.6%