Skip to content

Latest commit

 

History

History
20 lines (16 loc) · 618 Bytes

README.md

File metadata and controls

20 lines (16 loc) · 618 Bytes

Kata: Rock - Paper - Scissors

Rock, paper scissors is a round based 2 player game. Each player chooses either rock, paper or scissors. Players do not know what the other player chose. To pick the winner the chosen symbols of both players are compared.

The following rules are used:

  • rock beats scissors
  • Scissors beat paper
  • paper beats rock
  • if both players chose the same symbol nobody wins.

Task

Implement the "rock-paper-scissors"-game following the rules above.

Hints:

  • think about tests
  • think about what you can implement first
  • you can implement the user-input as hard coded values in your code