My son plays Little Big Planet 2 on the PS3 quite a lot. Most of the time he uses the excellent built-in level designer. This level designer silently teaches engineering and computer science concepts. For example there are actually AND, OR, and XOR gates that you can wire to create logic. The original Little Big Planet was not so elaborate. Kodu Game Lab is also pretty good and is available on PC or Xbox 360 as an Indie download for a few dollars.