Forums MPLAB XC8 Project Discussions Ping pong game in C Reply To: Ping pong game in C

#3027

Bitahwa Bindu
Keymaster

You could put your game functions in an IF STATEMENT in the while (1) loop. Only when this statement evaluates to true (After an interrupt has occurred), then you can play.