GithubHelp home page GithubHelp logo

pandemic's Introduction

Planet Age Calculator

Epicodus Practice in JavaScript, October 16, 2017

By Kelsey Langlois & L. Devin MacKrell

Description

This is a web app variation on the game Pandemic. Instead of diseases, the player combats infestations of Tribbles, Safety Cones, Miniature Mammoths, and Tiny Velociraptors in Seattle neighborhoods. Instead of being turn-based, gameplay is based on real-time intervals.

Setup/Installation Requirements

This app can be viewed online at langlk.github.io/pandemic. To install on your own machine, follow the steps below.

  • Clone this repository.
  • Open index.html in your web browser.
  • To run on a development server:
    • After cloning the repo, run npm install in the root directory.
    • Then, run bower install.
    • After that, run gulp serve.
    • The site will now be running at localhost:3000

Specifications

  • Program tracks time that has passed.
  • Program stores locations and information about them.
  • Based on time, program spreads infestation.
    • Infestation spreads every 4 time units.
    • If there are 3 instances of specific infestation at a location being added to, outbreak instead.
  • User can move from location to location. (1 time unit)
  • User can treat infestation at a location. (1 time unit)
  • User can create a cure for an infestation (4 time units)if:
    • User is in the infestation's home neighborhood.
    • User has treated the infestation at least once.
  • Every 4 time units, there is a one in eight chance of an epidemic. On an epidemic:
    • rate of infestation increases by 1
    • last location in draw array is selected to receive 3 IU.
    • locations in discard array are shuffled and moved to front of draw array.
  • Player wins if all 4 cures are created.
  • Player loses if any neighborhood becomes fully infested (3 IU at each location).

Support and contact details

Please contact [email protected] or [email protected] with questions, comments, or issues.

Technologies Used

  • JavaScript
  • jQuery
  • Bootstrap
  • Node.js
  • Jasmine/Karma

License

Copyright (c) 2017 Kelsey Langlois & L. Devin MacKrell

This software is licensed under the MIT license.

pandemic's People

Watchers

James Cloos 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.