I made a tiny Python library called perfect_game_player that helps predict the best move you can play in games. I made use of minimax and its variants. You can make your own AI by implementing the Node class and calling the minimax function.
Currently, I have tried it on Tic tac toe and connect 4.
I just made it because I loved the idea of a game playing AI! :)
There are a ton of things left to do. Initially I wanted to make a graphical client XO game and visual minimax stepper but spent a lot of time getting the games to run.
Here's the project, would love it if you could take a look! Contributions and even feedback is welcome.
Cheers!
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Hello!
I made a tiny Python library called perfect_game_player that helps predict the best move you can play in games. I made use of minimax and its variants. You can make your own AI by implementing the Node class and calling the minimax function.
Currently, I have tried it on Tic tac toe and connect 4.
I just made it because I loved the idea of a game playing AI! :)
There are a ton of things left to do. Initially I wanted to make a graphical client XO game and visual minimax stepper but spent a lot of time getting the games to run.
Here's the project, would love it if you could take a look! Contributions and even feedback is welcome.
Cheers!