3 ms·
Show HN: Server-rendered multiplayer game with proximity chat and LLM NPC
Hey HN! I built a multiplayer exploration game with an interesting twist: you can only see and chat with players within 100 pixels of you.
Live demo: https://tile.sekor.eu.org https://tile.sekor.eu.org
The game features:
- Procedurally generated 2000x2000 world (seeded terrain with grass, water, sand, rocks, trees)
- Proximity-based visibility and chat (players fade in as they approach)
- An NPC "Guide" that walks around and answers questions (powered by local LLM via OpenAI-compatible API)
Tech stack:
- Built on Cleoselene engine https://cleoselene.com/ https://cleoselene.com/ (Rust + Lua scripting)
- Server-rendered frames sent to browser via WebRTC/WebSocket
- ~800 lines of Lua for the game logic
The proximity mechanic creates emergent gameplay: you never know who's around the next corner, and finding another player feels like a genuine discovery.
Source: https://github.com/skorotkiewicz/proximity-explorer https://github.com/skorotkiewicz/proximity-explorer
Would love feedback on the concept and implementation!