Skip to content

pushkart2/memorygame

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

memorygame

Memory game like NoPixel for any framework Inspired by - https://codepen.io/torbenxxx/pen/MWJBzWP

Join My Discord - https://discord.gg/VGYkkAYVv2

Usage

Put the folder in your resources and start in resources.cfg ensure memorygame

How to use export

    -- correctBlocks = Number of correct blocks the player needs to click
    -- incorrectBlocks = number of incorrect blocks after which the game will fail
    -- timetoShow = time in secs for which the right blocks will be shown
    -- timetoLose = maximum time after timetoshow expires for player to select the right blocks
 exports["memorygame"]:thermiteminigame(10, 3, 3, 10,
    function() -- success
        print("success")
    end,
    function() -- failure
        print("failure")
    end)