Database
Massively multiplayer browser games on stateless pages and a relational database, a tutorial on their construction
arXiv cs.GR0 views
arXiv:2611.33256v1 Announce Type: new Abstract: A massively multiplayer browser game is a persistent world that many players change through ordinary web pages, with no client to install. This work is a tutorial for a developer or developer who wants to structure such a game from the start, from the overall organisation into modules to the protocols between players. The running example is the open-source role-playing game Naruto! Nigeru, whose engine keeps the whole game state in a relational database and uses no third-party library. The tutorial presents the overall view of the game, how its code is separated into modules, which technologies it uses and which ones it avoids, and then each mechanism as a design decision with its alternatives, namely the request cycle, the data model, the identity of the player without sessions, the world map computed from a hash of the coordinates, the turn-based combat, the economy under simultaneous requests, the trade and duel protocols, the ways a page waits for another player, and the content and languages. It closes with a suggested order of construction and the lessons of the example. The example has 25,930 lines of code in 9 feature modules over a core of 2,364 lines.
Source:https://arxiv.org/abs/2611.33256PreviousPure C# LLM inference vs Ollama, five months laterNextRepresenting and Animating Piano-Hinged Solids as Non-Manifold Cell Complexes: The Magic Photo Cube
Related posts
I redesigned my local-first portfolio tracker — and free users can now earn an ad-free day
0dev.to
2026 Self-Hosted n8n & AI Agent Benchmarks: Non-Cached 4K fsync IOPS, Billing Meters & Preventing Exit Code 137
0dev.to
How I structured a modular bilingual Telegram bot template in Python (aiogram 3 + SQLite) to avoid rewriting boilerplate
0dev.to

Linux Server Backup That Actually Restores
0dev.to
Strategic Roadmap: Transitioning Engineering Teams to Specification-Driven Development
0dev.to
I benchmarked 8 Gemini models to build a "Spotify Wrapped" for couples
0dev.to