Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/aksh-bansal-dev/tic-tac-toe

Tic-tac-toe with unbeatable AI.
https://github.com/aksh-bansal-dev/tic-tac-toe

Last synced: 25 days ago
JSON representation

Tic-tac-toe with unbeatable AI.

Awesome Lists containing this project

README

        

# tic-tac-toe

Tic-tac-toe with unbeatable AI.
It is an PWA, so it can be installed.

## Link to site
[https://aksh-bansal-dev.github.io/tic-tac-toe/](https://aksh-bansal-dev.github.io/tic-tac-toe/)

## Built with
- HTML
- CSS
- Typescript

## AI
This app actually uses minimax algorithm to calculate the most optimal move. Basically, it calculates every possible outcome and then pick one with most points(most optimal).
It also considers that the other player will also choose the move which has least points(most optimal for him).