flâneur — a map of the web's best reading

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

Explore this link on the map →

saved by

related reading