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
Partitioning and Merging in Phase Unwrapping: A Systematic Review of Methods and Evidence
0arXiv eess.IV

Pre-Import Snapshots: How FinLedger Lets Users Undo a Bad CSV Import With One Tap
0dev.to Database
Kysely Tutorial: Type-Safe SQL Queries Without an ORM
0dev.to Database
Migrating a Real Time Security Analysis and Automated Device Response Pipeline to AWS
0dev.to AWS
Executive Summary: Resilient Database Fallback When the Cache Is Unavailable on AWS
0dev.to AWS
通过微服务分离和共享能力重用将企业安全运营平台迁移至 AWS
0dev.to AWS