WOWOWOWOWOWOWO WI DID IT WOWOWWWWWW WOW

This commit is contained in:
0x81c 2015-03-15 04:52:18 -04:00
parent 286871ca21
commit c668dc513b
7 changed files with 294 additions and 58 deletions

14
_debug_helpers.lua Normal file
View file

@ -0,0 +1,14 @@
function shallowTablePrint(t)
for i, v in pairs(t) do
print(i, v)
end
end
function printMatrix(matrix)
for i, v in ipairs(matrix) do
for j, w in ipairs(v) do
if not w then io.write("o ") else io.write("x ") end
end
io.write("\n")
end
end