Testing your game
The AirConsole simulator makes it easy for you to test your game. It provides a way to load your game into the AirConsole environment and shows you the screen and (on start) two controllers. With that you can easily play your game in one browser window without having to use another device, such as a smartphone.

Open Simulator Demo: https://www.airconsole.com/simulator/#debug:https://game.airconsole.com/com.airconsole.testpong.cdn.airconsole.com/2024-02-14-14-52-40/
How to access the simulator
The website on which your game runs has to be accessible - either by an IP or an URL. To load your game simply replace YOUR_IP_OR_URL with your games-location: If you use a local ip, use:
If you use a https reachable game, use:
For example the pong game's testing url is:
Or if hosted on localhost:
Join with your smartphone
Of course you can additionally join with your smartphone. Just connect your phone like you would normally connect to a game: go to airconsole.com and enter the code which appears in the developer consoles top right.
Once your game is uploaded to the AirConsole store, it will be accessed via https. This means all your external resources you load in your game have to be loaded through https too.

To simulate https locally we recommend to use ngrok or cloudflare tunnels.
- (Optional for unix-based systems: Add to path: sudo mv ngrok /usr/local/bin)
- Execute ngrok in the terminal: ngrok http 8000 (Assuming 8000 is the port your local webserver is running at).
- Ngrok will display some urls now -> copy the https url and try if it works in the simulator.
Example
Your game url on localhost is running at192.10.20.42:8080and the URL from ngrok (ngrok http 8080) ishttps://cb501143.ngrok.io. To test your game in the simulator with https open:
This issue can also be solved by using ngrok (see above). This way you can make your localhost public even if there is client isolation.