All Questions
8
questions
3
votes
2
answers
233
views
Tic-tac-toe OOP Minimax Algorithm
I wrote a module that I intend to use in my next tic-tac-toe project. All it is is a class that stores the boardstate along with some methods/properties. The biggest thing is the minimax alg. As shown ...
2
votes
1
answer
190
views
How to increase the success rate of my Tic Tac Toe AI that uses the Minimax Algorithm?
this is my first post here!
I am working on a Tic Tac Toe AI in Python that uses the Minimax Algorithm to beat either a computer or a normal player. As of now, It has approximately 70% chance of ...
11
votes
3
answers
2k
views
Tic Tac Toe Game using Python
I'm brand-new (just joined today) to code review and I am super excited to share my tic tac toe game code with all of you! Please let me know what I could fix up in my program to make it more ...
1
vote
1
answer
103
views
A Tic-Tac-Toe AI based on two rules
I made a tic tac toe bot with the following rules (it's not unbeatable):
If bot is about to win, it will find the winning move.
If bot is about to lose, it will find a move that prevents the other ...
5
votes
1
answer
5k
views
Minimax algorithm for tic tac toe in Python
I am using minimax algorithm (for now without alpha beta pruning) for AI in tic tac toe game in Python and Numpy. It's working, but very slow, so I would like to optimize it.
A few rules for current ...
8
votes
2
answers
2k
views
Tic-Tac-Toe Recursive Solver
I am attempting to create a Tic-Tac-Toe game that uses a recursively checks every possible game board, and finds which boards result in a victory for X. (I ultimately plan to turn this into an AI ...
2
votes
1
answer
114
views
TicTacToe game in Python
I'd just like to ask if there's anyway to make the functions play_Game() or is_move_valid() anymore efficient. For example, ...
5
votes
1
answer
266
views
Lightweight Tic-Tac-Toe in Python
This is a completely functional python script of the Tic-Tac-Toe game. I've used python's set container for almost all data structure and operation. The code is ...