Giter Site home page Giter Site logo

dhrandy / unit-4-game Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 3.14 MB

The League of Extraordinary Gentleman JavaScript Game

Home Page: https://dhrandy.github.io/unit-game-4/

CSS 27.21% HTML 28.64% JavaScript 44.15%
coding-bootcamp javascript-game

unit-4-game's Introduction

The League of Extraordinary Gentleman - Homework 4

Description

This is a build project for my coding bootcamp class. I had to build a working game using JavaScript as part of my homework assignment. The basis of the game was given in the assignment and I chose and coded the theme. The theme I chose is The League of Extraordinary Gentleman. The Gentleman are fighting the enemy, Hyde. Each Gentleman you click on has a value that you're unaware of. You won't know the value until you click on each of them. When you click the first one the value is revealed in the Gentleman's sum. Each additional Gentleman's value will have to be subtracted from the sum to figure out their value. Your goal is to match Hyde's random number.

Instructions

  1. Click on one of the Gentleman's number to reveal the value.
  2. Click on another Gentleman and subtract the value from the Gentleman's sum.
  3. You need to match Hyde's value to win, if you go over, you lose.

Play the Game

Go to the following link to play the game. https://dhrandy.github.io/unit-game-4/

unit-4-game's People

Contributors

dhrandy avatar

Watchers

 avatar  avatar

unit-4-game's Issues

Setup Airbrake for your JavaScript application

Install Airbrake in 2 easy steps:

Step 1: Add the library
Include via CDN:

<script src="https://cdnjs.cloudflare.com/ajax/libs/airbrake-js/1.0.7/client.min.js"></script>

We also support installation via npm and Bower.

Step 2: Copy this config snippet to your app.js file

(You can find your project ID and API KEY with your project's settings):

var airbrake = new airbrakeJs.Client({
  projectId: <Your project ID>,
  projectKey: '<Your project API Key>'
});
airbrake.addFilter(function (notice) {
  notice.context.environment = 'production';
  return notice;
});

To test that Airbrake has been installed correctly in your JavaScript project, just open up the JavaScript console in your internet browser and paste in:

airbrake.notify('hey there!')

Visit official GitHub repo for more info on alternative configurations and advanced options.

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.