Very nice, took a few turns to understand the subroutines but once that clicked it was fun trying to plan optimal (and correct) actions.