https://github.com/panahi-projects/tic-toc-toe
TIC TAC TOE game, a project as a hobby by vanilla Typescript
https://github.com/panahi-projects/tic-toc-toe
arcade-game game javascript tic-tac-toe-game typescript
Last synced: about 20 hours ago
JSON representation
TIC TAC TOE game, a project as a hobby by vanilla Typescript
- Host: GitHub
- URL: https://github.com/panahi-projects/tic-toc-toe
- Owner: panahi-projects
- Created: 2023-08-18T13:33:49.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-10-11T07:40:21.000Z (almost 2 years ago)
- Last Synced: 2025-07-02T16:41:56.919Z (3 months ago)
- Topics: arcade-game, game, javascript, tic-tac-toe-game, typescript
- Language: TypeScript
- Homepage:
- Size: 718 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Welcome to Tic Tac Toe
This is a simple implementation of the classic game, written in pure JavaScript, HTML, and CSS. It's a fun project that I've created during my leisure time, and I hope you enjoy playing it.
Currently, the game supports 2-player mode, where two players can take turns placing their marks on a 3x3, 6x6 grid or more. The first player to get three in a row (horizontally, vertically, or diagonally) wins the game. If all squares are filled and no player has won, then the game ends in a draw.
In the future, I plan to implement 1-player mode, where the computer will play against the human player. This will add an extra level of challenge and fun to the game.
To play, simply click on a square to place your mark (X or O).
I hope you have fun playing Tic Tac Toe! Let me know if you encounter any issues or have suggestions for improvements.
### Demo

### Getting Started
1. Clone the repository: git clone https://github.com/panahi-projects/tic-toc-toe.git
2. Navigate to the project directory: `cd tic-toc-toe`
3. Install the packages: `npm install`
4. Run the application: `npm run dev` or `npm start`
5. Open your browser and navigate to http://localhost:3000 to see the application in action.#### Node version
This project has been started with Node v18.16.1
#### Acknowledgments
Many thanks to the creators of Express.js and Node.js for making such amazing tools available to the developer community.