# Python
__pycache__/
*.py[cod]
*.egg-info/
build/
dist/
.venv/
.venv-*/
venv/
uv.lock

# Native build products
*.so
*.o
# The library an editable install of a native package builds into its source tree
_lib/

# Tool caches and reports
.cache/
.coverage
.coverage.*
htmlcov/
.pytest_cache/
.mypy_cache/
.ruff_cache/
*.log

# Secrets and credentials
.env
.pypirc

# Generated documentation
docs/_build/
docs/apidocs/
docs/examples/
docs/_demos/
docs/_static/screenshots/

# Web exports written to the repository root
/*.html

# Game saves and editor autosaves from runs inside the tree
*.sav
*.sav.tmp
savegame.json
/saves/

# Golden-image failure output, written beside a baseline when a comparison fails.
# Committing one hides a failing golden behind a file that looks like a baseline.
*_actual.png
*_diff.png

# Playtest captures dropped into port directories
examples/ports/*/screenshots/

# Per-machine benchmark history (see tests/perf/README.md)
/.perf/

# PyInstaller writes <name>.spec into the project it builds
*.spec

# Editor backups and merge leftovers
*.bak
*.bak2
*.orig
