A Doom-lite clone has been created using SQL instead of JavaScript to handle the game loop.The entire game world state is modeled in a database, with the player's view rendered using SQL VIEW feature for raytracing.Events such as movement, bullets hitting a wall, and enemy impacts are defined as SQL statements.JavaScript is used to glue the SQL chunks together, handle sprite Z-buffer checks, and process keyboard input.