A WORK IN PROGRESS... Please use turbowarp: https://turbowarp.org/1028664377?clones=Infinity&stuck Double press green flag! Arrow keys to move. Click anywhere (or press space) to place/remove a tile (in editor mode) Click on the buttons to do what they say. In playing mode, hold the mouse down or press space to launch projectiles to evade enemies. Avoid enemies in playing mode!
Just remixed the above to add a level editor and enemies. Basically it is like a ray-casting system that shines light on surfaces. Credits to griffpatch for giving the idea of calculating the position of the tile under the mouse pointer and the idea of branching for path-finding. Rest is by me. (Figured 690 tiles = 30x23 grid, and how to do grid-based pathfinding myself.)