Nonition/99-Nights-In-The-Forest ? reverse-engineered prompt
Reverse engineered prompt
Build me a single Lua script for a game called 99 Nights in the Forest.
I want it to feel like a complete playable prototype, with a basic night based game loop, simple player setup, and a clear objective for surviving through the nights. Add whatever simple logic is needed for starting the game, tracking progress, showing status messages on screen, and ending or restarting the round when the player succeeds or fails. Keep it self contained if possible, since I just have one Lua file for this project.
Make it easy to read and modify, and use sensible default values so it works right away without a lot of extra setup. If you need current docs or examples to make the script fit the right Lua environment, look them up online first.
Are you gonna build this?
make sure you review the code using coderabbit