https://github.com/relvacode/universe
A realistic browser based universe simulation game engine
https://github.com/relvacode/universe
Last synced: 5 months ago
JSON representation
A realistic browser based universe simulation game engine
- Host: GitHub
- URL: https://github.com/relvacode/universe
- Owner: relvacode
- License: gpl-2.0
- Created: 2021-03-03T10:09:44.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2021-03-03T10:15:51.000Z (over 5 years ago)
- Last Synced: 2023-03-08T21:10:48.840Z (over 3 years ago)
- Language: Go
- Size: 111 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Universe
A realistic universe simulation game engine for the browser written in Go WebAssembly
**[Play](https://universe.relva.co.uk/index.html)**
### Controls
| Input | Description |
| ------ | ------ |
| `space` | Pause and resume the simulation |
| `r` | Reset the simulation |
| `v` | Reset all velocities to 0 |
| `s` | Spawn 1024 particles at random locations |
| `click + drag` | On an empty space to create a new entity |
| `click + drag` | On an entity to modify its velocity |