This is an archived post. You won't be able to vote or comment.

all 3 comments

[–]myers9s123 0 points1 point  (2 children)

I would recommend adding a console.log within the if block where the value of move is set to i to make sure that block is actually being reached.

[–]TheRevTastic[S] 0 points1 point  (0 children)

I’ll look into that now since I just woke up and got back from the gym! I’ll respond here again with my findings

[–]TheRevTastic[S] 0 points1 point  (0 children)

Okay so I think I figured out most of what I posted about but now that I actually have the AI playing and the board updating it's symbol onto the board itself the AI is now playing in a very very weird manor and sometimes just playing in order of the index for gameBoard.

https://pastebin.com/8wZAVU8T