Flood Fill Game AI is an intelligent system designed to play and solve the classic Flood Fill game efficiently. The game consists of a colored grid, and the objective is to fill the entire board with a single color using the minimum number of moves. The AI algorithm analyzes the current state of the board, predicts optimal moves, and makes decisions to maximize coverage with each move.
Key Features:
Game board representation using 2D arrays or custom data structures.
AI algorithm to determine the next best move based on color clusters.
Move counter and win condition checker.
Option for manual play vs AI for testing strategies.
Visual interface (optional) to display game state in real-time.