glennhenry/Encore — reverse-engineered prompt

Reverse engineered prompt

GitHub

Build me a Kotlin game server starter kit for prototyping a private multiplayer game server. I want it to run locally, connect to MongoDB, serve simple game files and API routes on one port, and also open a socket server for game client messages on another port. Include basic account, auth, session, player presence, message handler, connection lifecycle, scheduled task, logging, config, and persistence pieces, but keep them generic and easy to replace for a real game later.

Add XML based config with a secret override file and allow environment variables to override settings. Give me a small example game implementation so I can see where to add custom routes, handlers, player state, and game identity. Include build scripts that produce a runnable jar, plus a simple empty documentation site for reverse engineering notes and setup instructions. Make it clear how to run it locally with Java and MongoDB. Look up current docs online if needed.

Want more depth? Deep Reverse