{"id":13821992,"url":"https://github.com/stared/quantum-game","last_synced_at":"2025-04-06T06:12:02.604Z","repository":{"id":39096413,"uuid":"48848173","full_name":"stared/quantum-game","owner":"stared","description":"Quantum Game (old version) - a puzzle game with real quantum mechanics in a browser","archived":false,"fork":false,"pushed_at":"2023-03-06T23:46:16.000Z","size":2764,"stargazers_count":347,"open_issues_count":20,"forks_count":45,"subscribers_count":11,"default_branch":"master","last_synced_at":"2025-03-30T05:06:47.515Z","etag":null,"topics":["game","javascript","physics","puzzle","quantum-game","quantum-mechanics"],"latest_commit_sha":null,"homepage":"http://v2016.quantumgame.io/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/stared.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null},"funding":{"github":["stared"]}},"created_at":"2015-12-31T12:03:25.000Z","updated_at":"2025-03-06T11:25:10.000Z","dependencies_parsed_at":"2023-02-15T07:32:04.344Z","dependency_job_id":"500a6ec5-5d39-4c10-82ea-c09a49a96705","html_url":"https://github.com/stared/quantum-game","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stared%2Fquantum-game","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stared%2Fquantum-game/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stared%2Fquantum-game/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stared%2Fquantum-game/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/stared","download_url":"https://codeload.github.com/stared/quantum-game/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247441057,"owners_count":20939239,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["game","javascript","physics","puzzle","quantum-game","quantum-mechanics"],"created_at":"2024-08-04T08:01:37.376Z","updated_at":"2025-04-06T06:12:02.581Z","avatar_url":"https://github.com/stared.png","language":"JavaScript","readme":"Quantum Game with Photons (2014-2016)\n============\n\n**A note: this repository is an old Quanutm Game (2014-2016), no longer maintained. The new one (2019-) is at [quantumgame.io](http://quantumgame.io).**\n\nQuantum Game - play with photons, superposition and entanglement. In your browser! With true quantum mechanics underneath!\n\n* Official address: http://quantumgame.io (initial beta released on 3 Jun 2016, http://play.quantumgame.io)\n* Social media: Facebook: [Quantum Game with Photons](https://www.facebook.com/quantumgameio), Twitter: [@quantumgameio](https://twitter.com/quantumgameio)\n* Authors: [Piotr Migdał](http://p.migdal.pl), [Patryk Hes](https://github.com/pathes), [Michał Krupiński](http://www.fiztaszki.pl/user/3).\n* Supported by: [eNgage III/2014](http://www.fnp.org.pl/laureaci-engage-iii-edycja/) grant.\n* A recent screenshot:\n\n![Screenshot](screenshot_qg_dev.png)\n\n\n# Development version\n\nIt's JavaScript, ES6. To build it you need [Node.JS](https://nodejs.org/) and [jspm.io](http://jspm.io/) package manager.\n\nIt's open for collaboration - from level creation, through interface (re)design and adding additional effects (two-photon interference, interactions with an electron). Interested? Mail pmigdal@gmail.com.\n\n\n## Installing\n\nAfter installing Node.js and jspm.io, and cloning this repository:\n\nThen install local packages.\n```bash\nnpm install\njspm install\n```\n\nAdditionally, for development we use `eslint` with `eslint-plugin-lodash`.\n\n**A note: jspm is seriously outdated and the build may not work.** \n\n## Running server\n\nStart local HTTP server in the quantum game directory (e.g. by [http-server](https://www.npmjs.com/package/http-server)).\n**Does not need an install, as there are pre-built files.**\n\n## Running tests\n\n```bash\n./node_modules/.bin/karma start\n```\n\n# Production version\n\nBundle it (and minify, if you want):\n\n```bash\njspm bundle-sfx --minify app\n```\n\nIt 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`).\n\nOn the server, the structure of files should look as follows:\n\n```bash\ncss\\\nfavicon.ico\nbuild.js\nindex.html\n```\n\n## Docker\n\nAlternatively, you can install dependencies using Docker.\n\n### Building\n\n* You can build this image by running the following command in the root of this repository: `docker build .`\n* You can also pass in a valid JSPM_GITHUB_AUTH_TOKEN by building like this: `docker build --build-arg JSPM_GITHUB_AUTH_TOKEN=\"a_jspm_encrypted_github_token\" .`\n  * For more information see: https://stackoverflow.com/questions/30995040/jspm-saying-github-rate-limit-reached-how-to-fix\n\n### Running\n\n* 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}`\n* or for a community built image try this: `docker run -d -p 80:8080 spkane/quantum-game:latest`\n\nand then open up a web browser and point it to port 80 on your Docker host.\n","funding_links":["https://github.com/sponsors/stared"],"categories":["JavaScript","Quantum fun"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstared%2Fquantum-game","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstared%2Fquantum-game","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstared%2Fquantum-game/lists"}