Posts Tagged ‘code’

Powerpoint / Slideshow Karaoke

Monday, September 29th, 2008

Last year while I was at SlideShare.net, me and my friends were thinking of some cool ways to use our API. At the same time we were checking out emails from our users about how they are using sideshows in more fun way. Just then we came to know about PowerPoint Karaoke here and here.

Demo

After a few hours of javascript hacking, this is what I came up with.
(more…)

Cookie Jar: Yummy JSON Cookies (using Prototype)

Thursday, April 12th, 2007

JavaScript code to store data as JSON strings in cookies. It uses prototype.js to store and retrieve JSON data from cookies.

Now we can store and retrieve JavaScript Objects, Arrays, Boolean, String, Number values using cookies, just like storing Java Objects in session on the server side.
(more…)

JavaScript/CSS Font Detector

Saturday, March 10th, 2007

JavaScript code to detect available availability of a particular font in a browser using JavaScript and CSS.
(more…)

Snake (Game)

Tuesday, September 7th, 2004

Snake is a tiny game that I made in my computer lab while learning C. This is quite similar to the one found in ‘Nokia’ mobile phones and others.

Download: Snake (122 kb, with source code)

Fifteen (puzzle)

Sunday, August 8th, 2004

This is yet another puzzle game in C. It is the legacy puzzle game that is sold in fairs and is popular among children. This is 15 blocks having numbers 1 - 15 arranged in random order. The objective of the game is to arrange the 15 blocks in ascending order.

Download: Fifteen (zip 13kb)

(more…)

Ramayana - Age of Empires Campaign

Sunday, July 20th, 2003

Ramayana is a custom scenario map for the Age of Empires - The Conquerors. This map is based on the story of the famous Hindu epic ‘The Ramayana‘. I made this when the AOE fever was high on me.

If you want to know more about this epic, you must see this excellent movie or this YouTube video.

Download: Ramayana (zip 422kb)

(more…)