diff --git a/tetris/randomizers/always.lua b/tetris/randomizers/always.lua index 456ef0d..44737ef 100644 --- a/tetris/randomizers/always.lua +++ b/tetris/randomizers/always.lua @@ -2,17 +2,8 @@ local Randomizer = require 'tetris.randomizers.randomizer' local AlwaysRandomizer = Randomizer:extend() -function AlwaysRandomizer:new(piece) - self.piece = piece - self:initialize() - self.next_queue = {} - for i = 1, 30 do - table.insert(self.next_queue, self:generatePiece()) - end -end - function AlwaysRandomizer:generatePiece() - return self.piece + return "I" end return AlwaysRandomizer