AirConsole/airconsole-api — reverse-engineered prompt

Reverse engineered prompt

Build me a small JavaScript API for AirConsole that a game developer can drop into a browser game and use to connect the main screen with player devices for local multiplayer. I want it to feel like a real maintained library, with a browser ready script file for the current version, older or beta versions kept around when needed, and clear docs that explain the API and basic usage.

Please also include a simple example flow, something on the level of a tiny Pong style demo, so it is obvious how someone would use the library in a game. Add browser based tests that can be opened through a local preview server and make sure the current version has a test page too.

Keep the project easy to navigate, update the changelog, and use the official AirConsole docs online if you need to confirm behavior or naming.

Want more depth? Deep Reverse