https://github.com/josepedrodias/tabletop
an experimental tabletop engine in js/canvas
https://github.com/josepedrodias/tabletop
game gamedev sandbox simulation tabletop
Last synced: 7 months ago
JSON representation
an experimental tabletop engine in js/canvas
- Host: GitHub
- URL: https://github.com/josepedrodias/tabletop
- Owner: JosePedroDias
- Created: 2017-10-21T11:13:20.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2017-11-14T00:23:43.000Z (almost 8 years ago)
- Last Synced: 2025-01-21T09:48:26.050Z (9 months ago)
- Topics: game, gamedev, sandbox, simulation, tabletop
- Language: JavaScript
- Homepage: https://josepedrodias.github.io/tabletop/
- Size: 813 KB
- Stars: 1
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# tabletop
## intro
Trying to come up with a simple but useful tabletop simulation or sandbox.
This is an attempt to create an engine akin to the lovely
[tabletopia](https://tabletopia.com/) and
[tabletop simulator](http://store.steampowered.com/app/286160/Tabletop_Simulator/).The focus here is on simplicity, portability and I intend to support bots later on
to both play the game (as a player) and enforce rules (as a referee).The visual part is supposed to be super simple 2D and expose actions via dragging with
the left button (moving) and performing additional actions with the right button,
via a radial menu.By the time bots get supported, this may cease to be a sandbox if I get to enforce
game rules.I'm trying to depend the very least on both the platform and the language,
so relying on canvas for rendering. The idea is to be able to port this without much effort.## TODO
* fix bug on flip group failing
* zones (bags of objects, aligning positioning by stacking or placing in linear direction)
* camera support (position, rotation, scale)## more distance roadmap
* support a bot to be able to log the actions and enforce rules.
* support a bot to log in and act as a player.## definition
Read the [internals](INTERNALS.md)
## externals
I'm starting the artwork by using [kenney's boardgame pack](https://kenney.nl/assets/boardgame-pack).
## reference material
* [canvas cheat sheet](https://simon.html5.org/dump/html5-canvas-cheat-sheet.html)