Giter Club home page Giter Club logo

ai-fish-simulator's Introduction

Welcome to the AI-Fish-Simulator wiki!

This is a simulation of an evolutionary AI designed to help fish in a pond get better at finding the food in the pond.

The pond is defined as a 3d array with defined length, defined width, and infinite depth allowing fish and food to stack on top of each other in the pond from a top-down view.

The evolutionary algorithm can be easily modified to simulate faster/slower evolution as desired.

Current Features:

  • pond with modifiable size contains fish and food
  • worst 25% of fish will be eliminated from the pond in favor of newly breed fish with better DNA
  • run 1 generation
  • skip x generations
  • data visualization at the end of each round

Future:

  • allow rectangular ponds
  • allow user to input a function as the pond size

ai-fish-simulator's People

Contributors

paulsedra avatar

Watchers

 avatar

ai-fish-simulator's Issues

indexOutOfRange Error when pond shape is not square

error in the pond.get function, a recurssive function, at the if statement

possible reason: the if statement is not set up correctly
error caused with pond size (7, 8) assumed to be true for all other non-square pond shapes

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.