Origin had a game called Omega, for the C64 amoung other platforms, to put it in historical perspective.
You built, then programmed, a cybertank. Basic procedural language with subroutines, conditionals, loops, and inputs from the tanks' devices.
Mindrover was similar, kinda, but used a visual metaphor of dragging lines from inputs to outputs. Not as cool.