How illoizaur/just_school works
This is a small collection of school examples, centered on a Pygame sandbox game. The principal workflow is selecting a world in the menu, launching the game loop, and playing in a generated world; the game also handles entities, crafting/inventory, rendering, and save/load. A separate Arcade prototype is present. The README describes the repository broadly but provides no further architecture; the graph uses sampled code and SOURCE INDEX references, so unsampled details are omitted.
Main entry points: game.py Game loop · main.py Game controller · menu.py World menu · world.py World generation
Components 14
Game entry
- World menu
project/menu.py - Game controller
project/main.py
Sandbox runtime
- Game loop
project/game.py - Inventory and crafting
project/game.py - Save and load
project/game.py - World save files
- World rendering
project/game.py
World and entities
- World generation
project/world.py - Terrain and biomes
project/world.py - Water simulation
project/world.py - Collision and water checks
project/world.py - Player and creatures
project/characters.py
Other example
- Arcade menu prototype
game_arcade/step1.py
Other components
- Player
Connections 13
- Player → World menu: selects world
- World menu → Game controller: returns selection
project/main.py - Game controller → World menu: opens menu
project/main.py - Game controller → Game loop: starts game
project/main.py - Game loop → World generation: uses world module
project/game.py - Game loop → Player and creatures: uses character classes
project/game.py - Player and creatures → Collision and water checks: checks collisions and water
project/characters.py - Game loop → Inventory and crafting: handles crafting
project/game.py - Game loop → Save and load: saves on exit
project/game.py - Save and load → World save files: reads and writes
- Game loop → World rendering: draws world
project/game.py - World generation → Terrain and biomes: generates terrain
project/world.py - Game loop → Water simulation: updates and renders water
project/game.py