Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ashkyd/worker-db
Plaything - game database inside a worker
https://github.com/ashkyd/worker-db
Last synced: 4 days ago
JSON representation
Plaything - game database inside a worker
- Host: GitHub
- URL: https://github.com/ashkyd/worker-db
- Owner: AshKyd
- Created: 2015-05-31T07:40:19.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-05-31T13:06:07.000Z (over 9 years ago)
- Last Synced: 2024-11-10T14:48:50.306Z (2 months ago)
- Language: JavaScript
- Size: 102 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Worker DB
=========Random proof of concept thing of housing a game database inside a web worker.
The demo shows some basic initialisation & querying capabilities. It should be
possible to implement a simulation game with computationally-intensive stuff
inside the worker, freeing up the render thread to do it's work. It may be
possible to spin out more workers as required in future.To do:
* In-worker map/reduce functionality to trim the dataset before it's sent
back to the main thread.
* A* routing between db tiles inside the worker. (Note it's an x/y grid)
* Misc, I dunno.