An open API service indexing awesome lists of open source software.

https://github.com/redinfinitypro/evolutionsimulation

The code imports random and ursina, creating a class called Bacteria(Button) with genetic code letters and DNA variable, and includes functions like update(), kill_bot, make_new_bot, and birth rate slider.
https://github.com/redinfinitypro/evolutionsimulation

python random ursina

Last synced: 28 days ago
JSON representation

The code imports random and ursina, creating a class called Bacteria(Button) with genetic code letters and DNA variable, and includes functions like update(), kill_bot, make_new_bot, and birth rate slider.

Awesome Lists containing this project

README

        

# EvolutionSimulation

## Table Of Contents
- Description
- Features
- Contributing
- Project Structure

## 📖 Description
This code imports random and ursina from ursina import *. It creates a class called Bacteria(Button) with genetic code letters and a DNA variable. The class is initialized with a global variable and a DNA variable. The code then updates the bacteria variable based on the randomness of the genes. The bacteria variable is then added to the bacteria list.

## 🚀 Features
The description includes features such as importing random modules, inheriting a bacteria class from the button class, initializing global variables, implementing gene randomization, and adding new bacteria objects to a bacteria list. It suggests the use of `ursina` in a 3D or interactive environment for simulation or visual representation of genetic processes. Assistance is available for refining or troubleshooting the code.

## 🤝 Contributing
1. Fork the Repository
- Click on the Fork button at the top right corner of the repository page to create your own fork of the repository.
2. Create a Pull Request
- Navigate to the original repository and create a pull request to merge your changes into the main branch.

## 📂 Project Structure
- 📄 Bacteria-simulation.py
- 📄 simulation_1.py