Community Profile

photo

Preston Waddell


Active since 2019

Statistics

Content Feed

View by

Question


Unable to write loops for self playing connect4 win conditions
clc,clf col = 1; row = 1; board = zeros(6,7); %Creates a board of zeros maxturns = 0; vertwin = 0; horizwin = 0; leftdiag...

mer än 4 år ago | 1 answer | 0

1

answer

Question


Attempting to completely fill out an array(6,7) with 1's and 2's for connect4
clc,clf col = 1; row = 1; board = zeros(6,7); %Creates a board of zeros maxturns = 0; while maxturns <= 42 maxturns = ...

mer än 4 år ago | 2 answers | 0

2

answers