Tuesday, 10 November 2020

Why is making games is the best way of learning programming?


When we first got a computer, we used to play games. One thing we always think is, please change this game. Its our creativity there. When creating a game we can include our own ideas in it.

Any game has a story. There is a hero and enemies. The hero has to overcome or destroy the obstacles in the way, overcome the enemies and reach the goal.

So how can it be better than learning programming?



1. Hero or enemy is a character. That is an object. The number of enemies is the number of instances of an object. ,The data and functions of that object determine its behavior. That is encapsulation. And over time, that is likely to change. That is polymorphism. Many games are made of these OOP concepts.

2. A game is not in one place. Is constantly changing. 

The object moves between the coordinates of the 2D or 3D space. That change is very dynamic. The game has user interactions with them.

By programming them we learn the dynamics of the program. Most of them have logical conditions and comparisons. It develops the logical thinking that is required for programming.

3. The dynamics of a game often change its state. 

From it we learn event driven programming. Some behaviors occur on data. A game is always played differently. That is dynamic programming. We learn data druven programming because it works on data.We use data structures to retain that data and use algorithms to process them. That is computer science.

4. We learn state management when programming a number of levels in a game. 

To develop the logic of the program, computer science is used for each of the processes. Our software engineering knowledge grows very well because everything is built above the basics. We can not try so many things by making an application in any other nation. In a typical web, mobile, database application, very few programming concepts are used. If we use framework for them we do not know anything else inside. We only move data with connectors, interfaces, api. That is not computer science.

 Although the framework and api are good for business, they are not suitable for use in education.From a software engineering standpoint, many people 

We will launch nextgen's latest program online at 7.00 pm on November 21, 2020. You can also attend. We have a solution to your programming problem.

No comments:

Post a Comment