[Community Puzzle] Rocket Mice

This solo puzzle felt much like coding a simulator for a multi. @player_one: Any plan to make it a multi or optim, where players’ bots need to decide where to put the arrows instead of giving this as the puzzle input?

Great puzzle, a bit tedious at times but quite fun overall.
One thing that wasn’t very clear is whether changing direction due to a wall consumed the animal’s turn, or if it could freely turn before being able to move in the same turn (as it turns out it’s the latter).