How ldelaforet/projetred works
Project type and purpose
• From the file tree and README, this is a standalone, text-based RPG/game engine (“Projet RED”) implemented in Go.
• It reads JSON “database” files (items, maps, story, quizz, etc.), runs game logic (crafting, combat, map traversal), handles user I/O, and persists state to a save file.
File structure
• Top-level:
• README.md, docs/ (roadmap), misc/ (assignment questions), push.bat
• src/—all source code and assets
• src/
• Database/ — JSON data files
• Internals/ — core modules (crafting, display, fightSystem, JSON manager, map utilities, save utilities, data structures, user input)
• main.go — entry point
• save.sav — runtime save file
• testLeo.go, testLili.go — test harnesses
• No external services or network; single binary.
README for additional insights
• Minimal README; no architecture section. We infer roles of modules from names.