PRGPM7QVW24DZAAZMGG7UEKE53VU5QOVMUEQZQ4TTGQMADCUU7WAC
score = function(t, team)
local result = 0
for opp, score in pairs(t[team]) do
if type(score) == 'number' then
result = result + score
end
end
return result
end
l = left+rside
for x,row in ipairs(t) do
for y,cell in ipairs(row) do
local px = (cx[x] - l - App.width(t[x][y])) / 2
love.graphics.print(t[x][y], l+px, top+y*c+py)
for y,t1 in ipairs(rows) do
l = left+rside
for x,t2 in ipairs(rows) do
if t[t1][t2] then
local px = (cx[x] - l - App.width(t[t1][t2])) / 2
love.graphics.print(t[t1][t2], l+px, top+y*c+py)
end
l = cx[x]