Embrace Constraints To Bring More Into Your Game

Embrace Constraints To Bring More Into Your Game

Did you know, if you give people too many options, they will be paralyzed by the thought of losing one of the options? This is why if someone gives you too many options, you may not choose any of them. This manifests itself in other ways as well. FOMO (Fear of Missing...
“This” in Python

“This” in Python

In most object-oriented programming languages, we can refer to the newly created object and its methods with `this`; ‘this’ is a special keyword in many programming languages. It is a keyword that references the current object. This allows us to write...
Game Psychology – Start Your Quests Partially Completed

Game Psychology – Start Your Quests Partially Completed

In most games, quests always start with no points to progression. This can be useful in some cases, but in many cases, it does nothing for you or your players. I’m sure you as a player have skipped over quests entirely simply because they do not have any...
JavaScript Async & Await

JavaScript Async & Await

Introduction In JavaScript, there are two keywords that are new in es7. These awesome keywords are async and await. They allow developers to write asynchronous code in a synchronous way. Asynchronous code is run independently of the execution order of the program;...
JS Promises

JS Promises

JavaScript Promises Promises are the new kid on the block when it comes to handling asynchronous functions in JavaScript. But, before we can talk promises, we have to talk about asynchronous briefly. Asynchronous Functions And Callback Triangle Asynchronous functions...
JavaScript Callback Functions

JavaScript Callback Functions

Introduction Callback functions are a concept that should be explained because you’ll see them constantly in JavaScript. Functions are objects so we can pass them as parameters; this important key makes callback functions viable. Today, we explain what are...