Last updated 4 years ago
Was this helpful?
The main game loop handles three major tasks:
Get user input
Update the game state
Render
while(true) { processInput() update() render() }