Avoid the enemy(red square). Move with arrow keys. Let me know if you want me to add anything.
Update 20240210: Added goal and more enemies. Fixed invisible wall bug. Update 20240211: Fixed duplicate level bug. ChatGPT came up with large chunks of this code, mostly the proc-gen maps and enemy movement, as well as regulating player movement and spawning.