https://github.com/yogthos/graviton
a small game written in ClojureScript and Pixi.js
https://github.com/yogthos/graviton
Last synced: 4 months ago
JSON representation
a small game written in ClojureScript and Pixi.js
- Host: GitHub
- URL: https://github.com/yogthos/graviton
- Owner: yogthos
- License: mit
- Created: 2018-04-16T23:46:02.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-12-09T13:29:07.000Z (about 7 years ago)
- Last Synced: 2025-05-05T15:56:34.836Z (8 months ago)
- Language: Clojure
- Homepage:
- Size: 363 KB
- Stars: 24
- Watchers: 6
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## Graviton
Graviton is a physics based game where the player collects green prizes while avoiding red death zones.
The player adds gravitational attractors on the screen by clicking and dragging the mouse,
and the ship follows the gravity fields. The more gravitational attractors are added the more
death zones will be spawned on the screen.
[play the game in the browser](https://cdn.rawgit.com/yogthos/graviton/game-jam/release/graviton.html)
### Development mode
To start the Figwheel compiler, navigate to the project folder and run the following command in the terminal:
```
lein figwheel
```
Figwheel will automatically push cljs changes to the browser.
Once Figwheel starts up, you should be able to open the `public/index.html` page in the browser.
### Building for production
```
lein clean
lein package
```