Giter VIP home page Giter VIP logo

paper-scissors-rock-lizard-spock's Introduction

Rock Paper Scissors Lizard Spock Game

Rock Paper Scissors Lizard Spock

You can view the live site here

Project Overview

Rock Paper Scissors Lizard Spock is an extension of the classic game of chance, Rock Paper Scissors, created by Sam Kass and Karen Bryla. Sam Kass explains he created the expanded game because it seemed like most games of Rock Paper Scissors with people you know would end in a tie.

View further details here

Project Goals

The goal of this project was to make a simple game that would help players learn the rules of the additional lizard spock components in a fun and playful way.

User Experience

User Goals

The user goals of this website are:

  • To learn how to play Rock Paper Scissors Lizard Spock.
  • To practice their skills and understand the additional choices and combinations that lizard and Spock bring to the traditional game.
  • To have fun whilst learning something new.

Target Audience

This game is targeted towards both children and adults. The simple clean interface appeals to all ages.

User Stories

  1. As a new user I want to play Rock Paper Scissors Lizard Spock.
  2. As a new user I want to understand the rules of the game.
  3. As a new user I want to be able to tell if I am winning or losing against the computer.
  4. As a new user I want to be able to tell what option the computer chose against me.
  5. As a new user I want to be able to reset the overall game at any point to start again.
  6. As a new user I want to be able to see if I have won or lost the overall game against the computer.

Wireframe

You can view the wire frame here You can view the wire frame here

Surface

Color Scheme

The colour scheme takes inspiration from traditional marvel comic book covers and is meant to evoke feelings of fun and playfulness.

Font

Rock Paper Scissors Lizard Spock

Bangers is a comic book style font which packs a punch! It is designed in the style of mid-20th century superhero comics cover lettering. The font was chosen to add a playful and fun feel to the game.

Game Features

Reset and Rules

The rules button in the top left corner of the screen allows the user to quickly access the rules of the game. If there is a need to reset the game at any point before either player reaches a score of 5 this can be done in the top right of the screen via the reset button.

Player Score Area and Winner Announcement

The player score is prominent clear and easy for the user to understand if they are winning or losing in the game. The "First to 5 Wins the Game" message explains how the game is won and is replaced with a win, draw or lose message including a message explaining which choice won.

The Player Choice Display Section

This section visually displays the user choice image and the computer choice image based on their selection.

The Game Option Buttons

The game options are displayed at the bottom of the screen and allow the user to select an option. This kicks off the game functionality.

Modals

Rules Modal

This modal displays the rules of the game and is available to click at any time during an ongoing game.

Winner Modal

The winner modal is displayed when the user is the first to score 5 points. The play again button refreshes the game and resets the scores to 0. The modal can only close by hitting the play again button.

Loser Modal

The loser modal is displayed when the computer is the first to score 5 points. The play again button refreshes the game and resets the scores to 0. The modal can only close by hitting the play again button.

Testing

You can view the testing file here

Deployment

The project was deployed to GitHub pages using the following steps:

  1. Once logged in to GitHub, navigate to the site's repository.
  2. Under repository name , click Settings.
  3. In the left sidebar, click Pages on the left-hand menu.
  4. Under "Source", select the Main Branch and hit Save.
  5. To see your published site, under GitHub Pages, click the site's URL.

Local Deployment

In order to make a local copy of this application, you can clone it by typing the following command in your IDE Terminal:

  • git clone https://github.com/r3b3l-dev/paper-scissors-rock-lizard-spock.git

Alternatively, if using Gitpod, you can click here to start a new Gitpod workspace on your account.

Technologies Used

Frameworks and Languages

HTML5 - Used for the main context of the site and layout.

CSS3 - Used for the styles of the site.

JavaScript - Used for the main interaction with the DOM.

Bootstrap v5.0.2 - Used for better responsiveness and layout.

Code Repository, Writing, and Version Control

Gitpod - Used for development as the cloud-based IDE.

GitHub - Used for securing my code online.

Git - Used for version control (git add, git commit, git push)

Issue Tracker

GitHub Issues - Used to track any issues internally to my repository.

Software

Favicon - Used to generate the favicon.

Balsamiq - Used to create my wireframes.

ResizeImage.net - Used to resize my images online.

Google Fonts - Used for typography on the site.

Font Awesome - Used for icons on the site.

Am I Responsive - Used to generate the responsive image at the top of the README.

Site Palette - Used to generate the README site palette.

Credits

Game Images

Acknowledgments & References

Disclaimer

The content of this website is for educational purposes only and not intended for commercial use.

paper-scissors-rock-lizard-spock's People

Contributors

r3b3l-dev 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.