Skip to content

Latest commit

 

History

History

rock-paper-scissors

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
  • Completed at: 2023-09-22T18:59:46.281Z

  • Completed languages: java

  • Tags: Fundamentals

  • Rank: 8 kyu

Description

Rock Paper Scissors

Let's play! You have to return which player won! In case of a draw return Draw!.

Examples(Input1, Input2 --> Output):

"scissors", "paper" --> "Player 1 won!"
"scissors", "rock" --> "Player 2 won!"
"paper", "paper" --> "Draw!"

rockpaperscissors