Skip to content

kluceycose/rock-paper-scissors

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

Rock-Paper-Scissors!

A simple JavaScript-only version of the classic childhood game, Rock-Paper-Scissors, played against the computer.

Usage Summary

When the page is loaded, a prompt will ask the player to enter a choice of Rock, Paper, or Scissors. The computer makes a random choice, and the results are displayed in an alert box. Then the player is asked if they would like to play another round. If they click Ok, another round is played, and if they click Cancel, the game ends.

Skills Used

  • Flow control: if...else, do...while, and switches are used
  • Window dialog boxes: alert(), confirm(), and prompt() are used

About

JS implementation of Rock-Paper-Scissors

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published