Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/cmirnow/tic-tac-toe-ai-with-neural-network-resurrections
- Owner: cmirnow
- License: mit
- Created: 2022-11-08T23:09:03.000Z (about 2 years ago)
- Default Branch: master
- Last Pushed: 2023-11-28T09:33:55.000Z (about 1 year ago)
- Last Synced: 2023-11-28T10:31:52.189Z (about 1 year ago)
- Topics: artificial-intelligence, fann, machine-learning, neural-network, ruby-fann, tictactoe
- Language: Ruby
- Homepage: https://masterpro.ws/tic-tac-toe-with-neural-network-resurrections
- Size: 2.71 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
## 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
```[Article on Medium.com](https://medium.com/@aleksejsmir/build-your-own-tic-tac-toe-robot-ded684a79ad1)