Skip to content

Latest commit

 

History

History
12 lines (11 loc) · 521 Bytes

notes.md

File metadata and controls

12 lines (11 loc) · 521 Bytes

Here is a first note!

function that plays single round - takes player and computer play functions as a parameters playerSelection function prompt case insensitive input check whether word is "rock" "paper" or "scissor" otherwise input or exit return value computerSlelection function return random from rock paper scissors if statement comparing player values to computers if paylerSelection === "rock" AND computerSelection === "paper" –> you lose ...