cambridge/tetris/modes/big_a2.lua

19 lines
507 B
Lua
Raw Normal View History

local GameMode = require 'tetris.modes.gamemode'
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()
BigA2Game.super:new()
self.big_mode = true
2023-07-27 05:00:48 -05:00
local getClearedRowCount = self.grid.getClearedRowCount
self.grid.getClearedRowCount = function(self)
return getClearedRowCount(self) / 2
end
2020-10-05 10:11:46 -05:00
end
2021-03-08 19:59:51 -06:00
return BigA2Game