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