https://github.com/shoaib-programmer/tictactoe
This is a tic-tac-toe website, where users can play an undefeatable bot.
https://github.com/shoaib-programmer/tictactoe
alpha-beta-pruning css minimax react tic-tac-toe undefeatable-bot vite
Last synced: 8 months ago
JSON representation
This is a tic-tac-toe website, where users can play an undefeatable bot.
- Host: GitHub
- URL: https://github.com/shoaib-programmer/tictactoe
- Owner: Shoaib-Programmer
- License: mit
- Created: 2025-02-11T06:13:07.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2025-03-07T05:23:01.000Z (9 months ago)
- Last Synced: 2025-03-07T06:20:44.322Z (9 months ago)
- Topics: alpha-beta-pruning, css, minimax, react, tic-tac-toe, undefeatable-bot, vite
- Language: TypeScript
- Homepage: https://shoaib-programmer.github.io/tictactoe/
- Size: 99.6 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Tic-Tac-Toe
* This is a simple website built using React and Vite, where users can play a bot that plays optimal tic-tac-toe, and doesn't ever lose.
* This website uses the minimax algorithm to decide on the best move in any position, and uses alpha-beta pruning for speed.
* It is compiled to HTML, CSS and JS and is hosted on GitHub pages at https://Shoaib-Programmer.github.io/tictactoe through the gh-pages branch of this repo.
* This website is essentially a web version of CS50AI's tic-tac-toe project, combined with the hands-on tutorial shown in react.dev/learn, which I used to familiarize my self with React and its syntax.