Skip to main content

All Questions

2 votes
1 answer
269 views

Minimax method for Tic Tac Toe

I have this program for minimax tic tac toe ...
Abdulahad Ghuman's user avatar
2 votes
0 answers
126 views

Tic Tac Toe game becomes more inefficient as time goes on

I designed a tic tac toe using 4 classes. The game class being the main class, the board class being the board, the player class being the decision making, and the AI class keeping the previous game ...
XTImpossible's user avatar
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 ...
BrainFRZ's user avatar
  • 819
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? ...
TheQuantumBros's user avatar
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. ...
TheQuantumBros's user avatar
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 ...
Unihedron's user avatar
  • 522
2 votes
1 answer
2k views

TicTacToe in Java

I created this game in Java: ...
LazySloth13's user avatar
  • 1,301