ABC-Game is an interesting simulator based on Artificial Bee Colony algorithm which is a metaheuristic based algorithm proposed by Karaboga in 2005.
The behaviors of bees can be summarized in a few steps:
- The employed bees start to search for food sources(flowers) in random steps and return to hive whenever are out of energy.
- After finding a food source, the employed bee returns to the hive and starts dancing (Waggle dance.The method how honey bees share information about the direction and source value, which is the fitness value in the algorithm).
- Onlooker bees get the information and adopt roulette wheel selection method to choose a destination among all found sources.
- When arrived at destination, onlooker bees gather nectar. Once get back to hive, they store the food collected.
- The employed bees will reference the food sources that have been found by others recently, which is the local search process here.
- And also have chances to turn into scout bees searching in other areas randomly, which is the global search process here.
pip install pygame==2.0.0.dev6
- Start : Start the game.
- Restart : Reinitialize all objects in the game.
- Obstacles : There are two different sizes of rocks that can be placed during the game time.
- Flowers : There are three different types of sources which can be placed during the game time.
- Quit: Quit the game