4 ms·
This is similar to something my room mate is working on: https://github.com/thejoshwolfe/board-gamer-2d https://github.com/thejoshwolfe/board-gamer-2d The user
by AndyKelley 11y ago
This is similar to something my room mate is working on: https://github.com/thejoshwolfe/board-gamer-2d https://github.com/thejoshwolfe/board-gamer-2d
The user can create a JSON string that represents a game (checkers, solitare, dominion, smash up, etc). Then the engine creates cards, tokens, dice, etc. It does not enforce rules but it supports multi player and some rules about visibility to other players. Its intended use case is for testing out new games or expansions before printing them.
It's a little bit early in the project though, so you'd have to run it from source if you want a demo.
- rw2 11y agoThis seems to be all static html, why doesn't he just turn the branch into a github page?
- falsedan 11y agoIt is a github page, it's hosted on github.io. The branch is https://github.com/pakastin/deck-of-cards/tree/gh-pages https://github.com/pakastin/deck-of-cards/tree/gh-pages
- AndyKelley 11y agoThere's a node server required too, to coordinate the multiple connected clients.
- gcb0 11y agoyou can still run a demo off github pages without the multiplayer.
- hellbanner 11y agoHm, cool! My company just started on a Javascript board game engine where the server & client can share the same .js file for rules, and all logic for the game is encoded into the pieces (fat models) instead of controllers, allowing for easy customization and mods. https://github.com/QuantumProductions/tic-tac-toe https://github.com/QuantumProductions/tic-tac-toe
- RodericDay 11y agoThis is what I've been wanting to make since I first learned about programming 3 years ago. So much effort goes onto enforcing rules, when really, all you need is the virtual pieces.
- cableshaft 11y agoHad the same idea but I also have a hundred others to distract me, so thanks for the heads up. I'll keep an eye on it.
- AUmrysh 11y agoThis is actually something you can do with Tabletop Simulator on steam, as I'm using it for that exact purpose. It even uses JSON as the underlying data structure. Granted, it's proprietary and not free.
- gcb0 11y agoproprietary. not free. not standard web tech for use in browser. requires a DRM (with bittorrent client) spyware to be always running. yeah, not even close i would say. but the use of JSON is nice.
- AndyKelley 11y agoMy room mate tried to use that and he said it was garbage. The thing that I remember was having to type file paths manually, but there was a bunch of other specific and egregious problems he pointed out. Beyond that though, 3D brings nothing to the table; it's just a gimmick.