Skip to content

Latest commit

 

History

6 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PyEvolveSim

A Python-based evolution simulation featuring autonomous creatures with genetic traits, along with Conway's Game of Life implementation.

Prerequisites

  • Python 3.13+
  • uv (fast Python package manager)

Installation

# Install dependencies
uv sync

Usage

Run the simulation:

uv run python main.py

Development

Testing

# Run all tests (106 tests)
uv run pytest tests/ -v

# Run with coverage
uv run pytest tests/ --cov=pyevolvesim/evolution --cov-report=term-missing

Code Quality

# Type checking
uv run mypy main.py

# Linting and formatting
uv run ruff check .
uv run ruff format .

Project Structure

  • pyevolvesim/evolution/ - Evolution simulation with genetic creatures
  • pyevolvesim/life_game/ - Conway's Game of Life implementation
  • main.py - Entry point

License

MIT

About

Simulating the beauty of natural selection with Python.

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages