Skip to main content

An evolution simulator

Project description

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

title screen screenshot main game play screenshot

Setup

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

  1. Make sure your python is up-to date
  2. Open your terminal, and install darwinio by running
    pip install darwinio
    
  3. To run the program,
    python -m 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..
  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.3.2.tar.gz (4.4 MB view details)

Uploaded Source

Built Distribution

darwinio-0.3.2-py3-none-any.whl (4.0 MB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for darwinio-0.3.2.tar.gz
Algorithm Hash digest
SHA256 ee4dd1d5bccdcd6b270364f4aefcf5a7d7b8aa85e3bee66475049473b0145da9
MD5 7ae80f3433d17ea03e2a3e297b9cfdeb
BLAKE2b-256 7dcfd4938a44938c0e47db4403e6edadc49e637f214481c4b5c71cb47b2d5e4f

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for darwinio-0.3.2-py3-none-any.whl
Algorithm Hash digest
SHA256 0e9171496002bfd0bc53e1075e6d36a2e4d1913f2a7f2e1acc94eb8aa27699ec
MD5 dd1919bbfb61ccca48e5e38a728857bd
BLAKE2b-256 49c1a8b377878a8da60d7e34123fac308129fbd6966a0f2a2f246f3593c18404

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