How valentingues/devstartuptycoon works
DevStartupTycoon is a WPF coding-challenge tycoon game. A player selects or creates a save, chooses a challenge, writes and runs code, and earns rewards or levels by passing verification; upgrades generate passive income. The UI coordinates challenge and upgrade views, while DatabaseHelper persists save, progression, and upgrade state. CodeExecutor dispatches submissions to language-specific tools or an in-memory SQL database. The README is empty, so capability evidence comes from the sampled source; unsampled XAML and database schema relationships are not assumed.
Main entry points: CodeExecutor.cs Code executor · MainWindow.xaml.cs Game dashboard · IdeWindow.xaml.cs Challenge editor · StartupWindow.xaml.cs Save selection
Components 10
Game interface
- Save selection
GameApp/StartupWindow.xaml.cs - Game dashboard
GameApp/MainWindow.xaml.cs - Challenge editor
GameApp/IdeWindow.xaml.cs
Challenge runtime
- Code executor
GameApp/CodeExecutor.cs - Python interpreter
- .NET runtime
- Java toolchain
- SQLite engine
Game state
- Progression and upgrades
GameApp/DatabaseHelper.cs
Other components
- Player
Connections 13
- Player → Save selection: selects save
GameApp/StartupWindow.xaml.cs - Save selection → Progression and upgrades: resets save
GameApp/StartupWindow.xaml.cs - Save selection → Game dashboard: launches game
GameApp/StartupWindow.xaml.cs - Game dashboard → Progression and upgrades: loads and updates
GameApp/MainWindow.xaml.cs - Player → Game dashboard: views game
- Game dashboard → Challenge editor: opens challenge
GameApp/MainWindow.xaml.cs - Challenge editor → Code executor: runs submission
GameApp/IdeWindow.xaml.cs - Code executor → Python interpreter: runs Python
GameApp/CodeExecutor.cs - Code executor → .NET runtime: runs C#
GameApp/CodeExecutor.cs - Code executor → Java toolchain: compiles and runs
GameApp/CodeExecutor.cs - Code executor → SQLite engine: executes SQL
GameApp/CodeExecutor.cs - Challenge editor → Progression and upgrades: records completion
GameApp/IdeWindow.xaml.cs - Challenge editor → Game dashboard: refreshes views
GameApp/IdeWindow.xaml.cs