- Replaced legacy `game_monitor.py` with a new modular `game_manager.py`.
- Introduced `GameMonitor` class to encapsulate:
- Game window detection, focus enforcement, and resize enforcement.
- Timed game restarts based on configuration interval.
- Callback system to notify Setup.py on restart completion.
- Cross-platform game launching (Windows/Unix).
- Process termination using `psutil` if available.
- `Setup.py` now acts as the control hub:
- Instantiates and manages `GameMonitor`.
- Provides live configuration updates (e.g., window title, restart timing).
- Coordinates bot lifecycle with game restarts.
- Maintains standalone execution mode for `game_manager.py` (for testing or CLI use).
- Replaces older “always-on-top” logic with foreground window activation.
- Dramatically improves control, flexibility, and automation reliability for game-based workflows.