Skip to content

lebogangolifant/rock-paper-scissors

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rock Paper Scissors Game

Simple classic game that plays against the computer

Task

  • The goal is to to make a simple implementation of grade-school classic “rock paper scissors”
  • Add markup with HTML5 sementic
  • Style elements with CSS3
  • Implementation: used
  • arrow function to to write shorter function syntax
  • JavaScript Dom method to add HTML elements
  • JavaScript random function to return random string
  • switch statement to compaire different actions based on different conditions.

Acknowledgments