All Questions
Tagged with tic-tac-toe performance
24
questions
3
votes
1
answer
3k
views
Tic Tac Toe with 3 AI modes or Two-Player
This is my first stab at a game AI, and I've been working on multiple game mode difficulties, so I decided to start with a simple game. :) I'm most concerned about efficiency of the AI algorithms, and ...
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, ...
10
votes
4
answers
2k
views
TicTacToe AI needs optimization
How do I condense this gigantic monster into something more manageable? I heard about command pattern but I can't figure out how to use it. What other solutions are there?
...
4
votes
1
answer
484
views
TicTacToe game needs optimizing
I'm new to programming and want to check if I'm using best coding practices in my program.
...
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 ...
7
votes
2
answers
526
views
Optimizing this inefficient TicTacToe configuration parser
On a programming contest I came upon this question:
Given a partially played 3 × 3 tic-tac-toe configuration, write a program to determine which player will have a better chance of winning if the ...
39
votes
4
answers
8k
views
Ultimate Tic-Tac-Toe in C
Here is my attempt at the UTTT code-challenge (in response to the the Weekend-Challenge Reboot). Here is what I would like critiqued:
I tested the code a few times for bugs, but I may have missed ...
7
votes
2
answers
1k
views
Tic-Tac-Toe optimization
I've made a Tic-Tac-Toe program (non-AI) for 2 human players. I will implement AI for a computer player later on. I am a beginner programmer and am also new to classes, which I've implemented in this ...
2
votes
1
answer
2k
views
TicTacToe in Java
I created this game in Java:
...