you should use the right language for your task. for creating a brwosergame lite-c is the very wrong language. you should look into pearl or php here (well html knowledge is a must for that).

If you just want to adapt that look then you can use the 2D features of lite-c for that purpose