Giter Site home page Giter Site logo

rps-challenge's Introduction

Rock, Paper, Scissors Challenge

Week 3 challenge that builds on the skills and concepts covered during the week. The current functionality means that a two players can register and play a round of Rock, Paper, Scissors. The winner is being recorded on the backend but isn't being displayed to the user. This has broken since implementing mulitplayer functionality. 100% Test coverage.

Concepts

  • The relationship between a client and a server.
  • How HTTP is used to send information over the web.
  • RESTful APIs.
  • The request/response cycle.
  • Web templating with HTML/CSS.

Skills

  • Debugging programs that use multiple languages.
  • Using a framework (Sinatra) in your code.
  • Structuring the code for apps that have user interaction and visual output.
  • Testing apps that have user interaction and visual output.
  • Tracing data between the browser and server.

Instructions

  1. Clone the repository
$ Bundle 
$ rackup -p 4567

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

Bonus level 1: Multiplayer

Change the game so that two marketeers can play against each other ( yes there are two of them ).

Bonus level 2: Rock, Paper, Scissors, Spock, Lizard

Use the special rules ( you can find them here http://en.wikipedia.org/wiki/Rock-paper-scissors-lizard-Spock )

Basic Rules

  • Rock beats Scissors
  • Scissors beats Paper
  • Paper beats Rock

Issues to fix

  1. Implement Rock, Paper, Scissors, Spock, Lizard
  2. Add in error handling
  3. Add menu to choose which mode the user would like to play e.g vs Computer or RPSPL

rps-challenge's People

Contributors

anitacanita avatar ayelishaamoah avatar dearshrewdwit avatar mdsomerfield avatar neoeno avatar ptolemybarnes avatar silvabox avatar sjmog avatar tansaku avatar

Stargazers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.