Skip to content

panahi-projects/tic-toc-toe

Repository files navigation

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

Screenshot

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.

About

TIC TAC TOE game, a project as a hobby by vanilla Typescript

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors