Preston Waddell
自 2019 起处于活动状态
Followers: 0 Following: 0
Feeds
提问
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...
5 years 前 | 1 个回答 | 0
1
个回答提问
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 = ...
5 years 前 | 2 个回答 | 0