How-To Guides ============= Task-oriented guides that help you accomplish specific goals. These assume you already understand the basics and need to solve a particular problem. .. note:: **Looking for tutorials?** See :doc:`/tutorials/index` for learning-oriented guides that build foundational knowledge. Extending the Simulation ------------------------ .. toctree:: :maxdepth: 1 add-custom-system parameter-tuning Guides for extending and customizing the simulation mechanics. **Add a Custom System** Create, register, and test custom simulation systems to model new mechanics like propaganda, sanctions, or environmental effects. **Tune Simulation Parameters** Load, modify, and analyze ``GameDefines`` parameters. Includes parameter sweeps and sensitivity analysis workflows. Debugging & Analysis -------------------- .. toctree:: :maxdepth: 1 debug-simulation-outcomes analyze-parameter-sensitivity **Debug Simulation Outcomes** Diagnose unexpected results systematically. Use structured logging, trace analysis, and formula verification to identify issues. **Analyze Parameter Sensitivity** Explore how parameter changes affect simulation outcomes. Run sweeps, identify thresholds, and validate theoretical predictions. GUI Development --------------- .. toctree:: :maxdepth: 1 gui-development **GUI Development Plan** Build visualization and user interface features using NiceGUI. Covers the phased approach from basic displays to full interactivity. Getting Started --------------- .. toctree:: :maxdepth: 1 setup-dev-environment **Set Up a Development Environment** Complete setup guide for Linux, macOS, and Windows. Windows users get step-by-step WSL 2 installation and VSCode Remote integration. Contributing ------------ .. toctree:: :maxdepth: 1 contribute run-ci-locally **Submit a Pull Request** Complete workflow from branching to merge. Includes branch naming, commit conventions, and handling CI failures. **Run CI Locally** Test CI checks before pushing using direct commands, mise tasks, or ``gh act`` for full workflow simulation. Coming Soon ----------- These guides are planned for future development: - **Optimize RAG** - Improve AI narrative generation performance - **Build PDF Documentation** - Generate PDF books from Sphinx docs See Also -------- - :doc:`/tutorials/index` - Learning-oriented guides for newcomers - :doc:`/concepts/index` - Deep explanations of design decisions - :doc:`/reference/index` - Quick lookup for APIs and settings