Skip to content

paosch/RPS

 
 

Repository files navigation

'Rock, Paper, Scissors'

Build Status

Description

A web application that enables the user to play the Rock, Paper, Scissors game with the computer.

User stories

As a user,
so that I can see my name when I win,
I would like to register my name before playing.

As a user,
so that I can pick a weapon,
I would like to be presented the choices (rock, paper and scissors).

As a user,
so that I can start playing,
I would like to be able to choose one option.

As a user,
to ask my oponent to play,
I would like the computer to choose a random option.

As a user,
I would like to see who has won the game.

Ruby version and tools used

  • Ruby '2.5.0'
  • Sinatra
  • Capybara
  • Rspec

How to run the code and play

  • clone this repository
  • run bundle
  • run rackup
  • visit localhost

Also deployed on Heroku:

https://rpspaolap.herokuapp.com/

Test coverage

screen shot 2018-05-15 at 17 03 00

Work in progress

As soon as I have more time to continue with this application, I will add a score counter.

About

A web application to play Rock, paper, scissors (TDD, Rspec, Capybara, Sinatra, Travis, Heroku)

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Ruby 60.8%
  • HTML 19.6%
  • CSS 19.6%