Skip to content

cbrincoveanu/EvoGrid

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 

Repository files navigation

evogrid

Overview

This project is a simulation of evolving organisms in a grid environment, aiming to study artificial intelligence through evolutionary mechanisms. Organisms move, eat, reproduce, and interact in an environment, driven by a neural network. Their behaviors and interactions can evolve over time through genetic algorithms.

Features

  • Neural Network-driven Organisms: Each organism's behavior is controlled by a neural network, determining its movements, eating habits, and other interactions.

  • Evolution Through Reproduction: Successful organisms reproduce, passing on their traits to the next generation. This process involves mechanisms like mutation and even sexual reproduction with mixing traits.

  • UI for Real-time Parameter Adjustments: A user interface with sliders allows on-the-fly adjustments to various simulation parameters.

  • Responsive Design: The simulation adjusts seamlessly to various screen sizes, ensuring a consistent experience across devices.

Getting Started

  1. Clone the repository:

    git clone https://github.com/cbrincoveanu/evogrid.git
    
  2. Navigate to the project directory:

    cd evogrid
    
  3. Open index.html in a browser to run the simulation.

Usage

  1. Sliders: Use the sliders on the right to adjust various simulation parameters like speed, mutation rate, etc.
  2. Canvas: The left side displays the grid where organisms interact. Each organism's color, size, or shape might indicate its energy, age, or other properties.

Future Work

  • Integrate reinforcement learning mechanisms.
  • Improve efficiency and speed of the simulation for larger grids or populations.
  • Explore different neural network architectures.

Contributing

Contributions, issues, and feature requests are welcome. Feel free to check the issues page for open issues.

License

MIT License

Copyright (c) [year] [fullname]

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

About

EvoGrid is a dynamic simulation exploring the evolution of artificial intelligence through random mutations of neural networks in a virtual grid ecosystem.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors