Skip to content

surajsinghbisht054/neural-network-tic-tac-toe

master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
src
 
 
 
 
 
 
 
 
 
 

Neural Network Based Tic Tac Toe

Simple Tic Tac Toe Game Implementation, With Simple Neural Network

	Author :
		Suraj Singh Bisht
		surajsinghbisht054@gmail.com
		www.bitforestinfo.com
		

Description

Simple Tic Tac Toy Game Implentation In Python. Basically, In This Project, I Tried To Develop Simple But Little Bit Unpredictable Tic Tac Toe Game Player Where user can Play This Game With Trained Computer Neural Network Based Program. Well, Here Computer Side I'm Going To Deploy A Trained Neural network that will play the game with user with little bit of unpredictable choices.

Key Points To Understand This Project

  • Using PyBrain To Implement FeedForward Neural Network
  • Generate All Possible Situations Of Tic Tac Toe Game
  • Filter Best Fit Data from Possibilities
  • Filter Only Wining and Draw Possibilities
  • Trained Neural network With Randomness
  • Then, play game with this.

how to run it

git clone https://github.com/surajsinghbisht054/neural-network-tic-tac-toe
cd neural-network-tic-tac-toe
cd src
python generate_dataset.py 
python ann.py # <-- Run This Script, More Than Once to decrease error Rate
cd ..
python main.py

Note

I'm also new in this subject So, Please Forgive me if I'm doing anything wrong and If You find that I'm doing anything wrong anywhere in this project. Please Feel Free To Correct me.

Want To Contribute


Development.

Want to Contribute? Great!

There Are 2 Methods.

  1. Pull Request ( Github Account Required ).

  2. Through Email.

1. Pull Request ( Github A/c Required ).

  1. Fork it!

  2. Create your feature branch: git checkout -b my-new-feature

  3. Commit your changes: git commit -am 'Add some feature'

  4. Push to the branch: git push origin my-new-feature

  5. Submit a pull request :D

2. Through Email.

  1. Send Your Updated Version On My Email.

License

Apache License

About

Simple Tic Tac Toe Game Implementation, Virtual Player Based On Neural Network

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages