I saw a review of an XBLIG called Solve It over at Joystiq, a game with a tile-laying mechanic where the tiles represent a kind of "program." It's probably better if you just play it, or examine this Kongregate experience entitled light-Bot, but if these kinds of things turn your crank you should get your mitts on a copy of RoboRally. The other two are perfectly good puzzle games, but when you've had that experience in a competitive context they feel lonely by comparison.
(CW)TB