A game engine for networked browser-based games