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

https://github.com/dubisdev/tictactoe_javascript

Tictactoe Game in JS (with an AI)
https://github.com/dubisdev/tictactoe_javascript

Last synced: about 1 year ago
JSON representation

Tictactoe Game in JS (with an AI)

Awesome Lists containing this project

README

          

# Tictactoe Game in JS (with AI)

> You can play [here đź‘€](https://dubisdev.github.io/tictactoe_javascript/)

In this simple version of tictactoe game, you can play against the AI in three different modes:
- Easy: the AI generates random moves.
- Medium: the AI does someting that makes sense, but you can still win.
- Impossible: the result is a tie or a win for the AI.

The AI code is an adaptation of a java project from [Píldoras Informáticas](https://www.pildorasinformaticas.es/) to which I have added and refactored code to make it work better.

## License

MIT © [Dubisdev](https://dubis.dev)