top of page

Math and Computer Science

So maybe many of you have played games or download games on Apple Store or Play Store, and maybe when we got older, some of us starts to know how to use Python to code simple games and use some simple Mathematic equations in our coding systems. But is a “big” game that simple?

I love football, so no doubt I choose fifa as the only game I spend my spare time. I had the chance to talk to some computational engineers and behind those games are tons of complex math equations.

Screenshot 2023-06-29 181300.png

From Fifa 22 to Fifa 23, they have developed something called hyper motion: which means the speed of the ball will be calculated right after your player takes the shot.

Screenshot 2023-06-29 181423.png

This is the picture in the trailer of Fifa 23, which they calculated expected goal chance, the distance to the goal and the moment player shots the ball, the velocity as well as the speed of the ball will be calculated every second. That may need a lot of algorithm and complex math equations to finish all of the task.

Let me simplify this: when the ball falls down, it has to follow some physic rules and to make the game as realistic as it can, these engineers must put some math equations on the ball whenever the player makes a shot. In some other games, the motion of the character is defined on the Oxy chart by changing their coordinates. 

Screenshot 2023-06-29 181618.png

This is one of the parts that I practice coding airspaces and shooting some monsters. That looks simple, but I do need scrap paper for imagining its motion. If you try to code something like the Earth spinning around the Sun, Math is essential for calculating routines and motions. I have watched this video on youtube and I want to share it with you as it conveys an important message: Programs are built on ideas and like writing they must convey something. The idea that it has mentioned is the math algorithm. For more, let’s watch and discuss with me: (51) The Man Who Revolutionized Computer Science With Math - YouTube.

bottom of page