An open API service indexing awesome lists of open source software.

https://github.com/idelsaf/food-chain-simulation

2d food chain simulation with console UI
https://github.com/idelsaf/food-chain-simulation

console-application food-chain java simulation

Last synced: 6 days ago
JSON representation

2d food chain simulation with console UI

Awesome Lists containing this project

README

          

# food-chain-simulation

This project simulates a 2D world with a food chain, featuring herbivores, predators, grass, rocks, trees and dirt. Creatures move, interact, and survive in an ecosystem where predators hunt herbivores and both depend on the availability of grass.

## Features
- **Dynamic Ecosystem:** Herbivores eat grass, predators hunt herbivores, and static objects like rocks and trees add complexity to the environment.
- **Turn-Based Simulation:** Each turn, creatures make decisions based on their characteristics and the state of the world.
- **Action Management:** Actions are executed in phases, such as initialization actions before the simulation starts and turn actions for each round of simulation.

## Screenshots
![screenshots](screenshots.png)