All games contain loops of some sort. The most important loop in the game is simply called “game-loop”. This is a short example how it will run:

This is a short version of what is happening in the code. …

Spacefight – The game-loop – Part 6 Read more »