Restructure


Architecture & Code Quality

  • MVC + Dependency Injection: Complete refactor to Model-View-Controller pattern with VContainer DI framework
  • Command Pattern: Implemented for all game-related actions (piece movement, unlocking, capturing, etc.)
  • SOLID Principles: Applied throughout codebase for better maintainability and extensibility
  • View Locator System: Created centralized reference management for proper dependency injection
  • Code Cleanup: Removed legacy/unused files and optimized to use latest codebase

Core Gameplay Features

  • Piece Movement System:
    • Automatic piece movement with smooth animations
    • Jump animations for piece movement
    • Auto-stacking on same path objects with toggle for highlight behavior
    • Fixed piece cut mechanism with proper animation timing
  • Game Rules Implementation:
    • Piece unlocking system
    • Piece capture (cut) mechanics with bonus turn rewards
    • Bonus turn on rolling 6+ (testing mode)
    • Bonus turn when piece reaches home
    • Block formation feature (safe path treatment)
    • Turn management with automatic skip for finished players
  • Buff/Debuff System: New modular system for gameplay modifiers

UI/UX Improvements

  • Main Menu: Merged splash and main menu for streamlined experience
  • Game Configuration: New popup system for game settings
  • Result Screen: Animated victory screen with particle effects
  • Transition System: Custom loader with color-cycling animation
  • Roll History: Fixed color display and panel functionality
  • Theme System: Added 2 new themes with custom inspector for easy editing
  • Visual Polish: New fonts, icons, and highlight sprites

Audio

  • Configurable audio system with clips for:
    • Piece movement
    • Dice rolls
    • Other game events

AI & Player Systems

  • AI Mode: Bot opponents with functional AI decision-making
  • Bot System: Offline mode bot-adding functionality
  • Player Decoupling: Separated player views, profiles, and dice from color assignments (now uses scene index)
  • Multi-player Support: Tested and working for 2P, 3P, and 4P modes

Bug Fixes

  • Fixed turn management when returning from game to main menu
  • Fixed piece locked position indexing issues
  • Fixed roll history color system
  • Fixed Player 2 cut position problem
  • Resolved multiple initialization issues with piece controllers
  • Fixed highlight object timer activation

Technical Improvements

  • Internet connection state handler
  • Object pool reset functionality
  • Game state management (replaced boolean flags with proper state system)
  • Loading transitions between scenes
  • Proper initialization/reset management for game restart

Total Development Period: 10 days Commits: 44 commits

Files

Ludo-Web.zip Play in browser
16 days ago

Get Ludo-Ultimate

Download NowName your own price

Leave a comment

Log in with itch.io to leave a comment.