Giter Club home page Giter Club logo

rock-paper-scissors-game-12's Introduction

Rock Paper Scissors Game

Rock Paper Scissors is a hand game originating from China, usually played between two people, in which each player simultaneously forms one of three shapes with an outstretched hand. These shapes are "rock" (a closed fist), "paper" (a flat hand), and "scissors" (a fist with the index finger and middle finger extended, forming a V). "Scissors" is identical to the two-fingered V sign (also indicating "victory" or "peace") except that it is pointed horizontally instead of being held upright in the air. This site is targeting adults and children in order to play against the computer and have fun together.

Features

  • The header

    • The header shows the name of the game.
    • The simple and bright colour of the header brings easy accessibility to the user.
    • The black and whitesmoke contrast is the most efficient style rule for this website.
    Capture d’écran 2022-07-22 à 18 45 42
  • The Score container

    • The score section collects points of the players (Human vs AI).
    • There is two buttons where the user's position is clearly assign to.
    • Easy interface to score for the user.

Capture d’écran 2022-07-22 à 18 45 56

  • The buttons section

    • An elaborate section where three buttons are displayed in a really intuitive, organized and informative way.
    • The model for this section is Love Maths project where the essentials are well done.
    • Fontawesome helped to realise a designed section with visibility and illustrative icons.
    Capture d’écran 2022-07-22 à 18 46 13
    • The buttons plus hover can change colour and when pressed: they show contrasted and opposite symetric colour for the player visual comfort.
    • Capture d’écran 2022-07-22 à 18 52 24
    Capture d’écran 2022-07-22 à 18 52 53

    _ Testing

    • Page works in several browsers as Firefox, Safari, Chrome
    • Devtools confirm : the project is responsive on variable screen sizes
    Capture d’écran 2022-07-22 à 19 17 06 Capture d’écran 2022-07-22 à 19 17 23
    • Page works in responsive test server: mobile, desktop, laptop amd more
    Capture d’écran 2022-07-22 à 22 39 02

Bugs

  • AI score wasn't recording because of a mistake in my function in JS.
  • Bug fixed with a correct function.

Validators Testing

  • JS HINT checker: confirmed
  • HTML: confirmed via validator
  • CSS: confirmed via validator
  • Accessibility: confirmed via Lighthouse

Capture d’écran 2022-07-23 à 00 35 19

Unfixed Bugs

  • No unfixed bugs.

Deployment

  • The site was deployed to GitHub pages. The steps to deploy are as follows:

  • In the GitHub repository, navigate to the settings tab

  • From the source section drop-down menu, select the Main branch

  • Once the main branch has been selected, the page provided the link to the completed website.

  • The live link can be found here - https://12061988.github.io/rock-paper-scissors-game/

Credits

Content

  • Love Maths walkthrough Project.
  • Youtube code tutorials as example and adapted to my own vision.

Media

  • Google Fonts.
  • Fontawesome.

rock-paper-scissors-game-12's People

Contributors

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