Skip to content

Md-Dipu/tic-tac-toe-typescript

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

51 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tic tac toe: Web game

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.

Features

  • Custom board generator
  • Player's turn show
  • Dynamic win cases checker
  • Auto-save game
  • Loading saved game

Technologies

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

Installation

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

Development

Want to contribute? Great!

Follow the steps below:

  1. Fork the repository
  2. Create a new branch
  3. Add features or make changes to existing code
  4. Create a pull request with the description

To start the parcel app just run:

npm start

Build

To build the parcel app just run:

npm build