Command & Conquer coded in HTML5

by

There are moments in life when we look at a particular object and think, “Now why didn’t I think of this before?” I am quite sure that many of us who spent our teenage years in the mid-1990s would have played the game Command & Conquer at some point in time or another, where the almighty tank could be stopped by something as simple as sandbags, and had hours and hours of fun honing our RTS skills in front of the computer. Well, a hardcore coder decided that playing the game today on a legacy system is just too mainstream, and coded the entire Command & Conquer in HTML5, where the entire thing runs on 69k of Javascript.

Aditya Ravi Shankar built the clone as part of his attempt to improve his coding skills, where he gave himself an entire month to do so, building the game in the browser while going through the original game’s files in order to get sprites, sounds and specs just the way it was. According to Shankar, “In hindsight, I might have wanted to take smaller steps and make a tower defense game instead of jumping directly into an RTS. Trying to do the whole thing in under a month all by myself wasn’t the smartest idea.”

Still, he got the job done, and there were some glitches here and there during testing, such as tanks getting stuck in the sea, and it works best in Chrome or Firefox. If you want to help improve Shankar’s work, check out the source code here.

Source

2 reviews or comments

Rob Says: January 27, 2012 at 6:57 am

Wow, not only is he a sitar virtuoso, he’s also a coding genius!

Mat Says: May 15, 2012 at 7:43 pm

apparently the link supplied has been changed to:

http://www.adityaravishankar.com/projects/games/command-and-conquer/

Write a review or comment

You may use <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> in your comment.

Top Categories
Latest Posts
Subscribe to Newsletter