tanishbhongade/ctf-mgmt-server ? reverse-engineered prompt
Reverse engineered prompt
Build me a distributed CTF management server for a small online game platform.
I want a central app that lets players register and log in, keeps track of each player’s state, and handles flag submissions to check if they are correct. When a new player signs up, the server should also coordinate creating a dedicated container for them through worker nodes. If a player gets stuck, there should be a simple way to reset their level.
Make it feel like a real backend for a CTF, with secure login using cookies or a token based session, a clear API for the player actions, and support for reading settings from an env file plus a separate worker node config file. If there is an admin UI in the project, hook it up enough so it can talk to the main server. Keep the setup easy to run locally with npm install and node server.js, and make sure the code is organized cleanly so the registration, login, flag checking, and container orchestration parts are easy to follow.
Are you gonna build this?
make sure you review the code using coderabbit