An open API service indexing awesome lists of open source software.

https://github.com/bocaletto-luca/tic-tac-toe-two-player

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.
https://github.com/bocaletto-luca/tic-tac-toe-two-player

boardgame bocaletto-luca classic-game css3 game gplv3 html5 javascript json multiplayer open-source php record tic-tac-toe tictactoe two-player videogame vs webgame

Last synced: about 1 month ago
JSON representation

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.

Awesome Lists containing this project

README

          

# Tic Tac Toe Web Game Two-Player VS

![HTML5](https://img.shields.io/badge/HTML5-E34F26?logo=html5&style=for-the-badge)
![CSS3](https://img.shields.io/badge/CSS3-1572B6?logo=css3&style=for-the-badge)
![JavaScript](https://img.shields.io/badge/JavaScript-F7DF1E?logo=javascript&style=for-the-badge)
![WebGame](https://img.shields.io/badge/WebGame-TicTacToe-blue?style=for-the-badge)
![Project Completed](https://img.shields.io/badge/Project-Completed-green?style=for-the-badge)
![GPLv3](https://img.shields.io/badge/License-GPLv3-blue?style=for-the-badge)

[![Test Online](https://img.shields.io/badge/Test%20Online-Click%20Here-brightgreen?style=for-the-badge)](https://bocaletto-luca.github.io/Tic-Tac-Toe-Two-Player/)

## Overview

**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.

## 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.

## Usage

- **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.

## Technologies Used

- **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.

## License

This project is released under the [GPLv3 License](https://www.gnu.org/licenses/gpl-3.0.en.html).

## Author

**Bocaletto Luca**
[GitHub](https://bocaletto-luca.github.io) • [Official Site](https://bocalettoluca.altervista.org)

---

Enjoy this classic game of Tic Tac Toe with a friend and relish a quick and competitive match right in your browser!