Ruleset and randomizer refactoring (Read comments)

You can now specify an arbitrary number of pieces for a ruleset.
The randomizers will adjust accordingly.
Expect a pento ruleset in the modpack soon!
Also, gamemode skin selection has been refactored.
This commit is contained in:
Ishaan Bhardwaj
2021-01-06 22:53:44 -05:00
parent ced40297cc
commit 1fdd091456
5 changed files with 54 additions and 12 deletions

View File

@@ -3,6 +3,7 @@ local Object = require 'libs.classic'
local Randomizer = Object:extend()
function Randomizer:new()
self.possible_pieces = 7
self:initialize()
end