Skip to content

TY231618/rps-challenge

 
 

Repository files navigation

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

About

Create the Rock Paper Scissors Game

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 73.3%
  • HTML 16.4%
  • CSS 10.3%