Giter VIP home page Giter VIP logo

project-31's Introduction

MS2 PROJECT 2 - ROCK PAPER SCISSORS LIZARD SPOCK

GitHub contributors GitHub last commit GitHub language count GitHub top language

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

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

Desktop wireframe Ipad wireframe Ipad Wireframe2 Iphone Wireframe

LANGUAGES USED

  1. HTML5
  2. CSS3
  3. JavaScript

PROGRAMS USED

  1. Font Awesome: I downloaded the fonts for use in the footer section highlighting the social media websites.

  2. Google Fonts: For us of all text content on the site pages.

  3. GitPod: Used to write up the code for my project and with the help of the GitPod terminal to commit everything to GitHub.

  4. GitHub: Stored all the code for this project after being pushed from GitPod.

  5. Balsamiq: Utilized in the initial design process to create wireframes.

  6. 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:

  1. Login or Sign Up to [GitHub] - https://github.com/nikhilkalhan92/Project-2
  2. Create a new repository named "MS2-Project"
  3. Once created, click on "Settings" on the navigation bar under the repository title.
  4. Choose which folder to deploy from, I used "/root".
  5. Click "Save", then wait for it to be deployed.
  6. 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:

  1. Login or Sign Up to GitHub.
  2. On GitHub, go to nikhilkalhan92/Project-2.
  3. 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.

  1. W3C HTML Validator Results HTML

  2. W3C CSS Validator Results CSS

  3. JSHINT Results JSS

WEBSITE TESTING

I have tested my site on Safari and Google Chrome on multiple devices. These include:

  1. iPhone X
  2. iPad Pro
  3. Macbook Pro
  4. Large Desktop

Please find below my testing process for all pages via mobile and web:

All Pages

  1. Background - I tested this on Chrome and Safari on all devices.
  2. 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

  1. 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

  1. 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

  1. Facebook - When selecting the Facebook icon, a new tab opens and redirects to the Facebook website. It worked as expected.
  2. Twitter - When selecting the Twitter icon, a new tab opens and redirects to the Twitter website. It worked as expected.
  3. YouTube - When selecting the YouTube icon, a new tab opens and redirects to the YouTube website. It worked as expected.
  4. Instagram - When selecting the Instagram icon, a new tab opens and redirects to the Instagram website. It worked as expected.

Game Page

  1. Results - I checked that the result output is displaying the correct caption for the winning / losing outcomes.
  2. Scoreboard - I checked that the score board increments the correct score for player and computer.
  3. Select your Option - I checked that the icons are all the same size and display the correct colours when hovering over them.
  4. Player/Computer choices - I checked that the player button selected appears in the user choice and that the generated computer choice is displaying correctly.
  5. 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:

lighthouse score

END PRODUCT

HOMEPAGE homepage

RULES rules

GAME game

GAME IN ACTION gameinaction

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.

project-31's People

Contributors

nikhilkalhan92 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.