Quantum Game - a puzzle game with real quantum mechanics in a browser
JavaScript HTML CSS Shell
Failed to load latest commit information.
bundled feat(tile) added doubleSugarSolution element Jul 7, 2016
css feat(titleManager) next level button shown in top bar Jul 3, 2016
js refactor(levels) candidate levels in a separate file Oct 16, 2016
sounds feat(sound): absorption sound Mar 19, 2016
.eslintrc.json chore(eslint) Map and jasmine are now fine Jul 12, 2016
.gitignore chore(jspm) index for bundled and instruction Oct 25, 2015
LICENSE.md chore(legal) mit license Aug 3, 2015
README.md chore(eslint) added lodash linting Jul 11, 2016
app.js chore(app): created a class Game for top-level game routines Dec 14, 2015
bg.jpg feat(background): Dragonfish nebula background May 30, 2016
config.js refactor(lib) lodash upgrade from 3 to 4 w/renaming Jul 11, 2016
deploy_play.sh chore(deployment) fb ograph screenshot Jun 3, 2016
favicon.ico chore(favicon) new favicon - 3x3 colors Jun 1, 2016
index.html feat(tile) added doubleSugarSolution element Jul 7, 2016
karma.conf.js fix(karma): removing baseURL from config.js for karma-jspm to work Mar 19, 2016
logo.svg feat(logo): added logo and preload screen May 30, 2016
package.json chore(package) automatically updated dependencies Oct 16, 2016


Quantum Game

Quantum Game - play with photons, superposition and entanglement. In your browser! With true quantum mechanics underneath!


Development version

It's JavaScript, ES6. To build it you need Node.JS and jspm.io package manager.


After installing Node.js and jspm.io, and cloning this repository:

First, install global packages:

npm install --global karma-cli

Then install local packages.

npm install
jspm install

Additionally, for development we use eslint with eslint-plugin-lodash.

Running server

Start local HTTP server in the quantum game directory (e.g. by http-server).

Running tests

karma start

Production version

Bundle it (and minify, if you want):

jspm bundle-sfx --minify app

It creates a build.js file. To run it wee need a modified index.html (it is a manually-modified file, stored in bundled/index.html).

On the server, the structure of files should look as follows: