Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Kegs Scores ... FOOOOOOTBALLLLLL
win = 0 draw = 0 loss = 0 goals = {{},{}} goals[1][1] = 2 goals[1][2] = 4 goals[1][3] = 1 goals[1][4] = 0 goals[1][5] = 2 goals[2][1] = 1 goals[2][2] = 0 goals[2][3] = 1 goals[2][4] = 3 goals[2][5] = 0 for i = 1,5,1 do if goals[1][i] > goals[2][i] then win = win + 1 elseif goals[1][i] == goals[2][i] then draw = draw + 1 else loss = loss + 1 end end print("KEGS Wins = " .. win .. " KEGS Draws = " .. draw .. " KEGS Losses= " .. loss)
run
|
edit
|
history
|
help
1
quick sort
Random Item Generator (1 year)
Brainfuck Interpreter (Lua) [reposted]
Lua Angle Cheatsheet
Error PCALL
roulette
BasicTablePrinterV2
VWPASSATPOLIZEI
Roots without the math library in Lua
Hakusu