ChipWits is a 1984 game for the Apple Macintosh, programmed by Doug Sharp and Mike Johnston, and published by BrainPower software. The player uses an iconic programming language to teach a virtual robot how to navigate various mazes. The gameplay straddled the line between entertainment and programming education.
ChipWits won numerous awards, including MACazine Best of '85, and MacUser's Editor's Choice 1985 Award.
Source: Wikipedia, "ChipWits", available under the CC-BY-SA License.