Skip to content

Implemented in C++ using SDL2 library. Interact with buttons to spawn grass, rabbit and fox, and see how the simulator simulates the environment.

License

Notifications You must be signed in to change notification settings

Syrux64/Eco-System-Simulator

Repository files navigation

2D Eco-System Simulator!!

A window of forest for rabbits 🐰 and foxes 🦊 to inhabit in. Foxes hunt rabbits while rabbits flee. The stats about the simulation is observed at the end.

Demo

EcoSystemSimulationGIF

To Compile

Use the make file

  mingw32-make

OR

Run the command

  g++ -I src/include -L src/lib -o EcoSystemSimulator *.cpp src/userIncludes/*.cpp -lmingw32 -lSDL2main -lSDL2 -lSDL2_image -static-libstdc++

NOTE

The code is not well structured in a way for modularity/object oriented programming.

;)

About

Implemented in C++ using SDL2 library. Interact with buttons to spawn grass, rabbit and fox, and see how the simulator simulates the environment.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages