Skip to content

swnur/simulation-2d

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Project "Simulation"

A step-by-step simulation of a 2D world populated by herbivores and predators. In addition to creatures, the world contains resources (grass) that herbivores feed on, and static objects that cannot be interacted with—they simply occupy space.

The application is written in Java using an object-oriented programming style. The BFS algorithm is used for pathfinding. Project requirements: https://zhukovsd.github.io/java-backend-learning-course/projects/simulation/

Future Enhancements

1. More Types of Predators with Leveling Up

  • Introduce multiple predator species, each with unique characteristics.
  • Implement a leveling-up system where predators become stronger and gain new abilities as they survive longer in the simulation.

2. Switching to A* Pathfinding

  • Replace the current BFS algorithm with the more efficient A* algorithm for pathfinding.
  • This change will improve the realism of creature movement and make the simulation more efficient, especially on larger maps.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages