Code for a portable game console.