mirror of
https://github.com/LDDestroier/CC/
synced 2025-05-30 02:14:06 +00:00
Update tron
This commit is contained in:
parent
93430ea139
commit
9cf44d6bf3
3
tron
3
tron
@ -817,7 +817,6 @@ while true do
|
|||||||
grid = deepCopy(initGrid)
|
grid = deepCopy(initGrid)
|
||||||
resetPlayers()
|
resetPlayers()
|
||||||
you, nou = 1, 2
|
you, nou = 1, 2
|
||||||
scrollX, scrollY = player[you].x - math.floor(scr_x / 2), player[you].x - math.floor(scr_y / 2)
|
|
||||||
gamename = ""
|
gamename = ""
|
||||||
for i = 1, 32 do
|
for i = 1, 32 do
|
||||||
gamename = gamename .. string.char(math.random(1,126))
|
gamename = gamename .. string.char(math.random(1,126))
|
||||||
@ -831,6 +830,8 @@ while true do
|
|||||||
grid = initGrid
|
grid = initGrid
|
||||||
})
|
})
|
||||||
parallel.waitForAny(pleaseWait, networking)
|
parallel.waitForAny(pleaseWait, networking)
|
||||||
|
scrollX = player[you].x - math.floor(scr_x / 2)
|
||||||
|
scrollY = player[you].y - math.floor(scr_y / 2)
|
||||||
startCountdown()
|
startCountdown()
|
||||||
parallel.waitForAny(getInput, game, networking)
|
parallel.waitForAny(getInput, game, networking)
|
||||||
elseif decision == "help" then
|
elseif decision == "help" then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user