RPS Challenge
Makers Academy - Weekend Challenge 3
Our third weekend challenge. We were tasked to build a small web application to simulate the game of Rock, Paper, Scissors.
Aim
After having trouble completing last weeks challenge, I wanted to keep this application as simple as possible. That meant doing tests first, coding and refactoring accordingly
I found that I was really comfortable this time around with what I was creating, and managed to achieve my goal of having a working solution before
To Do
- Implement Rock, Paper, Scissors, Spock, Lizard gameplay
- Fix RuboCop offenses with my code (5 offenses)
- Tidy up README
- Add domain modeling breakdown in readme
- Refactor code and tests as required
- In 2 player mode add a separate page so player 2 can enter there selection separately
Screenshots
Task
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:
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
Getting Started
- Clone or download the repository to your system
https://github.com/Hemesh-Unka/rps-challenge.git
- Redirect into the home directory
cd rps-challenge
- With Bundle package manager type
bundle
to install required gems - Type
rackup
to run the server - Finally in your browser navigate to
localhost:9292
to view the app
Testing
Tests were designed to run using the RSpec and Capybara testing frameworks.
To run RSpec test:
rspec