How h4tch/zombies-game-of-life works
Main Components
a) Game Engine Layer (LÖVE Framework)
• Should be represented as a foundational layer
• Handles rendering, input, physics, and audio
b) Core Game Systems
• Main Game Loop (main.lua)
• Configuration System (conf.lua)
• Game State Manager (game.lua)
• Stage Management (stage.lua)
• Grid System (grid.lua)
• Input Handler (keys.lua)
c) Game Elements
• Player System (player.lua)
• Introduction Screen (intro.lua)
• Asset Management (assets directory)
┌─────────────────────────────────────────────┐
• LÖVE Framework │
• ┘
• ↑
┌─────────────────────────────────────────────┐
• Core Game Systems │
• ┬─────────────┬────────────────┤
• Game Loop │ Config │ State Manager │
• (main.lua) │ (conf.lua) │ (game.lua) │
• ┴─────────────┴────────────────┘
• ↑
┌─────────────────────────────────────────────┐
• Game Components │
• ┬─────────────┬────────────────┤
• Player │ Grid │ Stage │
• System │ Manager │
• ┴─────────────┴────────────────┘
Important Relationships to Highlight
• How main.lua initializes and coordinates other components
• Relationship between the grid system and stage management
• Demonstrate player interaction with the grid and stage systems
• How the input handler (keys.lua) affects the player and game state
Technical Details
• LÖVE version compatibility (from conf.lua)
• Entry point through launch.sh
• Asset loading paths
• State transitions between intro and main game