Command & Conquer in HTML5/Javascript

Download as .zip Download as .tar.gz View on GitHub


This is a recreation of the original Command and Conquer, Real Time Strategy game entirely in HTML5 and Javascript.

This project is only intended as a technical proof of concept to demonstrate the basic working elements of an RTS game in HTML5. No commercial use is intended. All images and sounds used are from C&C - Tiberian Dawn and are property of the original game creators.

This game works best on Google Chrome or Mozilla Firefox. The images can take a little while to load so please be patient.

Notes & Demo URL

You can find a working demo of this project on http://www.adityaravishankar.com/projects/games/command-and-conquer-demo/

Details and notes about the development of the project are available on my website at http://www.adityaravishankar.com/2011/11/command-and-conquer-programming-an-rts-game-in-html5-and-javascript/

NOTE: The source code shared here is from the earlier demo version of the project. This version is no longer being developed and the code is being shared so others can learn from it.

Newer Version & Updates

A more recent version of the project is available here. http://www.adityaravishankar.com/projects/games/command-and-conquer/

This version is a complete rewrite of the earlier demo shared on github.

The new version has more levels from the original game, more units, explosions, effects and background music. Multiplayer support is also being tested using Node.js & nowjs. Demo Video

This new version is NOT open source. It is still free to play. News, updates, screenshots, videos and invites to beta releases are available on the C&C HTML5 Facebook page