What do we use to define the logic of how a game works?

A programming languageThe physics in the game engine are enough

Great!

To define the logic in video games we'll need to use a programming language.