The Learning Game

I’m sure all of us have read a fair number of posts about the negative effects of gaming (it promotes violence and a desire to drag people out of their cars and beat them up, apparently. We kids have brains too, you know! And if you say otherwise, I’ll shoot you! I saw it in a videogame!). People quite entirely ignore the positive effects of gaming in these posts. So, to counterbalance all the flak gaming’s been getting, here’s a little bit about the good side of gaming. 

Now, I’m sure all of us have heard of this one before, but I’ll bring it up anyway just to remind you of it.Video games improve hand-eye coordination. Hand-eye coordination basically means the ability to move your hands in reaction to input from your eyes (because you totally wouldn’t have guessed that from the name, would you?). Video games call upon you to do this almost continuously, whether you’re shooting at a guy because he has a different ideology from you (die, <insert alternative ideology here> scum!) or coordinating with other players to build amazing things as in the case of a game which I can’t mention here because of copyright issues (its name rhymes with Sinecraft). I imagine that this is partially why surgeons play video games before going in to perform surgeries. 

Video games are great for a lot of other things, as well. Coming home from a hard day’s work and blowing up pixelly baddies is a great way to unwind/chill, and you can’t tell me that launching a blue shell at that incredibly frustrating chap in first place isn’t a great way to bond with friends. Casual games are also a great way to just kill time – we all enjoy a good game of Candy Crush on the bus ride home.

However, this blog isn’t called, “The Advantages of Video Games,” and I think I’ve rambled on for long enough, so let’s get down to brass tacks: what can we learn from video games (other than that the surest way to deal with problems is to shoot at them)? I learned quaternions, the bezier algorithm, inverse kinematics and vector calculus entirely because of a video game called Garry’s Mod (I learned them because I wanted to build a robot – called a mech, incidentally). And that’s without even getting into all the things you learn if you get into developing games (kinematics, lighting, diffusion, colours, vectors and suchlike).

The calculations involved were almost entirely to make the two legs of the mech move. At first, I tried to make the legs move by calculating a bezier curve (a type of curve) and making the legs follow those. The problem was, doing it that way didn’t take into account the hillocks in the ground, so the feet were liable to go right into the ground. So obviously, the legs would have to move within the constraints of in-game physics. A better way to do it was to calculate a sine wave instead of the bezier and use only the positive values to get a more realistic walk. Using some calculus, you can offset the forces of gravity and air drag which act on the feet. Calculus also keeps the feet from spinning off in random directions every time they knock into something. One of the things you get in the gaming engine is a vector perpendicular to the ground at any given point. Crossing that with the horizontal direction of the foot, you can calculate the direction the foot should be facing. And converting that to quaternions helps avoid Gimbal lock. That”s a lot of maths to build a mech.

Here’s another thing I discovered: I understood gamers explaining these concepts better than I understood others who did the same. For example, while learning about quaternions, I needed to understand imaginary numbers. I read lots of sites which claimed to explain them in a simple manner and yet somehow managed not to understand anything. Then, I read an article by a gamer, and his explanation made perfect sense. I went back to all the maths sites and did the problems to test my understanding, and surprisingly, I was able to answer all of them. I had a similar experience with all of the other concepts I had to wrap my head around. I now would rather learn concepts from blogs than from sites dedicated to them.

So, while you, dear reader, may sit around blaming video games for violence and crime and Donald Trump’s degree of success in the presidential elections, I’m sitting around learning math concepts because of them. All in all, video games, like so many things in life, are exactly what you make of them. Blog endings, too.

Leave a Reply

Your email address will not be published. Required fields are marked *

Similar Story

Can cool roofs beat Chennai’s heatwaves? A look inside the state’s Green Schools push

Amid heatwaves, the cool roof initiative is being implemented across Chennai schools. But experts warn that it cannot be the single solution for urban heat.

Over the past few years, maths teacher Usha found her classroom sweltering during her usual 12.50–1.50 pm period, on the second floor of Perunthalaivar Kamarajar Government Girls Higher Secondary School. “It was so difficult to take class during the peak hours,” she says. But this year, she mentions that it feels slightly bearable, and attributes this to the shade of the trees, the wind blowing through the building, and the latest addition — solar-reflective paint on the roof. Data from a state government and UNEP Cooling pilot project at the Ambattur school shows that reflective coating brought the classroom’s internal…

Similar Story

The ecological burden: Bidadi township debate highlights growing threat to wildlife movement

The proposed GBIT project could affect elephant habitats between Bengaluru and Ramanagara, worsening human–wildlife conflict.

The proposed GBIT project has generated considerable debate regarding its potential ecological impacts on the Bengaluru–Ramanagara landscape. Two overarching concerns include the loss of highly productive agricultural land, and the transformation of the region's existing natural ecosystems. In particular, the large-scale loss of tree cover and waterbodies has attracted significant public attention. However, another key ecological dimension is wildlife habitats and animal mobility. Unlike agricultural fields or trees, wildlife movement is dynamic and spans diverse landscapes. The area between Bengaluru and Ramanagara is marked by recurring human–wildlife conflicts, particularly human–elephant. Understanding these elephant movements is crucial  for addressing broader ecological…