A Python-based evolution simulation featuring autonomous creatures with genetic traits, along with Conway's Game of Life implementation.
- Python 3.13+
- uv (fast Python package manager)
# Install dependencies
uv syncRun the simulation:
uv run python main.py# Run all tests (106 tests)
uv run pytest tests/ -v
# Run with coverage
uv run pytest tests/ --cov=pyevolvesim/evolution --cov-report=term-missing# Type checking
uv run mypy main.py
# Linting and formatting
uv run ruff check .
uv run ruff format .pyevolvesim/evolution/- Evolution simulation with genetic creaturespyevolvesim/life_game/- Conway's Game of Life implementationmain.py- Entry point
MIT