/rs-samegame

Click on matching groups of blocks to eliminate within given time.

Primary LanguageJavaScript

rs-samegame

Click on matching groups of blocks to eliminate within given time.

Usage

    exports['rs-samegame']:startGame({
        time = 25, -- Time Span to complete game
        rows = 6, -- No of block in row
        cols = 6, -- No of block in column
        header = 'REMOVE BLOCKS', -- Custom Header
        instructions = nil, -- Custom Instruction below header
    }, function(callbackData) -- Game callback
        print(json.encode(callbackData))
    end)

Callback Data

Outome , RedBlock Left, WhiteBlock Left, YellowBlock Left

Showcase :

image

Credits : @MaximilianAdF