What is a core part of any video game code?

The update functionEnemy AI

Nice!

A core part of any video game is the update function.