I would not say that most statements if statements but many are.
If you are interested you can look at the code of some older computer games that have been published. So take a look at some older ID software games like DOOM 3 from 2004 where you can see what code for a commercial game looks like. A game from back then is fundamentally not that different from games today.
https://github.com/id-Software
Latest Answers