Tic Tac Toe Web Game Two-Player VS is a modern, browser-based version of the timeless Tic Tac Toe game, reimagined for local head-to-head multiplayer competitions. With smooth animations and an intuitive interface, this lightweight web game allows you and a friend to battle it out on the classic 3x3 grid—all without any installation.
No installation is required. Simply host the files on any HTTP/HTTPS server (for example, using Apache, GitHub Pages, or any static hosting service) and open index.html
in your browser.
-
Objective:
Be the first to place three of your markers (X or O) in a horizontal, vertical, or diagonal row on the grid. -
How to Play:
- Player 1: Uses X.
- Player 2: Uses O.
- Players take turns clicking on an empty cell within the 3x3 grid to place their marker.
- The game automatically displays the winner once a row, column, or diagonal is completed or declares a draw if all cells are filled without a winning pattern.
-
Controls:
Simply click on one of the grid cells to mark your move. The game includes a Reset button to start a new round at any time.
- HTML5 – Provides the structure and semantic elements.
- CSS3 – Implements styling, layout, and animations.
- JavaScript – Powers the game logic, event handling, and win/draw detection.
- Custom Tic Tac Toe Engine – Implements the turn-based grid interaction and game state management.
- Bootstrap 5 – Utilized for a modern and responsive UI.
This project is released under the GPLv3 License.
Bocaletto Luca
GitHub • Official Site
Enjoy this classic game of Tic Tac Toe with a friend and relish a quick and competitive match right in your browser!