# Technical

### Must Have

* The game size should be less than 5MB.
* The game should NOT have any existing Ad Library code.
* The game should either be written in JavaScript or be able to call JavaScript code.
* It should be possible to run the game inside an HTML `iframe` element.
* Apart from frameworks or external lib sizes, `js` files’ size must be below 500KB

### Good to Have

* All of the `js` files should be minified and uglified.
* Use modern image format e.g. webp instead of jpg, png, etc. since our SDK WebView supports webp.
* The total number of requests on page load should be under 50, including js, css, img, xhr, font, documents, etc.
* If there are multiple smaller images that take most of the network bandwidth, then those should be clubbed into one sprite, and that also should be webp.
* Don't preload assets that can be loaded asynchronously.
* The size of one image file should not exceed 250KB.
* Use object pooling.
* Delete unused assets from the build package.
* Avoid using duplicate assets.
