mirror of
https://github.com/SashLilac/cambridge.git
synced 2024-11-22 06:59:03 -06:00
19 lines
507 B
Lua
Executable File
19 lines
507 B
Lua
Executable File
local GameMode = require 'tetris.modes.gamemode'
|
|
local MarathonA2Game = require 'tetris.modes.marathon_a2'
|
|
|
|
local BigA2Game = MarathonA2Game:extend()
|
|
|
|
BigA2Game.name = "Big A2"
|
|
BigA2Game.hash = "BigA2"
|
|
BigA2Game.tagline = "Big blocks in the most celebrated TGM mode!"
|
|
|
|
function BigA2Game:new()
|
|
BigA2Game.super:new()
|
|
self.big_mode = true
|
|
local getClearedRowCount = self.grid.getClearedRowCount
|
|
self.grid.getClearedRowCount = function(self)
|
|
return getClearedRowCount(self) / 2
|
|
end
|
|
end
|
|
|
|
return BigA2Game |