-
NUSMorge and My First Hackathon
Posted on February 27, 2013
I had my 24-hour hackathon from this Sunday to Monday. Really great experience. Stayed up all night long coding non-stopped and produced something that actually works. Take a look at my github profile page - there were 108 commits during that period! This is kind of funny because it is exactly half the number of commits I have pushed in a year. Working in a team of four was also great. I don’t have to...
Read more...→ -
A Silly Alarm Clock in HTML
Posted on September 07, 2012
This project is hosted on Github I have embeded the page below, but you can also directly access it here Eh iframe not supported? I have made this alarm clock, but I am a bit tired of it so I just release this partially finished app as a demo/concept. As you can see, this is an alarm clock designed to be mobile-friendly (though I don’t really think people will actually use a HTML5 alarm clock...
Read more...→ -
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...→ -
Some Handy Web Development Tricks
Posted on March 25, 2012
In this post, I would like to share some small but useful tricks I found in web development. Set up a simple server locally. For front-end web developers, setting up a PHP and mess around with all the web configurations is just inconvenient. But certain features, like XHttpRequest and web workers, are just not supported by some browsers when the page is accessed locally. Luckily Python has a really interesting utility: python -m SimpleHTTPServer 8000...
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...→ -
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...→ -
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...→