This pull request includes significant updates to the Tic-Tac-Toe game, enhancing both the user interface and game functionality. Key changes include adding a mode selection for playing against a human or AI, improving the visual design, and implementing an AI opponent using the minimax algorithm.
User Interface Enhancements:
index.html: Introduced a mode selection screen and reorganized the game layout within a #game-container div.
css/style.css: Updated styles for the game board, cells, and buttons. Added animations for winning cells and improved overall visual aesthetics. [1][2]
Game Functionality Improvements:
js/script.js: Implemented AI opponent functionality using the minimax algorithm. Added event listeners for mode selection and improved the game reset logic.
Accessibility and Responsiveness:
index.html: Added meta tags for character set and viewport settings to improve accessibility and responsiveness.
This pull request includes significant updates to the Tic-Tac-Toe game, enhancing both the user interface and game functionality. Key changes include adding a mode selection for playing against a human or AI, improving the visual design, and implementing an AI opponent using the minimax algorithm.
User Interface Enhancements:
index.html
: Introduced a mode selection screen and reorganized the game layout within a#game-container
div.css/style.css
: Updated styles for the game board, cells, and buttons. Added animations for winning cells and improved overall visual aesthetics. [1] [2]Game Functionality Improvements:
js/script.js
: Implemented AI opponent functionality using the minimax algorithm. Added event listeners for mode selection and improved the game reset logic.Accessibility and Responsiveness:
index.html
: Added meta tags for character set and viewport settings to improve accessibility and responsiveness.