diff --git a/tetris/modes/demon_mode.lua b/tetris/modes/demon_mode.lua index a26f156..15d6d5d 100644 --- a/tetris/modes/demon_mode.lua +++ b/tetris/modes/demon_mode.lua @@ -11,8 +11,8 @@ DemonModeGame.name = "Demon Mode" DemonModeGame.hash = "DemonMode" DemonModeGame.tagline = "Can you handle the ludicrous speed past level 20?" -DemonModeGame.arr = 1 -DemonModeGame.drop_speed = 1 + + function DemonModeGame:new() DemonModeGame.super:new() diff --git a/tetris/modes/interval_training.lua b/tetris/modes/interval_training.lua index b519144..ab8aed8 100644 --- a/tetris/modes/interval_training.lua +++ b/tetris/modes/interval_training.lua @@ -11,8 +11,8 @@ IntervalTrainingGame.name = "Interval Training" IntervalTrainingGame.hash = "IntervalTraining" IntervalTrainingGame.tagline = "Can you clear the time hurdles when the game goes this fast?" -IntervalTrainingGame.arr = 1 -IntervalTrainingGame.drop_speed = 1 + + function IntervalTrainingGame:new() IntervalTrainingGame.super:new() diff --git a/tetris/modes/ligne.lua b/tetris/modes/ligne.lua index a82a6d5..ab40da8 100644 --- a/tetris/modes/ligne.lua +++ b/tetris/modes/ligne.lua @@ -11,8 +11,8 @@ LigneGame.name = "Ligne" LigneGame.hash = "Ligne" LigneGame.tagline = "How fast can you clear 40 lines?" -LigneGame.arr = 1 -LigneGame.drop_speed = 1 + + function LigneGame:new() LigneGame.super:new() diff --git a/tetris/modes/marathon_a1.lua b/tetris/modes/marathon_a1.lua index dcb5895..146d189 100644 --- a/tetris/modes/marathon_a1.lua +++ b/tetris/modes/marathon_a1.lua @@ -11,8 +11,7 @@ MarathonA1Game.name = "Marathon A1" MarathonA1Game.hash = "MarathonA1" MarathonA1Game.tagline = "Can you score enough points to reach the title of Grand Master?" -MarathonA1Game.arr = 1 -function MarathonA1Game:getDropSpeed() return 0.2 end + function MarathonA1Game:new() MarathonA1Game.super:new() diff --git a/tetris/modes/marathon_a2.lua b/tetris/modes/marathon_a2.lua index 35c950c..4595e00 100644 --- a/tetris/modes/marathon_a2.lua +++ b/tetris/modes/marathon_a2.lua @@ -11,8 +11,8 @@ MarathonA2Game.name = "Marathon A2" MarathonA2Game.hash = "MarathonA2" MarathonA2Game.tagline = "The points don't matter! Can you reach the invisible roll?" -MarathonA2Game.arr = 1 -MarathonA2Game.drop_speed = 1 + + function MarathonA2Game:new() MarathonA2Game.super:new() diff --git a/tetris/modes/marathon_a3.lua b/tetris/modes/marathon_a3.lua index 3919447..8a53371 100644 --- a/tetris/modes/marathon_a3.lua +++ b/tetris/modes/marathon_a3.lua @@ -11,8 +11,8 @@ MarathonA3Game.name = "Marathon A3" MarathonA3Game.hash = "MarathonA3" MarathonA3Game.tagline = "The game gets faster way more quickly! Can you get all the Section COOLs?" -MarathonA3Game.arr = 1 -MarathonA3Game.drop_speed = 1 + + function MarathonA3Game:new() MarathonA3Game.super:new() diff --git a/tetris/modes/marathon_l1.lua b/tetris/modes/marathon_l1.lua index 42fa954..7defb90 100644 --- a/tetris/modes/marathon_l1.lua +++ b/tetris/modes/marathon_l1.lua @@ -11,8 +11,8 @@ MarathonL1Game.name = "Line Attack" MarathonL1Game.hash = "MarathonL1" MarathonL1Game.tagline = "Can you clear the time hurdles when the game goes this fast?" -MarathonL1Game.arr = 1 -MarathonL1Game.drop_speed = 1 + + function MarathonL1Game:new() MarathonL1Game.super:new() diff --git a/tetris/modes/pacer_test.lua b/tetris/modes/pacer_test.lua index 60be6b7..07ebb7d 100644 --- a/tetris/modes/pacer_test.lua +++ b/tetris/modes/pacer_test.lua @@ -11,8 +11,8 @@ PacerTest.name = "TetrisGramâ„¢ Pacer Test" PacerTest.hash = "PacerTest" PacerTest.tagline = "" -PacerTest.arr = 1 -PacerTest.drop_speed = 1 + + local function getLevelFrames(level) if level == 1 then return 72 * 60 / 8.0 diff --git a/tetris/modes/phantom_mania.lua b/tetris/modes/phantom_mania.lua index 7d067eb..e4c1700 100644 --- a/tetris/modes/phantom_mania.lua +++ b/tetris/modes/phantom_mania.lua @@ -11,8 +11,8 @@ PhantomManiaGame.name = "Phantom Mania" PhantomManiaGame.hash = "PhantomMania" PhantomManiaGame.tagline = "The blocks disappear as soon as they're locked! Can you remember where everything is?" -PhantomManiaGame.arr = 1 -PhantomManiaGame.drop_speed = 1 + + function PhantomManiaGame:new() PhantomManiaGame.super:new() diff --git a/tetris/modes/phantom_mania2.lua b/tetris/modes/phantom_mania2.lua index c48a2fd..4833b22 100644 --- a/tetris/modes/phantom_mania2.lua +++ b/tetris/modes/phantom_mania2.lua @@ -11,8 +11,8 @@ PhantomMania2Game.name = "Phantom Mania 2" PhantomMania2Game.hash = "PhantomMania2" PhantomMania2Game.tagline = "The blocks disappear even faster now! Can you make it to level 1300?" -PhantomMania2Game.arr = 1 -PhantomMania2Game.drop_speed = 1 + + function PhantomMania2Game:new() PhantomMania2Game.super:new() diff --git a/tetris/modes/phantom_mania_n.lua b/tetris/modes/phantom_mania_n.lua index 6dd9cc7..8603306 100644 --- a/tetris/modes/phantom_mania_n.lua +++ b/tetris/modes/phantom_mania_n.lua @@ -11,8 +11,8 @@ PhantomManiaGame.name = "Phantom Mania N" PhantomManiaGame.hash = "PhantomManiaN" PhantomManiaGame.tagline = "The old mode from Nullpomino." -PhantomManiaGame.arr = 1 -PhantomManiaGame.drop_speed = 1 + + function PhantomManiaGame:new() PhantomManiaGame.super:new() diff --git a/tetris/modes/strategy.lua b/tetris/modes/strategy.lua index 1d87cca..70578b7 100644 --- a/tetris/modes/strategy.lua +++ b/tetris/modes/strategy.lua @@ -11,8 +11,8 @@ StrategyGame.name = "Strategy" StrategyGame.hash = "Strategy" StrategyGame.tagline = "You have lots of time to think! Can you use it to place a piece fast?" -StrategyGame.arr = 1 -StrategyGame.drop_speed = 1 + + function StrategyGame:new() StrategyGame.super:new() diff --git a/tetris/modes/survival_2020.lua b/tetris/modes/survival_2020.lua index 5c44381..42c4098 100644 --- a/tetris/modes/survival_2020.lua +++ b/tetris/modes/survival_2020.lua @@ -11,8 +11,8 @@ Survival2020Game.name = "Survival 2020" Survival2020Game.hash = "Survival2020" Survival2020Game.tagline = "A new time limit on the blocks! Can you handle being forced to perform under the total delay?" -Survival2020Game.arr = 1 -Survival2020Game.drop_speed = 1 + + function Survival2020Game:new() Survival2020Game.super:new() diff --git a/tetris/modes/survival_a1.lua b/tetris/modes/survival_a1.lua index 840842a..5422f23 100644 --- a/tetris/modes/survival_a1.lua +++ b/tetris/modes/survival_a1.lua @@ -11,8 +11,8 @@ SurvivalA1Game.name = "Survival A1" SurvivalA1Game.hash = "SurvivalA1" SurvivalA1Game.tagline = "The game starts fast and only gets faster!" -SurvivalA1Game.arr = 1 -SurvivalA1Game.drop_speed = 1 + + function SurvivalA1Game:new() SurvivalA1Game.super:new() diff --git a/tetris/modes/survival_a2.lua b/tetris/modes/survival_a2.lua index d8553d0..881c88d 100644 --- a/tetris/modes/survival_a2.lua +++ b/tetris/modes/survival_a2.lua @@ -11,8 +11,8 @@ SurvivalA2Game.name = "Survival A2" SurvivalA2Game.hash = "SurvivalA2" SurvivalA2Game.tagline = "The game starts fast and only gets faster!" -SurvivalA2Game.arr = 1 -SurvivalA2Game.drop_speed = 1 + + function SurvivalA2Game:new() SurvivalA2Game.super:new() diff --git a/tetris/modes/survival_a3.lua b/tetris/modes/survival_a3.lua index 7d9db12..be28d64 100644 --- a/tetris/modes/survival_a3.lua +++ b/tetris/modes/survival_a3.lua @@ -11,8 +11,8 @@ SurvivalA3Game.name = "Survival A3" SurvivalA3Game.hash = "SurvivalA3" SurvivalA3Game.tagline = "The blocks turn black and white! Can you make it to level 1300?" -SurvivalA3Game.arr = 1 -SurvivalA3Game.drop_speed = 1 + + function SurvivalA3Game:new() SurvivalA3Game.super:new()