This style of Logic Programming Gates game first came out on either the TRS80 or the Tandy1000 - I cant remember which, but you had to program robots to do tasks and navigate by doing logic "stuff" Jeasus - I am 46 trying to recall how I played a game I haven't thought of since ~1985 or something.
I can't recall the name of the game, else, I would provide a link...