GithubHelp home page GithubHelp logo

coldwar's Introduction

Cold War

Talks

Talks have been given on Coldwar at:

  • JSConf US, May 2015 (Jacksonville, Florida, US)
  • Web Directions Code, June 2015 (Melbourne, Australia)
  • SydJS, July 2015 (Sydney, Australia)
  • TX JS, July 2015 (Austin, Texas, US)

Install

git clone [email protected]:simonswain/coldwar.git
cd coldwar
cp config/index.sample.js config/index.js
npm install
node run

# http://localhost:3002

Shortcuts

Press ? for help.

Press \ for diagnostics.

About

There are two views, top view and elevation view. All the actors have an x, y and z.

Each of the circle structures is a nation state.

It has a capital at the center (square, blinking). Defcon is the number in the capital.

Cities (circles) send people to work at factories.

Factories (triangles) make munitions and send them to bases

Bases (square) stockpile munitions (counts, clockwise from top right: icbms, abms (anti ballistic missiles), fighters and bombers.

Bombers are big and slow (triangles) that select a target (factory, base, city, capital in that order), fly to it and nuke it, reselecting a target if somebody else destroys it first.

As defence perimeters are penetrated, defcon gets more scary.

Fighters launch at Defcon 4 and attempt to destroy bombers.

At Defcon 3, Bases launch ICBMs a low probability amount of the time.

Satellites launch at Defcon 2, and can shoot ICBMs out of the sky, but have fire/recharge lasers.

When one of a nation's assets (factory, base, city) is nuked, they go to Defcon 1.

If your enemy goes to Defcon 1, so do you.

At Defcon 1, all ICBMs will fire.

When your capital is destroyed, it's Game Over.

The control panel lets you tweak the starting parameters. There are a lot more controls for all the actors (e.g, how close do bombers flock.) than are not exposed here.

References

History

2015-05-27 0.0.1 Initial public release

MIT Licence

coldwar's People

Contributors

simonswain avatar cyberkirby avatar

Watchers

 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.