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.
-
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.
-
Clone the repository:
git clone https://github.com/cbrincoveanu/evogrid.git -
Navigate to the project directory:
cd evogrid -
Open
index.htmlin a browser to run the simulation.
- Sliders: Use the sliders on the right to adjust various simulation parameters like speed, mutation rate, etc.
- 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.
- Integrate reinforcement learning mechanisms.
- Improve efficiency and speed of the simulation for larger grids or populations.
- Explore different neural network architectures.
Contributions, issues, and feature requests are welcome. Feel free to check the issues page for open issues.
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.