So I win! It’s Colobot. :)
A 2001 PC “RTS” where the various vehicles built could be individually piloted, but more interestingly programmed to autonomously accomplish tasks like gathering resources, attacking, and defending. The user typed listings using a fairly robust built-in language similar to Java.
I’m not going to claim it was the greatest thing ever, but it’s one of those curiosities I fondly recall tinkering with that fired my love of code
Here’s the Moby page:
Here’s a pic of the programming:
Now I guess I have to find another frame … bear with me.