Squeezing a sokoban game into 10 lines of code
cole-k.com · 5,942 words · saved by 1 readers
Call-by-push-block
If you're only interested in seeing or playing the game, you can find it on my GitHub . The occasion The Haskell Tiny Game Jam is a game jam which challenges participants to write a video game in Haskell using 10 lines of 80 characters. I happen to love Haskell and code golf (abusing a programming language to produce disgustingly short code for fun) so I decided to enter the Feb '23 jam. My journey My game is called Call-by-push-block . It's a Sokoban , or block-pushing game, where you take a lambda code golfing ("golfing" here is meant a little more literally). I started with an initial game
saved by
related reading
- Colfcolf.dev
- Writing Toy Software Is A Joyblog.jsbarretto.com
- I Taught My Dog to Vibe Code Games | Caleb Leakcalebleak.com
- Building a browser game based on KiCadblog.brixit.nl
- GBA Eval - Build a Game Boy Advance emulator in WebAssembly from scratchgbaeval.com
- Starting Out - Learn You a Haskell for Great Good!learnyouahaskell.github.io
- Unsungunsung.aresluna.org
- Games and Puzzles as Multicomputational Systems-Stephen Wolfram Writingswritings.stephenwolfram.com
- Problem Set 4: Memory Scrambleweb.mit.edu
- Code golf - Wikipediaen.wikipedia.org
- Eric Parfitt's Projectsesopsis.github.io
- Slopfix — we refactor vibecoded codebasesodra.dev