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
- Host: GitHub
- URL: https://github.com/idelsaf/food-chain-simulation
- Owner: idelsaf
- Created: 2024-04-13T16:51:13.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-05-04T20:57:41.000Z (about 2 years ago)
- Last Synced: 2025-02-24T09:46:01.115Z (over 1 year ago)
- Topics: console-application, food-chain, java, simulation
- Language: Java
- Homepage:
- Size: 316 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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
