Skip to content

kshitijpurwar/DumbTicTacToe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dumb Tic Tac Toe

Intro to React with Tic-Tac-Toe

An article about NPM scripts - 101

NPM scripts are basically an alternative to gulp or grunt, similar to aliases for long CLI commands.

How it works

  • state Stores the current state of board in an array in JS
  • checkWin Checks whether either player has won the game or not, returns true or false
  • resetGame Resets the state of the game, virtually and in the DOM
  • BotTurn It is the basic AI I am using, it is Dumb, it is just random

What are we using

About

This is a dumb tic tac toe, please don't lose the game.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published