A modular web game engine