source code for handheld games