Updated Race 40 randomiser to use 7-bag no SZO start

This commit is contained in:
Oshisaure 2020-10-10 23:07:12 +01:00
parent ecd958bdc5
commit f28dc08ae2

View File

@ -3,7 +3,7 @@ require 'funcs'
local GameMode = require 'tetris.modes.gamemode' local GameMode = require 'tetris.modes.gamemode'
local Piece = require 'tetris.components.piece' local Piece = require 'tetris.components.piece'
local History6RollsRandomizer = require 'tetris.randomizers.history_6rolls' local Bag7Randomiser = require 'tetris.randomizers.bag7noSZOstart'
local Race40Game = GameMode:extend() local Race40Game = GameMode:extend()
@ -18,7 +18,7 @@ function Race40Game:new()
self.lines = 0 self.lines = 0
self.line_goal = 40 self.line_goal = 40
self.pieces = 0 self.pieces = 0
self.randomizer = History6RollsRandomizer() self.randomizer = Bag7Randomiser()
self.roll_frames = 0 self.roll_frames = 0