The weekend challenge for week 3 of Makers Academy was to create a web application that allows a person to play Rock, Paper, Scissors against the computer. It was written in Ruby and uses the Sinatra framework. It was test driven using RSpec and Capybara.
- Clone this repo
$ git clone [email protected]:[email protected]:TY231618/rps-challenge.git
- Change directory into the project
$ cd rps-challenge
- Install dependencies
$ bundle
- Start the server
$ rackup
- Using your favourite browser, navigate to
http://localhost:9292/
- Play!
- Tests are run form the command line using
$ rspec
Knowing how to build web applications is getting us almost there as web developers!
The Makers Academy Marketing Array ( MAMA ) have asked us to provide a game for them. Their daily grind is pretty tough and they need time to steam a little.
Your task is to provide a Rock, Paper, Scissors game for them so they can play 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
- 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