Abstract
Wasteland Run is a browser-based post-apocalyptic endless runner developed as a final year project. The game is implemented using a Python Flask backend for score persistence and leaderboard management, and a vanilla JavaScript HTML5 Canvas frontend that renders all visual content procedurally without external assets. The system features a layered parallax background with animated ruins and a blood moon, a six-state procedural character animation engine, three interactive obstacle and collectible types, a particle effects system, and a combobased scoring mechanic. Game state is managed through a real-time loop with delta-time physics, level progression, screen shake, and invincibility frames. The leaderboard stores the top ten scores in a JSON flat file via a REST API, accessible to all players. This paper documents the system architecture, rendering pipeline, physics implementation, API design, and validation results.
Keywords
Endless Runner; HTML5 Canvas; Flask; Procedural Animation; Particle System; Parallax Rendering; Leaderboard API; JavaScript Game Development; Post-Apocalyptic.
References
[1] Mozilla Developer Network, "Canvas API," MDN Web Docs, 2024. [Online]. Available:
https://developer.mozilla.org/en-US/docs/Web/API/Canvas_API
[2] A. Palmas and M. Maggini, "Procedural animation techniques for browser-based games," Int. J. Comput.
Graph. Animat., vol. 11, no. 2, pp. 33–44, 2021.
[3] Pallets Projects, Flask Documentation, version 3.0, 2024. [Online]. Available:
https://flask.palletsprojects.com/
[4] R. Nystrom, Game Programming Patterns. Genever Benning, 2014. [Online]. Available:
https://gameprogrammingpatterns.com/
[5] Google Fonts, "Orbitron," Google Fonts, 2024. [Online]. Available:
https://fonts.google.com/specimen/Orbitron
https://developer.mozilla.org/en-US/docs/Web/API/Canvas_API
[2] A. Palmas and M. Maggini, "Procedural animation techniques for browser-based games," Int. J. Comput.
Graph. Animat., vol. 11, no. 2, pp. 33–44, 2021.
[3] Pallets Projects, Flask Documentation, version 3.0, 2024. [Online]. Available:
https://flask.palletsprojects.com/
[4] R. Nystrom, Game Programming Patterns. Genever Benning, 2014. [Online]. Available:
https://gameprogrammingpatterns.com/
[5] Google Fonts, "Orbitron," Google Fonts, 2024. [Online]. Available:
https://fonts.google.com/specimen/Orbitron