CubeSacrifice
This is my final submission for https://itch.io/jam/langjamgamejam
A challenge to design a programming language, then write a game in that language. I decided to do everything from scratch without any GenAI. I wanted a complete project rather than an overly fancy language or game that I would never finish. I kept simplifying until I had a plan that I could complete in the ~10hours I had. I designed a language that I call Wolf. I wrote an optimizing compiler for it called Howl. The compiler is written in Haskell and uses Megaparsec. I wrote a game library in Javascript. The compiler parses the game source, does some token optimisations in IR, then writes out Javascript with functions mapped to the game library. The build system assembles the pieces and builds a zip file for Itch. There is a diagram here:

The finished game looks like this:

This is a game about Self Sacrifice. You can go left with A, right with D, jump with W. You can also die with X.
The source to the game is here : https://github.com/TravisWaltonGames/LangJamGameJam/blob/main/CubeSacrifice.wolf
and a picture, so you can see the general shape of it, is here: 
I am going to continue to work on the Wolf Language and the Game idea, I have a whole notebook of ideas I had to drop due to time constraints.
| Status | In development |
| Platforms | HTML5 |
| Author | Travis Walton Games |
| Genre | Platformer |
Development log
- Slowly turning into a game50 days ago
- Ah yes, language features.52 days ago
- Progress53 days ago
- LangJam GameJam54 days ago

Comments
Log in with itch.io to leave a comment.
Great game. Very creative. Really enjoyed it. Cute little puzzles
Cool game! Did not get it at first that you have to die to progress. Was able to finish it, so that is a win.
Interesting language. Fun mix of braces with parenthesis.