#include <Array.au3>
; 1 = Black, 0 = White
Global $g_aCells = [[1,1,1,0,1,1,1], _
[1,1,0,0,0,1,1], _
[1,0,0,0,0,0,1], _
[0,0,0,0,0,0,0], _
[1,0,0,0,0,0,1], _
[1,1,0,0,0,1,1], _
[1,1,1,0,1,1,1]]
_ArrayDisplay($g_aCells)
For $iRow = 0 To 6
For $iCol = 0 To 6
If $g_aCells[$iCol][$iRow] = 1 Then
ConsoleWrite("+ $iCol:" & $iCol & " $iRow:" & $iRow & " is BLACK" & @CRLF)
Else
ConsoleWrite("> $iCol:" & $iCol & " $iRow:" & $iRow & " is WHITE" & @CRLF)
EndIf
Next
ConsoleWrite(" -----------------------------" & @CRLF)
Next