MS2 PROJECT 2 - ROCK PAPER SCISSORS LIZARD SPOCK
Welcome to my second project. This project is a Rock, Paper, Scissors, Lizard, Spock game involving the programming languages HTML5, CSS3 and JavaScript. This game will demonstrate basic JavaScript functionality.
Here is a link to the final project
AM I RESPONSIVE
INITIAL DESIGN
My initial idea was to create a fun interactive game based on a show I used to watch.
- The site needs to be easy to use.
- The functionality of the mouse must be precise and accurate.
First Time Visitors
- The user must find the game easy to use and play.
- I want the user to understand how to play the game and the rules
FINAL DESIGN
DESIGN COLOR SCHEME My overall color scheme used throughout the site.
- Crimson Red -
- Dodger Blue
- Green
- Royal Blue
- Hex
WIREFRAME
LANGUAGES USED
- HTML5
- CSS3
- JavaScript
PROGRAMS USED
-
Font Awesome: I downloaded the fonts for use in the footer section highlighting the social media websites.
-
Google Fonts: For us of all text content on the site pages.
-
GitPod: Used to write up the code for my project and with the help of the GitPod terminal to commit everything to GitHub.
-
GitHub: Stored all the code for this project after being pushed from GitPod.
-
Balsamiq: Utilized in the initial design process to create wireframes.
-
Google Chrome Developer Tools: Google Developer Tools was used for trouble shooting and trying new visual changes without it affect the current code already created.
DEPLOYMENT
I used GitHub pages to deploy my final project. To do this I had to:
- Login or Sign Up to [GitHub] - https://github.com/nikhilkalhan92/Project-2
- Create a new repository named "MS2-Project"
- Once created, click on "Settings" on the navigation bar under the repository title.
- Choose which folder to deploy from, I used "/root".
- Click "Save", then wait for it to be deployed.
- The URL will be displayed above the "source" section in GitHub Pages.
HOW TO FORK A REPOSITORY
If you need to make a copy of a repository:
- Login or Sign Up to GitHub.
- On GitHub, go to nikhilkalhan92/Project-2.
- In the top right corner, click "Fork".
TESTING
CODE VALIDATORS
The W3C Markup Validator and W3C CSS Validator was used to validate my project to make sure there were no errors within the site.
WEBSITE TESTING
I have tested my site on Safari and Google Chrome on multiple devices. These include:
- iPhone X
- iPad Pro
- Macbook Pro
- Large Desktop
Please find below my testing process for all pages via mobile and web:
All Pages
- Background - I tested this on Chrome and Safari on all devices.
- Text: I checked that all text is in the correct and consistent size and font. I also checked that there were no spelling errors.
Responsiveness
- I checked that all pages and elements were responsive. To find breakpoints, I adjusted the screen sizes on mobile and website. It worked as expected.
HomePage
- Rules button - When selecting the "rules" button, a popup modal appears with rules of the game. This worked as expected. 2.. Start game button - When selecting the "start game" button, a popup modal appears to the game page. This worked as expected.
Footer
- Facebook - When selecting the Facebook icon, a new tab opens and redirects to the Facebook website. It worked as expected.
- Twitter - When selecting the Twitter icon, a new tab opens and redirects to the Twitter website. It worked as expected.
- YouTube - When selecting the YouTube icon, a new tab opens and redirects to the YouTube website. It worked as expected.
- Instagram - When selecting the Instagram icon, a new tab opens and redirects to the Instagram website. It worked as expected.
Game Page
- Results - I checked that the result output is displaying the correct caption for the winning / losing outcomes.
- Scoreboard - I checked that the score board increments the correct score for player and computer.
- Select your Option - I checked that the icons are all the same size and display the correct colours when hovering over them.
- Player/Computer choices - I checked that the player button selected appears in the user choice and that the generated computer choice is displaying correctly.
- Made sure the X button takes you back to the homepage
Google Developer Tools
I tested my website using Google Chrome Developer Tools Lighthouse feature, and received the results below:
END PRODUCT
IMAGES
Link to my background photo is here - https://docs.microsoft.com/en-us/samples/microsoft/rockpaperscissorslizardspock/azure-rock-paper-scissors/
ACKNOWLEDGMENTS
Thank you to my mentor Marcel for the help and guidance.
A special shoutout to Emmanuel 'Manni' Silva and Jayden "J2" Maddison.