cambridge/tetris/modes/big_a2.lua

22 lines
566 B
Lua
Raw Normal View History

2021-03-08 19:59:51 -06:00
local MarathonA2Game = require 'tetris.modes.marathon_a2'
2020-10-05 10:11:46 -05:00
2021-03-08 19:59:51 -06:00
local BigA2Game = MarathonA2Game:extend()
2020-10-05 10:11:46 -05:00
2021-03-08 19:59:51 -06:00
BigA2Game.name = "Big A2"
BigA2Game.hash = "BigA2"
BigA2Game.tagline = "Big blocks in the most celebrated TGM mode!"
2020-10-05 10:11:46 -05:00
2021-03-08 19:59:51 -06:00
function BigA2Game:new()
MarathonA2Game:new()
self.big_mode = true
2020-10-05 10:11:46 -05:00
end
2021-03-08 19:59:51 -06:00
function BigA2Game:onLineClear(cleared_row_count)
return MarathonA2Game:onLineClear(cleared_row_count / 2)
2020-10-05 10:11:46 -05:00
end
2021-03-08 19:59:51 -06:00
function BigA2Game:updateScore(level, drop_bonus, cleared_lines)
return MarathonA2Game:updateScore(level, drop_bonus, cleared_lines / 2)
2020-10-05 10:11:46 -05:00
end
2021-03-08 19:59:51 -06:00
return BigA2Game