A toy for teaching the logical thought process of computer programming has
a plurality of stackable blocks with each block having a memory for the
storage of at least one computer programming instruction. When the
plurality of stackable blocks are mechanically stacked, a plurality of
instructions are electrically connected forming a computer program. A
main block is configured so that the plurality of stackable blocks can be
mechanically stacked on the main block. A computer is electrically
connected to receive the computer program. A robot is connected to the
computer, with the computer controlling the robot in response to the
computer program.