Quantum Game - play with photons, superposition and entanglement. In your browser! With true quantum mechanics underneath!
- Official address: http://quantumgame.io (initial beta released on 3 Jun 2016, http://play.quantumgame.io)
- Social media: Facebook: Quantum Game with Photons, Twitter: @quantumgameio
- Authors: Piotr Migdał, Patryk Hes, Michał Krupiński.
- Supported by: eNgage III/2014 grant.
- A recent screenshot:
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
.
Start local HTTP server in the quantum game directory (e.g. by http-server).
karma start
Bundle it (and minify, if you want):
jspm bundle-sfx --minify app
It creates a build.js
file. To run it we 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:
css\
favicon.ico
build.js
index.html