-
Gomoku In HTML5
Posted on June 04, 2012
You can play the game here, or install it from Chrome Web Store. It also supports Mobile Safari! Gomoku is one of the very few board games I actually play and get to win sometimes. Since it’s a game with perfect information and very simple rules, I thought it should be easy to make an AI for it, so I coded this game. This game allows playing against human (on the same computer) or against...
Read more...→ -
Canvas Experiments
Posted on March 24, 2012
So I started learning the html5 canvas feature, and here are the three projects I coded. Crazy Paint makes the computer paint randomly on the canvas with a random brush. The brush draws random shapes, some filled, some unfilled, around the point being painted. If you are patient enough, you can try leaving the computer to draw on itself until it makes a nice wallpaper, like the one shown below. Simple Paint uses a lot...
Read more...→ -
How to code a book in CSS
Posted on October 08, 2011
This is the first 'theme' I designed. I call it The Long Book, as it is supposed to mimic a book, and turns out to be rather long.... It's probably not a good blog theme-the color is too bright and distracting, the layout is too rigid and the features I used are too new to make this theme work in older browsers. The Mark-up The HTML mark-up is rather straight-forward: <div id='main-body'> <div id='body-left'> <!--...
Read more...→ -
Solitaire three in one
Posted on October 06, 2011
Update: the game has been sold to a company. Some content has been removed and the links are no longer valid. This post is a bit late, but anyway, my HTML Spider is done! I have also merged this game with my previous Solitaire (Klondike) and Freecell, and updated my Solitaire to 'Solitaire Three In One'. The link to the game is here; I have also uploaded it to Chrome Web Store. Shown above is...
Read more...→ -
Treb
Posted on August 13, 2011
At first I wanted to code a simple Google Tasks client, something that allows me to summon https://mail.google.com/tasks/ig quickly. But as I started coding, my ideas evolved, so finally I kind of merged two new ideas and created this app. Firstly, I think we should be able to use mobile pages on our desktop for quick view of information. For example, instead of building a twitter client, we can just use the mobile twitter to...
Read more...→ -
Solitaire
Posted on July 23, 2011
Update: the game has been sold to a company and the links are no longer valid. My second HTML5 game is done! Grab my Solitaire here! This time it was relatively easy to write because I recycled much of the old codes from the previous Freecell. However, maybe I overused a lot of transformation to achieve the flipping effect, only chrome can run the game fluently :( On firefox it was very laggy, and on...
Read more...→ -
Freecell with HTML5
Posted on July 17, 2011
The game has been sold to a company and the links are no longer valid. I spent some time learning css3 and html5 and coded this game. You can play it here, or install it from Chrome Store here. This game was coded primarily for chrome, so it doesn't work on IE or opera. I added support for firefox, but firefox doesn't render scaled background nicely. It also can't render box-shadow efficiently, so the experience...
Read more...→ -
EMB Desktop Client
Posted on April 04, 2011
A simple desktop client for Hwa Chong Institution College Section EMB written in C++ with Qt. Coded in collaboration with Jessica You can refer to this webpage for detailed description. Or go to the Sourceforge page here. Below is the screenshot: The code is a bit messy as it is the first 'complete' Qt Program I have written. I also feel that all the functionalities could have been implemented in HTLM5, which could also provide more...
Read more...→