Skip to content

Latest commit

 

History

History
19 lines (17 loc) · 747 Bytes

README.md

File metadata and controls

19 lines (17 loc) · 747 Bytes

rock-paper-scissors

Rock Paper Scissors Project from theodinproject.org

  • UI has been added to the game.
  • Play multiple rounds until a Player reaches 5 wins.
  • Computer randomly chooses its play.

Items Utilized / Learned as part of the Project

  • document.querySelector for picking elements from the page
  • document.createElement for adding new elements to the page
  • .appendChild
  • .classList.add
  • .id
  • .textContent
  • .innerHTML (used with caution due to the code injection risks)
  • async functions for pausing between screen changes
  • animation through CSS
  • converting a string to an array for separating the characters as part of the animation
  • Dividing code into multiple smaller functions