1
0
mirror of https://github.com/LDDestroier/CC/ synced 2024-12-14 12:10:29 +00:00

Update tron

This commit is contained in:
LDDestroier 2018-11-14 19:36:19 -05:00 committed by GitHub
parent 93430ea139
commit 9cf44d6bf3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

3
tron
View File

@ -817,7 +817,6 @@ while true do
grid = deepCopy(initGrid)
resetPlayers()
you, nou = 1, 2
scrollX, scrollY = player[you].x - math.floor(scr_x / 2), player[you].x - math.floor(scr_y / 2)
gamename = ""
for i = 1, 32 do
gamename = gamename .. string.char(math.random(1,126))
@ -831,6 +830,8 @@ while true do
grid = initGrid
})
parallel.waitForAny(pleaseWait, networking)
scrollX = player[you].x - math.floor(scr_x / 2)
scrollY = player[you].y - math.floor(scr_y / 2)
startCountdown()
parallel.waitForAny(getInput, game, networking)
elseif decision == "help" then