This is a project to create the rock paper scissors game.
  • CSS 42.3%
  • JavaScript 39.8%
  • HTML 17.9%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2023-12-31 19:14:29 -07:00
fonts Add fonts and move styles to styles folder 2023-12-31 16:45:41 -07:00
images Adjust structure of page, add background image 2023-12-28 21:32:29 -07:00
styles Add button styles 2023-12-31 19:14:29 -07:00
index.html Change background color, add button shadow, remove unnecessary spaces 2023-12-31 17:53:57 -07:00
README.md Update README 2023-11-08 08:23:40 -07:00
script.js Change class and add styles for replay button 2023-12-31 16:06:22 -07:00

odin-rock-paper-scissors

This is my first JavaScript project for Odin. The previous iteration was in the console, but this one now has a basic UI! As with the other Odin projects, if you are going through the curriculum and haven't done this one yet, make sure you try the assignment before looking at my solution! The effort is definitely worth it.

The initial goal was to have the player and the computer play a total of 5 games, the results of which would be shown in the console. In the updated version, our goal was to have the player input their choice with buttons instead of through text in a prompt and then play against the computer until one of them reached 5 points. The results were to be displayed on screen instead of in the console.

Inspired by some other developers, I also decided to add a little reset button at the end so the player could play the game again if they so choosed. Later down the road, I may add some additional UI elements to make it more visually iteresting, but I'm pretty happy with where it is now.