Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/cmirnow/tic-tac-toe-ai-with-neural-network-resurrections

Test Tic-Tac-Toe project for Neural Network (ruby-fann based) study.
https://github.com/cmirnow/tic-tac-toe-ai-with-neural-network-resurrections

artificial-intelligence fann machine-learning neural-network ruby-fann tictactoe

Last synced: about 1 month ago
JSON representation

Test Tic-Tac-Toe project for Neural Network (ruby-fann based) study.

Awesome Lists containing this project

README

        

## Tic Tac Toe AI with Neural Network. The Resurrections.

Tic Tac Toe AI with Neural Network. The Resurrections.

The script doesn't know how to play Tic Tac Toe. The first launch creates a csv-file of Tic Tac Toe games played by chance. Then, the Neural Network helps AI to find the optimal moves. Can you beat this AI? Good luck to you!

:stuck_out_tongue_winking_eye: | In the new version of the game, you can play against a Neural Network either first or second (this choice is random).
:---: | :---

You'll need Ruby.

:exclamation: | Ruby-fann has [problems](https://github.com/tangledpath/ruby-fann/issues/28) with Ruby 3.2 now. Be careful.
:---: | :---

How to start playing:

```bash
gem install progress_bar tty-pie csv ruby-fann:1.3.2
git clone https://github.com/cmirnow/Tic-Tac-Toe-AI-with-Neural-Network-Resurrections.git
cd Tic-Tac-Toe-AI-with-Neural-Network-Resurrections
ruby start.rb
```

Tic Tac Toe AI with Neural Network. The Resurrections.

[Article on Medium.com](https://medium.com/@aleksejsmir/build-your-own-tic-tac-toe-robot-ded684a79ad1)