Maths Magic Devlog


Sometimes on the road to success, there are setbacks. To be honest, I wasn’t expecting any during the creation of Maths Magic as I felt that I had already finished the game prototype but alas.

The screen of the hardware device of my graphics designer got cracked and there is nothing I can do except wait for him to get it fixed.

So I am doing my research on how to create the animations needed to complete the game. The user interface part will have to wait for the designer.

Its kind of funny that the final 10 percent is taking longer than the initial 90 percent.

Maths Magic Devlog

Code Refactoring

As at today, the code for Maths Magic is completed. However, I cannot show it to the world because although the maths is in the game, I am unable to add magic to it.

Adding magic to a game is hard. It’s those little bits of animation that bring delight to a user.

Adding magic involves animation which I currently don’t know how to do in the Phaser game engine.

But I am happy with the progress made. Code refactoring has started. Code refactoring is the act of removing code that is repetitious and replacing it as appropriate.

Its a way to clean up a messy program. The code for Maths Magic was hacked rather than planned so although it worked, it wasn’t as elegant as it could be.

After multiple code reviews, I am happy with the code refactoring. Maths Magic still works pretty much the same.


Travel Advisory

Below is a video that contains a warning about the wisdom of not collecting items from people for whatsoever reason when you are travelling.

It is better to be mean and protect yourself than to be nice and lose your life.

Thankfully it ended well for the person in question. She leaves wiser. Some are not so lucky.



I was looking for a way to read ePUB files on my laptop. I didn’t want to download a new piece of software on the machine.

Through the process of trial and error, I found EPUBReader. It is a simple lightweight ePUB reader.

You can download it from the Chrome Web Store.

Maths Magic Devlog


In building Maths Magic, the issue of timing has come up time and time again. This is because timers are needed for counting down and to delay code execution in the game.

My first approach was to use the default timer function in Phaser 3. However after hitting some major roadblocks, I had to reconsider and now I am using the setTimeout function which is native to JavaScript.

I find the setTimeout function easier to use as I have used in some games I developed in the past.

To be honest, this represents a breakthrough with the game. Once this phase is finished, I intend to add the other screens and make it a polished game fit for release.