This is a User vs. Computer "Rock, Paper, Scissors" game, which I created after practicing Dave Gray's JS Tutorial for Beginners #1 through #15.
To Run This Game in Windows:
- Download these files and open them in VSC with the Live Server extension
- Open a Chrome Browser (about:blank)
- Use ctrl + shift + J to open the console
- Click on "Go Live" at the bottom of VSC
- The first game will automatically display in the console.
- To "play" again, refresh the browser.
Game Creation Notes:
I borrowed the ternary operator conditionals code and more from My First Interactive JS Rock, Paper, Scissors Game. Following the tutorial, I added arrays to it.
Problem-solving: There are so many changes in the Tutorial. I didn't realize how much we covered since lesson 11 through the current lesson. So, I've decided to keep the version without arrays and github a new repository for this new version with arrays. I learned how to change the origin for this version here: https://devconnected.com/how-to-change-git-remote-origin/
Problem unsolved:
Feedback changes:
Future adjustments from Feedback: I am looking into learning how to add SweetAlert (https://sweetalert2.github.io/) to create pop-up boxes with style and larger text. I may use an overlay method as in the JS Tic Tac Toe project I completed with Web Dev Simplified's Tutorial.
Credit & Gratitude:
Find Dave's JS Tutorial here: https://www.youtube.com/playlist?list=PL0Zuz27SZ-6Oi6xNtL_fwCrwpuqylMsgT
Thank you, Dave! I am enjoying learning JS from you. I look forward to learning more.
AUTHOR Diana Barber Github: https://github.com/CodingNannah