Skip to content

25friday/dojo-rock-paper-scissors

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rock, Paper, Scissors

Rock, paper, scissors is a known game where N people make symbols with their hands at the same time to try to beat one another according to the following rules:

  1. Rock beats Scissors
  2. Scissors beats Paper
  3. Paper beats Rock

Input

"rock paper"

Output

"Player 2 wins: paper beats rock"

Constraints

  • Driver + Co-pilot switching every 3 minutes
  • Do not use “else”.
  • No more than 2 parameters per method.

Extra

  • Scale to more than 2 players keeping the constraints.

About

Coding Dojo - Rock, Paper, Scissors

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • PHP 44.4%
  • TypeScript 21.2%
  • Kotlin 20.6%
  • C# 13.8%