Code for a handheld game system