Casper Beyer

An Overview of JavaScript in 2015 (ECMAScript 6)

JavaScript is evolving, ECMAScript 2015 (previously known as ECMAScript 6) is sixth edition of JavaScript, and is the upcoming version of the ECMAScript standard, this standard previously said to be ratified in late 2013, then again in late 2014 is now targeting ratification in June 2015, at this point all...

JavaScript Game Development - Managing States

Unlike an application, which typically only has one state of execution where you have your data and manipulate it with various tools and operations, games, even a simplistic one, often has several distinct states of execution. If we use the classic pong as an example we can identify five unique...

JavaScript Game Development - Asynchronous Execution Loop

Obviously one of the core components of any game is the game loop. The central piece of code that is responsible for balancing the execution of game logic and drawing operations. In its simplest naive form you could express it as something akin to the following class Game { constructor()...