Skip to content

Latest commit

 

History

History
53 lines (41 loc) · 1.67 KB

README.md

File metadata and controls

53 lines (41 loc) · 1.67 KB

Weekend Challenge 3: Rock Paper Scissors

About

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.

Installation

  1. Clone this repo $ git clone git@github.com:git@github.com:TY231618/rps-challenge.git
  2. Change directory into the project $ cd rps-challenge
  3. Install dependencies $ bundle

Usage

  1. Start the server $ rackup
  2. Using your favourite browser, navigate to http://localhost:9292/
  3. Play!

Running tests

  1. Tests are run form the command line using $ rspec

Task

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

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

Screen Shot

Alt text