How bearlessdev/cookie-clicker works
This appears to be a Godot incremental clicking game: the filenames suggest a cookie-and-points loop with upgrades, persistence, and Discord presence. The tree also shows splash and main scenes. No README or source excerpts were provided, so those capabilities and their wiring cannot be confirmed; the graph therefore shows the identifiable runtime components without speculative call or data-flow edges.
Components 16
Startup
- Splash scene
scenes/boot_splash.tscn - Splash logic
scripts/boot_splash.gd
Gameplay
- Main scene
scenes/main.tscn - Nested main scene
scenes/main/main.tscn - Main logic
scripts/main.gd - Nested main logic
scenes/main/main.gd - Cookie logic
scripts/cookie.gd - Points logic
scripts/points.gd
Progression
- Upgrade list
scenes/main/upgrade_list.gd - Upgrade card scene
scenes/upgrade_card.tscn - Upgrade card logic
scripts/upgrade_card.gd - Nested card logic
scenes/upgrade_card.gd
Persistence and presence
- Save manager
data/save_manager.gd - Data folder setup
data/auto_create_data_folder.gd - Discord presence
scripts/discord_rpc.gd
Other components
- Player