loop - 89erik/NES-breakout GitHub Wiki
This page documents the loop directory. It contains all source code files which are used in the main loop. The main loop is a loop that runs between every V-blank. It performs the game physics of one frame by moving the ball, and moving the racket according to player input. Within these tasks are several computations like bouncing the ball off the racket, checking if the ball has fallen out of the game area, etc.