This project is an offline 2-player mood board game made by typescript. Tic-Tac-Toe, Knots and Crosses or Xs and Os is a paper-and-pencil game for two players who take turns marking spaces on a three-by-three grid with X's or O's. The player who succeeds in placing three of their symbols in a horizontal, vertical, or diagonal row is the winner. That game is developed as a web game on the web page using HTML, CSS, and Typescript.
Demo: This project is deployed on netlify. To visit the demo Click here or manually visit the URL https://tic-tac-toe-ts1.netlify.app.
- Custom board generator
- Player's turn show
- Dynamic win cases checker
- Auto-save game
- Loading saved game
- Typescript - A strongly typed programming language that builds on JavaScript
- Parcel - The zero configuration build tool for modern apps and libs
This project is a vanilla typescript project, styled with CSS. No external library is included.
Requires Node.js preinstallation to run.
Clone the repository or download source code:
git clone git@github.com:Md-Dipu/tic-tac-toe-typescript.git
Install the devDependencies and start the parcel app.
cd tic-tac-toe-typescript
npm install
Want to contribute? Great!
Follow the steps below:
- Fork the repository
- Create a new branch
- Add features or make changes to existing code
- Create a pull request with the description
To start the parcel app just run:
npm start
To build the parcel app just run:
npm build