wmaze minimal roguelike in Forth (in color now)

by kragen
GNU/Linux ◆ xterm-256color ◆ bash 1068 views

I wrote this minimal roguelike game in a page of Forth. I’d added color to it but the naïve redisplay logic was making the gameplay asciinema 9.2 megs, too bulky for asciinema to tolerate me uploading it, even if it was highly gzippable. So I did a little bit of display logic optimizing, and now it outputs ¼ as much; this asciicast is only 2.54 megs.

At the end I scroll through the source.

The maze generator is still buggy, though, and I feel like it could be reduced.