Skip to content

knazim667/unit-4-game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Crystal Collecter Game

Table of Contents

  1. Overview
  2. Technologies
  3. Local Installation
  4. App Display

Overview

Crystal-Collector-Game is a Javascript app that uses the Math.floor(Math.random()) function to generate a random target number between 19 and 120. There are 4 crystals displayed on the screen. For each round, the user will receive a new target number, and each crystal will be assigned a new value. The user does not know the crsyal value until clicking on it. The goal for the user is to click on different crystals so that the sum adds up to the target number for that round.

Technologies

  • Math.floor()
  • Math.random()
  • Bootstrap

Local Installation

Step 1: Git Clone

Clone Crystal-Collector-Game to your local git repo like the following:

github clone.

The Crystal-Collector-Game project and its files should now be in your project folder.

Step 2: launch App

Open index.html file in browser (Chrome Preferred):

Or Visit Click Here.

App Display

image