For the past few days I’ve been completely nerd sniped by a game called “The Far...

@pdcawley@mendeddrum.org

For the past few days I’ve been completely nerd sniped by a game called “The Farmer Was Replaced” where you program a drone to plant and harvest crops using a scripting language that looks enough like Python that I can use python-mode in Emacs to develop scripts rather than the more clunky editor in game (and the game positively encourages this sort of thing)

The games challenges tickle my brain enough that I’m working through my dislike of Python (it’s usually a read only language for me). It’s an annoying subset of the language though. I can’t make my own classes, which is fine, but I would absolutely kill for the list comprehension things proper Python has or even enums.

Thankfully, functions are first class (but no anonymous ones, boo!), so I’ve concocted an unholy SICP inspired mess of data directed code where my drone just traverses the field and does the appropriate thing based on the code associated with its current tile. There are mazes in the tech tree though, so I suspect my traversal code’s gonna have to change soon.