A simple and fun Tic Tac Toe project built with HTML, CSS, and JavaScript.
Play against a friend in this classic 3ร3 board game right in your browser!
๐ Play Here
๐ฒ Classic 3ร3 Grid Gameplay โ players take turns placing X and O.
๐ฅ Two-Player Mode โ play with a friend on the same device.
๐ Winner Detection โ game checks winning combinations and displays the winner.
๐ Reset & New Game Options โ restart the board without refreshing the page.
๐ฅ๏ธ Basic Responsive Design โ the board and elements resize to fit different screen sizes using CSS flexbox and vmin units.
โก Built with Pure HTML, CSS & JavaScript โ no external libraries or frameworks.
๐จ Clean and Minimal UI โ simple styling with CSS3 (shadows, flexbox, responsive units).
- ๐ HTML5
- ๐จ CSS3
- โก JavaScript
- No AI Opponent โ only supports 2 players on the same device (no single-player mode).
- No Draw Detection โ the game does not automatically announce a draw if all cells are filled with no winner.
- Basic Responsiveness โ layout scales with screen size, but not fully optimized for very small screens or mobile-first design.
- No Score Tracking โ scores reset after each new game (no history of wins/losses).
git clone https://github.com/BharathPadavu/tic-tac-toe-game.git
cd tic-tac-toe-game
open index.html