Building a DOOM-like multiplayer shooter in pure SQL