Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rockPaperScissor

Odin rock paper scissor exercise on javascript The entire project is run using prompts and alerts for user interaction. The main function of the game is called playGame(), it defines the loop for the game, it calls the game round function called gameRound() per ieration count and defines two variables

The loop defined controls the re-execution of the code 5 times in total by setting i = 0, i < 5, i ++

Variables defined are the functions used to get computer and human choices

Each game round function by using values gotten from both variables defined earlier.

About

Odin rock paper scissor exercise on javascript

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages