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

Pallikaranai Marsh’s Zone of Influence: Threat or shield for South Chennai?

Pallikaranai Marsh acts as a buffer against Chennai floods. Protecting homes and ecology around it needs a proper ZoI, not weak rules.

Every monsoon, South Chennai goes underwater. The only sponge that soaks up all that rain is the Pallikaranai Marsh, yet around it, 8,619 hectares of land face severe flood risks. Despite this, the State has offered to protect only a fraction of that land.  On October 9th, the Tamil Nadu State Wetlands Authority (TNSWA) told the Madras High Court  that the marsh's interim Zone of Influence (ZoI) is just 36 survey numbers, covering 128.19 hectares. The next hearing of the case is on November 11th.  Scattered "protection"  These plots lie in bits and pieces across seven villages, from Pallikaranai to Perumbakkam.…

Similar Story

Blocked Kovalam-Nemmeli wetland channels risk disaster for South Chennai; Conservationists urge action  

Barriers built for the Mamallan Reservoir block Buckingham Canal water flow, vital to keep the wetland alive, avoid floods and sustain fishing families.

In Chengalpattu district, the main water channels of the Kovalam-Nemmeli coastal wetland, which drains a catchment of more than 270 square kilometres, have currently been blocked. Barriers that obstruct water flow have been built across Chennai's Buckingham Canal at three places: Thiruvidanthai-Vadanemmeli, near the Nemmeli-Thiruporur bridge, and Saluvankuppam. Earlier, we explored how the Mamallan Reservoir causes serious damage to the wetland’s ecology and how fishing livelihoods are affected. Field investigations by the Wetland Conservation Network have recorded the blockages preventing tidal exchange in the Buckingham Canal.           According to officials, these barriers were put up to enable construction of the Mamallan…