Skip to content
This repository has been archived by the owner on Mar 26, 2019. It is now read-only.

Latest commit

 

History

History
72 lines (50 loc) · 1.79 KB

README.md

File metadata and controls

72 lines (50 loc) · 1.79 KB

Rock Paper Scissors

Goal

Build a smart player that beats another player in Rock Paper Scissors best of three rounds. Winning player gets 5 points.

Rules of this contest

Preparation

  • Fork or clone the project
  • Work in your own branch

The Game

  • You can create more than one strategy
  • Send in one file for each strategy
  • A file should contain exactly one subclass of Player
  • Start the name of your subclass with your team-name (ie: GrolschSmartPlayer)
  • Start the name of your files with your team-name (ie: grolsch_smart_support.rb)
  • Start any data files you write to disk with your initials (ie: grolsch_smart_image.jpg)

Submit

  • Push your branch
  • Create Pull Request

Rock Paper Scissor

There are three items: Rock, Paper and Scissors

  • Paper beats a Rock (because it covers a rock)
  • Scissors beat Paper (scissors cut paper)
  • A Rock beats Scissors (rock breaks scissors)
  • Anything else is a "draw"

The Big Bang Bonus: Rock Paper Scissor Lizard Spock

IMAGE ALT TEXT HERE

  • Paper beats rock
  • Rock beats lizard
  • Lizard beats Spock
  • Spock beats scissors
  • Scissors beats lizard
  • Lizard beats paper
  • Paper beats Spock
  • Spock beats rock
  • Rock beats scissors

Its simple

Points

  • Winning basic game: 10 points
  • Winning with Lizard Spock: 15 points
  • Winning with player specs/tests: multiply by 1.5
  • Winning by using monkey patching: 3 points in total