How sorayahossain/data-driven-kotte works
This repository is a C++ Bomberman-style game built on the shared Kotte foundations. Its central runtime is Application: it manages entities and gameplay, including movement, bombs, blast effects, enemies, and rendering. The available excerpts show entity creation and destruction, spatial queries, and render-command execution, but do not expose all frame-phase calls. The README is an unfilled submission template, so controls, win/loss rules, and extensions cannot be confirmed; the graph focuses on capabilities evidenced by the source.
Main entry points: application.cpp Game application · spatial_grid.cpp Spatial grid · renderer.cpp Renderer · window.cpp Window
Components 14
Game runtime
- Game application
kotte/src/application.cpp - Gameplay simulation
kotte/src/application.cpp - Bombs and blasts
kotte/src/application.cpp - Enemy movement
kotte/src/application.cpp
World and entities
- Entity store
kotte/src/entity_store.cpp - Entity model
kotte/include/kotte/entity.hpp - Spatial grid
kotte/src/spatial_grid.cpp - Tile map
kotte/src/tile_map.cpp - Random generator
kotte/include/kotte/random.hpp
Platform
- Window
kotte/src/window.cpp
Other components
- Player
- raylib
Connections 17
- Game application → Entity store: creates entities
kotte/src/application.cpp - Game application → Entity store: destroys entities
kotte/src/application.cpp - Game application → Spatial grid: inserts entities
kotte/src/application.cpp - Game application → Spatial grid: queries contacts
kotte/src/application.cpp - Game application → Spatial grid: queries visibility
kotte/src/application.cpp - Game application → Renderer: sorts and executes
kotte/src/application.cpp - Game application → Entity model: constructs entities
kotte/src/application.cpp - Game application → Gameplay simulation: updates gameplay
kotte/src/application.cpp - Game application → Bombs and blasts: resolves detonations
kotte/src/application.cpp - Game application → Enemy movement: moves enemies
kotte/src/application.cpp - Game application → Tile map: uses map
- Game application → Random generator: chooses headings
kotte/src/application.cpp - Game application → Camera: updates camera
- Game application → Window: checks close state
- Game application → raylib: draws via
- Window → raylib: opens window
kotte/src/window.cpp - Renderer → raylib: executes drawing
kotte/src/renderer.cpp