Create your own retro gaming device—and learn to code while you’re at it