https://github.com/vasanthk/tic-tac-toe-js
A basic Tic Tac Toe game built using HTML/JavaScript/CSS
https://github.com/vasanthk/tic-tac-toe-js
Last synced: about 1 year ago
JSON representation
A basic Tic Tac Toe game built using HTML/JavaScript/CSS
- Host: GitHub
- URL: https://github.com/vasanthk/tic-tac-toe-js
- Owner: vasanthk
- Created: 2014-07-22T05:03:59.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2024-08-22T22:07:28.000Z (almost 2 years ago)
- Last Synced: 2025-04-10T20:39:26.065Z (about 1 year ago)
- Language: JavaScript
- Homepage:
- Size: 13.7 KB
- Stars: 52
- Watchers: 5
- Forks: 66
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Tic Tac Toe
**A basic Tic Tac Toe game built using HTML, JavaScript, and CSS. No dependencies required.**
[](http://codepen.io/vasanthkay/pen/KVzYzG?editors=001)
## How to Get Started
1. To make a move, the player will use a single mouse click to mark a space. In this version, there is no provision to undo a move. Once a move is made, the game proceeds to the next player's turn.
2. At each move, the game will indicate whose turn (Player A or Player B) it is. When the game ends, it displays one of the following outcomes:
* Winner: Player A
* Winner: Player B
* Draw