microvision led matrix dot game using touch sensor

does anyone know the c++ code when you randomly put a dot in a led matrix and you have a certain amount of time to get to that dot,you are only able to move with a 4 touch sensor,and you play the game until you run out of time