How moblenon/jeu-d-abeilles-bzzz-python-tkinter-tkiteasy works
BZZZ is a Python/Tkinter turn-based bee strategy game. The workflow starts in main.py, which creates players and a flower-filled board, opens and renders the game window, then hands play to the human or AI game loop. Each turn handles bee actions and resource changes before resolving automatic skirmishes; the game then displays ranked results. The graph separates setup, orchestration, rules and presentation. Some capabilities are documented in the README but their implementation is unsampled, so only supported relationships are shown.
Main entry points: tour_jeu.py Human turn · main.py Game entry · prog_M.py Bee and nectar rules · mode_jeu.py Game modes
Components 13
Game flow
- Game entry
main.py - Game modes
mode_jeu.py - Human turn
tour_jeu.py - AI turn
mode_jeu.py
Game rules
- Board setup
prog_M.py - Bee and nectar rules
prog_M.py - Skirmish resolution
escarmouche.py - Game state
constantes.py
Presentation
- Board display
affichage.py - Turn controls
tour_jeu.py - Results podium
affichage.py
UI platform
- Tk canvas
tkiteasy.py
Other components
- Player
Connections 23
- Player → Game entry: starts game
README.md - Game entry → Board setup: creates board
main.py - Game entry → Game state: reads settings
main.py - Game entry → Board display: renders board
main.py - Game entry → Game modes: starts mode
main.py - Game modes → Bee and nectar rules: checks end
mode_jeu.py - Game modes → Human turn: runs human turns
mode_jeu.py - Game modes → AI turn: runs AI turns
mode_jeu.py - AI turn → Bee and nectar rules: chooses actions
mode_jeu.py - AI turn → Board display: moves bee
mode_jeu.py - Player → Human turn: clicks actions
README.md - Human turn → Bee and nectar rules: validates actions
tour_jeu.py - Human turn → Board display: updates display
tour_jeu.py - Human turn → Skirmish resolution: resolves skirmish
tour_jeu.py - Human turn → Bee and nectar rules: deposits nectar
tour_jeu.py - Human turn → Turn controls: reads clicks
tour_jeu.py - Board setup → Game state: creates entities
prog_M.py - Bee and nectar rules → Game state: updates entities
constantes.py - Skirmish resolution → Game state: updates bee status
escarmouche.py - Game entry → Results podium: shows results
main.py - Board display → Tk canvas: draws board
affichage.py - Turn controls → Tk canvas: waits for clicks
tour_jeu.py - Results podium → Tk canvas: draws podium
affichage.py