- Configure as an Access Point (AP): The ESP8266 should create a local Wi-Fi network.
- Implement a WebSockets Server: Run a WebSockets server to handle game communication between clients.
- Manage LAN Connections: Handle LAN connections and coordinate multiplayer games at a high level.
- UART Communication: Establish UART communication with the Raspberry Pi Pico for game data exchange.
- Serve Control Interface: Serve a control interface (HTML, JS) to connected clients (players).
- Run quake-weasel-wasm Game Code: Execute the quake-weasel-wasm code, which includes game logic and graphics.
- Serve quake-weasel-wasm Files: Serve the quake-weasel-wasm files (HTML, JS, WASM) to connected clients (players) via a web server.
- Handle Multiplayer Aspects: Manage multiplayer aspects such as game sessions and multiplayer communication.
- UART Communication: Establish UART communication with the ESP8266 for game data exchange.
Players interact with the game served by the Pico via the control interface, and the ESP8266 handles game communication and coordination.