Update README
This commit is contained in:
parent
e5c519363b
commit
c2cd07a005
1 changed files with 3 additions and 3 deletions
|
|
@ -1,7 +1,7 @@
|
|||
# odin-rock-paper-scissors
|
||||
|
||||
This is my first JavaScript project for Odin. Currently, the goal is simply to create a rock paper scissors game where the player plays against the computer.
|
||||
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.
|
||||
|
||||
For now everything is printed to the console, but there are plans to revisit it, so it shouldn't stay in the console forever. But until then, read the instructions below to access the console if you don't already know how to access 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.
|
||||
|
||||
You may already know how to access the console, but just in case you can get to it by pressing ctrl+shift+c or ctrl+shift+i (mac users use cmd instead of ctrl). You can just right click in the browser window and choose "inspect" from the menu that pops up. Once the console window is open, click on "Console" tab and then you'll be able to see the results of the game!
|
||||
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.
|
||||
Loading…
Reference in a new issue