Video games run on mathematics, whether or not anyone mentions it. Every frame is a pile of geometry: positions stored as coordinates, rotations handled by trigonometry, and collision checks that amount to testing whether shapes overlap.
Beneath that sits probability, which drives loot drops and enemy behaviour, and calculus-flavoured maths that smooths acceleration and camera movement. Puzzle games lean on the same things players feel rather than study, and strategy titles are essentially arithmetic with a theme.
For a learner, games are a friendly doorway. Working out a damage formula or an experience curve is a genuine reason to use algebra, which is why so many classrooms have borrowed game design as a hook.