Posts
Simple word guessing game in JS
You can play it here. Specification This is a simple word guessing game. It is intended to focus on the logic rather than the game itself. Only 50 words are...
Tips on canvas optimisation
When developing games with canvas, the frame rate matters the most if the game requires many animation effects. So optimising the efficiency and improving the frame rate are always important...
Differences between JS touches variables
There are three common touches variables in JS, which is touches, targetTouches and changedTouches when developing JS applications. Sometimes you can achieve the same effects without regarding what they represent....
Implement Object Pool in JS
JavaScript’s memory model is built on a technology known as a Garbage Collector. In many languages, the programmer is directly responsible for allocating and freeing memory from the system’s Memory...
Setup search functionality for Jekyll
A search functionality is basicly a fundamental part of a website. It can be pretty handy when trying to find something particularly.
Setup categories for Jekyll posts and pages
A blog website may contain various categories of things. Putting posts all together in page list can be very messy sometimes and it is hard for readers to find posts...
Include Jekyll blocks and highlight HTML in Jekyll
When writing a post about a language, including a block of codes can often make the illustration more clear. But what should we do when we want to include Jekyll...
Implement pagination functionality for Jekyll
Creativity loves constraints and simplicity is at our core. Tweets are limited to 140 characters so they can be consumed easily anywhere, even via mobile text messages. There’s no magical...