Skip to content

alinix1/Rock-Paper-Scissors

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ROCK, PAPER, SCISSORS

Project Overview

Rock, Paper, Scissors is a web application that allows users to play the game of Rock, Paper, Scissors virtually against a computer. The classic game has the following rules: rock crushes scissors >> scissors cuts paper >> paper covers rock. The difficult option includes lizard and spock for additional challenges and strategies.

Functionality

  • A user can choose which game: classic or difficult
  • When a user selects either game they are taken to a new page with the fighter options
  • When a user selects which fighter the game will begin against the computer and the new page will show the human or user's choice and the randomized computer choice
  • The outcome is either the human wins, computer wins, or it is a draw
  • The score is updated after each game in the upper left and upper right sections of the page
  • When a user wants to play a different game, a change game button will appear on the upper left side of the page
  • the user will then return to the main page and can play again
Screen.Recording.2022-06-14.at.1.53.29.PM.mov
Screen.Recording.2022-06-14.at.1.55.16.PM.mov

Technologies Used

JavaScript HTML CSS

Contributors

Built by Ali Nix, a Front End Engineering student in Mod 1 at the Turing School of Software and Design

Reflection

In the beginning I made an outline or architecture for the data model (classes) that helped guide me in building the Player class and the Game class. I struggled with the CSS the most on this project. I most likely will not add additional features/functionality. If I do decide to add a feature I would like to add a reset button.

Online Resources

  • MDN docs and Stack Overflow
  • CSS Tricks

Set Up Instructions

  1. fork the repository Rock-Paper-Scissors
  2. clone down your new, forked repository
  3. cd into the repository on your local machine
  4. open the directory in your text editor
  5. view the project in the browser by running open index.html in your terminal

About

School Project, a classic game of Rock, Paper, Scissors, applying Vanilla JavaScript

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors