Prototype of a web game engine