A computer in a computer
The thing about what it takes for your computer to process your game. The computer must receive input from the player, interpret that input, and then apply the results to the game. Once the input is completed, the computer must handle the physics of the game: objects must be moved, collisions must happen, and explosions must ensue. Once the computer has completed updating all of the objects in the game, it must then render these results to the screen. Finally, in order to be convincing, all of this must occur at least 30 times a second and often 60 times a second!
It is truly amazing that computers can process this much information that quickly. In fact, if it were truly up to the central processing unit of your computer ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access