Slowly turning into a game


Having missed yesterday, I found another couple of quiet hours today to work on the language/compiler/game idea. It's coming along nicely I now have a reasonably capable language. A compiler I wrote in Haskell, that reads the language into an IR, does some trivial optimisations and slots in calls to my game engine and then writes out javascript. The game is sort of playable. Your player must sacrifice themselves to help their next incarnation reach the exit.

Whole thing from scratch in about 6 hours so far. No AI or LLMs anywhere.

The game looks like this:


and the current code for the game in my language is here:


I'm going to put a few hours in on Saturday trying to make the game fun and add some levels. I do like the idea and think there could be something fun in it so I will continue Cube Sacrifice after the jam.

Files

Itch.zip Play in browser
10 hours ago

Leave a comment

Log in with itch.io to leave a comment.