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 *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Similar Story

Garudachar palya: The “hot spot” in Whitefield’s IT Hub

Examining the heat island effect in densely built-up Garudachar Palya ward in Whitefield’s IT Hub, which also has limited tree cover.

Garudachar Palya is part of Mahadevapura constituency, with an area of 6.5 sq km, which includes four revenue villages — Garudachar Palya, Hoodi, Seegehalli, and Nallurahalli. These villages have stayed mostly the same, while the city has expanded around them with more organised development from the BDA. This mismatch has led to issues like narrow village lanes becoming crowded with traffic, as they’re now used as shortcuts to bypass main roads. Looking at population growth, between 2011 and 2024, the ward has seen an estimated increase of 62.24%. This rapid growth adds to the existing strain on infrastructure. Ward no…

Similar Story

Saving Dwarka Forest: Citizens approach apex court to protect forest land near Delhi airport

Delhi’s Dwarka Forest has seen brazen destruction thanks to a railway redevelopment project. A recent SC stay order has raised hopes.

According to a recent World Bank report, India presently accounts for a meagre 1.8% of the global forest cover. Even more concerning is the fact that an enormous ‘46,759 acres of forest-land have been sanctioned for mining’ across the country, over the course of the last five years, by the Ministry of Environment, Forest and Climate Change (MoEFCC) itself. According to many ace climate scientists and researchers, our planet has already hit “the tipping point”. In this backdrop, the people’s struggle to save Dwarka Forest, one of the last remaining natural forest lands in a choking capital city, is a…