Skip to content

elenagarrone/RPSLS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Code Climate

ROCK/PAPER/SCISSORS/LIZARD/SPOCK

The challange for week 3 was to create 'Rock, Paper, Scissors, Lizard, Spock' for the browser. It's built using Sinatra and Ruby. Testing was done with RSpec and Cucumber.

On Heroku:

https://rpsls-rb.herokuapp.com/game

Technologies:

  • Ruby
  • Sinatra
  • CSS
  • HTML
  • RSpec
  • Cucumber
  • Capybara
  • Git

How to use:

Clone the directory:

$ git clone https://github.com/elenagarrone/RPSLS.git

Change into it:

$ cd RPSLS

Install the gems:

$ bundle install

Try it on localhost:

$ rackup
#then on the browser go to:
localhost:9292

How to test it:

From inside the directory run:

$ rspec

and:

$ cucumber

The cucumber tests are failing sometimes due to the fact that the computer chose rendomly its weapon. You can have a look HERE to see all the tests passing.

About

Rock Paper Scissors Lizard Spock

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published