Skip to content

MamadTvl/tic-tac-toe-pwa

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tic Tac Toe Game

simple tic-tac-toe game

has three different difficulty (easy, hard, impossible)

easy

robot choose random blocks

hard

trying to win the game or stop the other player to win

if there is no option pick random block

you can add it to your phone home screen and play

impossible

using min-max algorithm

see demo : https://tik-tak-game.netlify.app/

also the native version is here : https://github.com/MamadTvl/TicTacToe-React-Native

Available Scripts

In the project directory, you can run:

npm install or yarn install

install the npm packages

npm start or yarn start

Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.

The page will reload if you make edits.
You will also see any lint errors in the console.

npm run build or yarn build

Builds the app for production to the build folder.
It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.
Your app is ready to be deployed!

See the section about deployment for more information.

Learn More

You can learn more in the Create React App documentation.

To learn React, check out the React documentation.

Code Splitting

This section has moved here: https://facebook.github.io/create-react-app/docs/code-splitting

Analyzing the Bundle Size

This section has moved here: https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size

Making a Progressive Web App

This section has moved here: https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app

Advanced Configuration

This section has moved here: https://facebook.github.io/create-react-app/docs/advanced-configuration

Deployment

This section has moved here: https://facebook.github.io/create-react-app/docs/deployment

yarn build fails to minify

This section has moved here: https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify

Mohammad Tavallai and Mahdis Abedi

About

tic-tac-toe game with ReactJs using minmax algorithm

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published