Luke Jones

lukeonline - src/content/blog/160825.md

--- title: JSGameTemplate date: 2025-08-16 desc: Fun bit of abstraction slug: "160825" --- A while a go I created JSDiver as part of my university web project, and since then I've been occasionally reusing the code from that project for other basic canvas-based work. I got a bit tired of having to pull out different functions from the original source code and rearranging everything, so I figured I'd make a sort-of template to use in the future, and then I figured I'd also make it public in case anyone wants to use/critique it. Feel free to [check it out](https://github.com/LukePJ25/JSGameTemplate). Use it however you'd like to and for whatever purpose, or just [let me know](/about#Contact) if you think it could be worth making some changes. I will add more functionality to it in the future as I use it.