1
0
mirror of https://github.com/LDDestroier/CC/ synced 2024-11-12 13:00:01 +00:00

Reduced game over duration

This commit is contained in:
LDDestroier 2020-03-29 22:32:06 -04:00 committed by GitHub
parent 4674858294
commit eecfe5ec0c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -744,16 +744,16 @@ local gameOver = function(player, cPlayer)
local waitTime
if cPlayer.lines == 0 then
mino = makeNewMino("eatmyass", player.board, 12, 3 + game.boardOverflow)
waitTime = 130
waitTime = 70
elseif cPlayer.lines <= 5 then
mino = makeNewMino("yousuck", player.board, 12, 3 + game.boardOverflow)
waitTime = 100
waitTime = 60
elseif cPlayer.lines == 69 or cPlayer.lines == 690 then
mino = makeNewMino("nice", player.board, 12, 3 + game.boardOverflow)
waitTime = 80
waitTime = 50
else
mino = makeNewMino("gameover", player.board, 12, 3 + game.boardOverflow)
waitTime = 90
waitTime = 70
end
local color = 0
for i = 1, waitTime do