Skip to content

kameshp1815/rock-paper-scissor-game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rock-paper-scissor-game

Description: HTML : Create the game structure with buttons for choices and displays for user and displays computer selections, as well as the winner. CSS: Style the webpage layout, buttons and result displays Java Script: * Defines game options (rock, Paper,scissors) *Get references to buttons * Add click listeners to buttons: • Get users Choice. • Generate random computer choice . • Determines the winner. • update display with user and computers choice and winner Functions: Get computer choice: Grenerates a random computer selection Get winner: Determines the winner based on user and computer choices.