Skip to content

Latest commit

 

History

History
27 lines (18 loc) · 668 Bytes

File metadata and controls

27 lines (18 loc) · 668 Bytes

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.

;)