Skip to main content

An evolution simulator

Project description

Made with Emacs GPLv3 Python Powered

Darwinio

______   _______  _______          _________ _       _________ _______
(  __  \ (  ___  )(  ____ )|\     /|\__   __/( (    /|\__   __/(  ___  )
| (  \  )| (   ) || (    )|| )   ( |   ) (   |  \  ( |   ) (   | (   ) |
| |   ) || (___) || (____)|| | _ | |   | |   |   \ | |   | |   | |   | |
| |   | ||  ___  ||     __)| |( )| |   | |   | (\ \) |   | |   | |   | |
| |   ) || (   ) || (\ (   | || || |   | |   | | \   |   | |   | |   | |
| (__/  )| )   ( || ) \ \__| () () |___) (___| )  \  |___) (___| (___) |
(______/ |/     \||/   \__/(_______)\_______/|/    )_)\_______/(_______)

This is a Python program that simulates the process of evolution, complete with organisms, genetic codes, and neural networks.

Features

  • You get to randomly generate organisms, and see how they evolve.
  • Change the conditions while the simulation is running.
  • You can control - Food and Temperature

Screenshot

main game play screenshot

Setup

*Nix(Gnu-Linux, *BSD, MacOS)

  1. Make sure your python is up-to date
  2. Install pipx

    For Debian and it's derivatives

    apt install pipx
    

    For ArchLinux and it's derivatives

    pacman -S python-pipx
    
    

    For Gentoo

    sudo emerge --sync
    sudo emerge --ask --update --deep --newuse @world
    sudo emerge --ask dev-python/pip
    sudo pip install pipx
    
    
  3. Open your terminal, and install darwinio by running
    pipx install darwinio
    
  4. To run the program,
    pipx run darwinio
    

Microsoft Windows

  1. Make sure you python is up-to date, if you don't have python installed install a recent version from python's official website..

    Or, if you have winget available, you can use,

    winget install python
    
  2. Open your terminal/Powershell, and install darwinio by running

    py -m pip install darwinio
    
  3. To run the program,

    py -m darwinio
    

Building and testing

*Nix(Gnu-Linux, *BSD, MacOS)

  1. Clone the repository to your local machine using the following command in your terminal
    git clone https://github.com/tusharhero/darwinio.git
    
  2. Create a virtual environment and source it
    python -m venv .venv
    source ./.venv/bin/activate
    
  3. Get the requirements
    pip install build
    
  4. Build and install it
    python -m build
    pip install .
    
  5. Test it by running it.
    python -m darwinio
    

License

This program is copyright © 2023 Tushar Maharana tusharhero@sdf.org, and Mihir Nallagonda adhikshithamihir@gmail.com.

This program is licensed under the terms of the GNU GENERAL PUBLIC LICENSE VERSION 3 which means this is Free Software.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

darwinio-0.12.0.tar.gz (3.9 MB view details)

Uploaded Source

Built Distribution

darwinio-0.12.0-py3-none-any.whl (3.7 MB view details)

Uploaded Python 3

File details

Details for the file darwinio-0.12.0.tar.gz.

File metadata

  • Download URL: darwinio-0.12.0.tar.gz
  • Upload date:
  • Size: 3.9 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.6

File hashes

Hashes for darwinio-0.12.0.tar.gz
Algorithm Hash digest
SHA256 ea0fc33dee4f79a2df65927ad598643ad76ca9c743b05554de1925ae7db98508
MD5 f96e0b7aef4a762b6a06cf68535374f2
BLAKE2b-256 19f0b99e027cc90697a7c2073db7650d0a01e05a7fc4e88845e1d38f1dea61d9

See more details on using hashes here.

File details

Details for the file darwinio-0.12.0-py3-none-any.whl.

File metadata

  • Download URL: darwinio-0.12.0-py3-none-any.whl
  • Upload date:
  • Size: 3.7 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.6

File hashes

Hashes for darwinio-0.12.0-py3-none-any.whl
Algorithm Hash digest
SHA256 fb55fffe7820c0d05179b883136f756f096549e54b5a35e2d7701633946193cf
MD5 3abf167de94b3f61cec2611709f7c993
BLAKE2b-256 b51b310952a98293b3820e7b0dfc3facd0f28c8b02ca7c6391814e1f0ad503a7

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page