Neon Serpent: a LAN multiplayer snake game built with a local AI model
The poster shared Neon Serpent, a multiplayer snake game, as an example of what the local model qwen3.8-flash-next-unsloth-ud-q4_k_xl can build. One browser tab hosts the game on a local network (LAN[1]), and other players join from phones, laptops or tablets without installing an app, creating an account or connecting to the internet.
The server is a single server.js file that uses only Node built-ins and implements WebSocket[2] connections itself, and the client is one snake.html file. The server only relays messages between players in rooms identified by 4-letter codes, while the host's browser runs the game logic and sends game state to the other players about 10 times a second. The project can be started with node server.js or with docker compose up -d.
The author notes that there is no authentication, TLS or rate limiting, so the game is meant for a home network and should not be opened to the internet with port forwarding. The host's tab must stay visible, because browsers slow down background tabs, and nothing is saved on the server, so a restart ends all games. Each device keeps the player's call sign and snake color in the browser's localStorage[3]. The code is released under the MIT license.
Read the original github.comDiscussion
Discussion
Most commenters say the game looks like the default snake game that Qwen models produce, and some find the neon style repetitive. One commenter argues that problems with local models usually come from settings and low-effort prompts rather than the model itself, and another says they use it to maintain a digital audio workstation and find it careful.
Sources
-
GitHub
I feel like a lot of people ask what local AI is capable of, here is a quick example of a game I had qwen3.8-flash-next-unsloth-ud-q4_k_xl, introducing Neon-Serpent!


