knucklebones/scoring.lua
2023-08-12 11:36:14 +02:00

9 lines
160 B
Lua

function get_total_score(scores)
local sum = 0
for col = 1, 3 do
local value = scores[col]
sum = sum + value
end
return sum
end