4 ms·
Feel like the logical extreme of this is a database built for multiplayer games, something like: https://github.com/clockworklabs/SpacetimeDB https://github.com
by valorzard 1y ago
Feel like the logical extreme of this is a database built for multiplayer games, something like: https://github.com/clockworklabs/SpacetimeDB https://github.com/clockworklabs/SpacetimeDB
Though there, you are still writing the main game logic in Rust or C#
- crooked-v 1y ago"Just build all the logic directly in the DB" is something I've thought about before for simple multiplayer online RPGs and the like, where quite a lot of things are effectively just a direct mapping from database to screen. But, using the general idea for 'twitch' gaming is really wild.
- lvogel 1y agoYea, I actually thought of the viability of SQL for games while working on DOOMQL. It's just so easy to express a lot of game logic in SQL queries. As an avid OSRS player I was thinking about doing a simple MUD/MMO next. Thanks for the pointer to SpacetimeDB - haven't heard of it before!
- all2 1y agoMy understanding is that Spacetime db embeds the "system" component of an ECS into a DB. The rest of the ECS is in there too. I briefly looked into it, but never got past that fundamental piece.