Re:Synchronous RTS Engines and a Tale of Desyncs
by nhaehnle on Sunday July 10, 2011 @01:45PM
(#2748166)
The mod-turned-hobbyist-turned-free-software RTS 0A.D. uses JavaScript for a significant part of the game code. The engine itself is in C++. Some alphas have been released: http://wildfiregames.com/0ad/
Talking about the entire game in the browser, it clearly depends on how far you're willing to compromise in the feature set. Path-finding will likely be the most painful part for a purely human-vs-human game, and opponent AI will probably add some headaches as well.
Semi-related: Does Javascript have the chops to power a multiplayer RTS? I keep thinking to myself that something comparable to the original Age of Empires would be quite doable in HTML5. Not only would it run on modern phones and tablets, a Google Maps style touch interface would be ideal for flinging around the map and controlling units.