I am currenty studying game development and practicing making games.
I use a lot of OOP in my games. For example, each missile that is shot is an instance of a Missile
object, and added to a list of Missile
objects. Each tank in the game is a Tank
object. Etc.
The entire design of the program is based on this. For instance, having a list of Missile
objects allows me every frame to move the missiles, draw them, etc. And having an instance of a Tank
object for every tank allows me to check for each tank if it collides with something, etc.
It's hard for me to imagine how a game (which is more complex than Pac-Man) could be programmed in a non-OO language. (With no disrespect to non-OO programmers of course). Not only in terms of how long it will take, but mostly in terms of how a game could be designed this way.
I can't imagine designing a game without using object oriented programming, because my entire understanding of how to design a game-program is based on OOP.
I would like ask: Today, are there any games that aren't programmed using OOP, in a similiar fashion to what I described above? Are there any 'professionl' games that don't use OOP as a major factor in the development process?
If so, could you give me an idea of how, for example, collision detection between a tank and N number of missiles could be implemented, without OOP?