Rebuilding Snake sounds trivial until you take away the keypad. The whole game is direction input, and on a touch screen there are no keys, so the control scheme had to be rebuilt from scratch.
Touch navigation
The touch handler splits the screen by width and height and maps each region to left, right, up, or down, so the input behaves the same whatever size phone it lands on.
The navigation script and its handler for each direction.