GOECHA / roshambo

A game of rock, paper, scissors

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

roshambo

A game of rock, paper, scissors

6.14.22

Contents

Watch Demo

Screen Shot 2022-10-25 at 4 59 24 PM

Objective

Create functioning web page that includes:

  • Randomize Game outcome
  • Functioning buttons
  • subject differentiation
  • Win incrementer

Code Layout

  • SRC
  • developer created image format
  • index.html
  • page structure
  • styles.CSS
  • aesthetics
  • player.js
  • class file
  • game.js
  • class file
  • main.js
  • eventListeners
  • eventHandlers
  • Active Fucntions

PR Template

pr-template

Design Layout with Details

roshambo-design-layout

Home Page -

View

  • Choice of Game
    • classic or difficult

Classic

  • Characters
  • human, alien, space-ship
  • Alien > Space Ship
  • Human > Alien
  • Space Ship > Human

Difficult

  • Characters
  • Alien > Space Ship & Sphynx
  • Human > Alien & Robot
  • Space Ship > Human & Sphynx
  • Sphynx > Space Ship & Robot
  • Robot > Human & Alien

Architecture Your entire application will consist of one HTML page. You will have three JavaScript files:

  • A player.js file that contains a Player class.
  • Player methods must include, but are not limited to:
  • constructor - properties should include: name (ex: 'Human'), token (ex: '👩🏻'), wins (ex: 0)
  • takeTurn
  • A game.js file that contains a Game class.
  • A Game should include:
  • Two Player instances
  • A way to keep track of the data for the game board
  • A way to keep track of the selected game type
  • A way to check the Game’s board data for win conditions
  • A way to detect when a game is a draw (no one has won)
  • A way to reset the Game’s board to begin a new game
  • A main.js file that contains all DOM related JavaScript

Deployment_URL

LinkedIn Creator Profiles

Set Up

  1. fork this boilerplate repository
  2. Clone down your new, forked repo
  3. cd into the repository
  4. Open it in your text editor
  5. View the project in the browser by running open index.html in your terminal

Link to Rubric

Update: 6.14.22 [CG](https://github.com/GOECHA/roshambo)

About

A game of rock, paper, scissors


Languages

Language:JavaScript 39.2%Language:CSS 38.8%Language:HTML 22.0%