Facebook  Twitter  Google +  Linkedin


Warning: file_get_contents(): https:// wrapper is disabled in the server configuration by allow_url_fopen=0 in /home/lwegabab/public_html/old/plugins/content/al_facebook_comments/al_facebook_comments.php on line 516

Warning: file_get_contents(https://api.facebook.com/restserver.php?method=links.getStats&urls=https://old.yourictmagazine.com/games/206-a-coder-uses-html5-to-recreate-command-conquer-game): Failed to open stream: no suitable wrapper could be found in /home/lwegabab/public_html/old/plugins/content/al_facebook_comments/al_facebook_comments.php on line 516

Warning: Undefined array key 1 in /home/lwegabab/public_html/old/plugins/content/al_facebook_comments/al_facebook_comments.php on line 521

A coder Aditya Ravi Shankar has recreated classic strategy game Command & Conquer entirely in HTML5, running on 69k of Javascript.

Aditya Ravi Shankar built the clone in an attempt to improve his coding skills. He set himself a month to rebuild the game in the browser, chopping through the original game's files to get sprites, sounds and specs exactly right.

"In hindsight, I might have wanted to take smaller steps and make a tower defense game instead of jumping directly into an RTS," says Shankar, in a post about the game's development on his blog. "Trying to do the whole thing in under a month all by myself wasn't the smartest idea."

Shankar's recreation of the game includes buildings, terrain, combat, tiberium harvesting and regrowth, and the ability to sell and repair buildings. It has fog of war, too, a pannable map, different cursors, tooltips, and drag selection for multiple units. For the time being, however, it's limited to just a few buildings and units, a very small map, and the occasional glitch -- a few of our tanks got stuck in the sea during testing. 



Shankar admits: "The project is far from complete and there is still some polishing up to do," but nonetheless it's an extraordinary achievement. It can be played here (it works best in Chrome or Firefox). If you're curious, you can check out the source code too, here.