Hello I'm having a little trouble making a Tic Tac Toe game in C sharp. I was wondering if someone could maybe post some code to help me, also explaining it. The game can be made in the console or windows form, it doesn't really matter I'd just appreciate any help. Thanks!
(I have a minecraft account I'd give the details on if someone can be helpful)
just use a 2D array initialize to 0
then manually check every possible win option, if the array has a 1 it's a square if it has a 2 it's a triangle if it's 0 it's an x
if turn counter reaches 8 game is over
alpha beta pruning should not be remotely difficult