Skip to content

RossTrang/rock-paper-scissors

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rock-paper-scissors

Live Demo

The Odin Project - Rock, Paper, Scissors game

https://www.theodinproject.com/courses/web-development-101/lessons/rock-paper-scissors

rps-text.html fulfils the user stories and little more.

  • driven by keyboard input
  • will only play 5 rounds
  • a draw awards points to both players
  • however unlikely, it is possible to draw 3 rounds, giving both players a 'winning' score.

rps-gui.html goes a little further.

  • mouse driven
  • CSS Grid for UI
  • rps-gui.js DOM manipulation
    • EventListeners added by ClassName for player selection
    • Update scores
    • Commentary field updates based on scores
    • Changes display property to show result of round

About

The Odin Project - Rock, Paper, Scissors game

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published