How alexmyczko/bubbros works
Bub n Bros is a networked multiplayer bubble-action game. The documented path is to launch the browser interface, start a server and choose levels, then join with a client; local discovery and Internet listings support finding games. The graph preserves game simulation, level and ranking capabilities, protocol/client rendering, and metaserver discovery. Some subsystems are represented by their exact tree directories because their implementation was not sampled; edges are limited to documented or excerpt-supported relationships.
Main entry points: boards.py Board simulation · Client.py Client entry · httppages.py Game web pages · player.py Players
Components 24
Game access
- Browser launcher
BubBob.py - Game web pages
http2/httppages.py
Game simulation
- Players
bubbob/player.py - Board simulation
bubbob/boards.py - Bubbles
bubbob/bubbles.py - Monsters
bubbob/monsters.py - Bonuses
bubbob/bonuses.py - Sprites and images
bubbob/images.py - Game content maps
bubbob/mnstrmap.py - Level definitions
bubbob/levels - Game extensions
bubbob/ext1/__init__.py - Timeline
bubbob/timeline.py - Ranking
bubbob/ranking.py
Networking and discovery
- Game server
bubbob/bb.py - Game protocol
common/gamesrv.py - Message format
common/msgstruct.py - Local discovery
common/hostchooser.py - Internet game listings
metaserver/metaclient.py - Metaserver
metaserver/metaserver.py
Client experience
- Client entry
display/Client.py - Playfield client
display/pclient.py - Display modes
display/modes.py
Other components
- Player
- Browser user
Connections 25
- Browser user → Browser launcher: launches
- Browser launcher → Game web pages: opens pages
BubBob.py - Browser user → Game web pages: starts game
- Game web pages → Game server: starts server
http2/httppages.py - Player → Client entry: joins game
- Client entry → Playfield client: starts client
display/Client.py - Client entry → Local discovery: finds hosts
display/Client.py - Client entry → Internet game listings: lists Internet games
display/Client.py - Playfield client → Game protocol: exchanges game data
display/pclient.py - Playfield client → Display modes: uses display modes
display/pclient.py - Game protocol → Message format: encodes messages
common/gamesrv.py - Game protocol → Players: dispatches player input
bubbob/player.py - Board simulation → Players: updates players
bubbob/boards.py - Players → Bubbles: creates bubbles
bubbob/player.py - Board simulation → Monsters: runs monster simulation
bubbob/boards.py - Board simulation → Bonuses: starts bonus play
bubbob/boards.py - Monsters → Bonuses: uses monster bonuses
bubbob/monsters.py - Players → Timeline: records inputs
bubbob/player.py - Board simulation → Ranking: builds results
bubbob/boards.py - Board simulation → Level definitions: loads levels
- Board simulation → Sprites and images: uses sprites
bubbob/boards.py - Sprites and images → Game content maps: loads sprite maps
bubbob/images.py - Game extensions → Board simulation: extends game
bubbob/ext1/__init__.py - Internet game listings → Metaserver: registers games
- Game web pages → Internet game listings: queries listings
http2/httppages.py