Since this is my first time making a game without an engine, this is a bit hard. The source code is available on GitHub.