Skip to content

ashah1002/PredatorPreySim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Predator–Prey Simulator

Overview

This project is a C++ predator–prey simulation where agents are controlled by neural networks trained through evolutionary methods. Predators and prey interact in a simulated environment, and behaviors emerge through selection and mutation over generations.

The project is inspired by the final project of a course I took at IMSA called Computational Science, where the entire class wrote deterministic or MLP-based policies for lynx and hare and competed in a “Hunger Games” style arena to see whose hare would survive the longest.

Status

Work in progress

To-Do

  • Raycasting for agent "vision"
  • Spatial partitioning for collisons/rays
  • Neural Network for agent "brain"

About

predator-prey sim in c++ (work in progress)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published