A template for quick webgames