GithubHelp home page GithubHelp logo

doc22940 / quantum-game Goto Github PK

View Code? Open in Web Editor NEW

This project forked from stared/quantum-game

1.0 1.0 0.0 1.95 MB

Quantum Game (old version) - a puzzle game with real quantum mechanics in a browser

Home Page: http://quantumgame.io/

License: MIT License

JavaScript 69.66% CSS 5.74% HTML 23.89% Shell 0.44% Dockerfile 0.28%

quantum-game's Introduction

Quantum Game with Photons

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

A note: this repository is an old Quanutm Game (2014-2016). The new one (2019-) is here: github.com/Quantum-Game. Social handles remain the same (Quantum Game with Photons, Twitter: @QuantumGameIO) - feel invited to follow us there. There is a new blog, Quantum Photon - Medium. Also: all ideas, issues and pull requests should go to the new game!

Screenshot

Development version

Open for collaboration! For more details, see here.

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

It's open for collaboration - from level creation, through interface (re)design and adding additional effects (two-photon interference, interactions with an electron). Interested? Mail [email protected].

Installing

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 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

Docker

Alternatively, you can install dependencies using Docker.

Building

Running

  • If your build completes sucessfully there will be a new image ID printed at the end of the build, which you can then use to to run it: docker run -d -p 80:8080 ${IMAGE_ID_FROM_BUILD}
  • or for a community built image try this: docker run -d -p 80:8080 spkane/quantum-game:latest

and then open up a web browser and point it to port 80 on your Docker host.

quantum-game's People

Contributors

stared avatar pathes avatar lurch avatar julianvolodia avatar

Stargazers

Acampbell 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.