Skip to content

Latest commit

 

History

History
26 lines (17 loc) · 1.31 KB

File metadata and controls

26 lines (17 loc) · 1.31 KB

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!

😜 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.

Ruby-fann has problems with Ruby 3.2 now. Be careful.

How to start playing:

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