click, space or enter, arrow keys, or use numbers 1-7 to input a move try to beat the AI still in development - the AI is not as strong as it could be and very buggy go to https://turbowarp.org/427498957/ for better performance as it is very very slow please tell me what nodes/s you get; I get around 500 in vanilla scratch and 15000 in turbowarp at depth 5
almost certainly the best connect 4 AI on scratch @pulljosh for heavy inspiration on the design (https://scratch.mit.edu/projects/42395968/) @A_Big_Cow has made another slightly inferior connect 4 AI using a similar algorithm and that is the only other implementation I could find for connect 4 (https://scratch.mit.edu/projects/16243147/) To do: -recognize/combine already evaluated positions? -alpha/beta pruning maybe -bugfix -opening book AKA cheating