Skip to content

Samuels-Development/sd-simonsays

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

sd-simonsays

This resource introduces a Simon Says minigame. Players must memorize and repeat a sequence of illuminated tiles, with the sequence increasing in length each round.

Feel free to star the repository and check out my store and discord @ Discord: https://discord.gg/FzPehMQaBQ & Store: https://fivem.samueldev.shop For support inquiries, please create a post in the support-forum channel on discord or create an issue here on Github.

Preview

FiveM_b2944_GTAProcess_r6PlRoRTOT

Video Preview

FiveM_b2944_GTAProcess_08b3CemOuy.mp4

(The Minigame does make sound, the video simply isn't capturing my computers sounds)

Installation

  1. Clone or download this resource.
  2. Place it in the server's resource directory.
  3. Add the resource to your server config.

Usage

  • OpenSimonSays(gridSize, repetitions)
    • gridSize: Size of the game grid (e.g., 4 for a 4x4 grid). (3 is the minimum, 7 is the maximum
    • repetitions: Number of sequences the player must correctly repeat to win. (ex. 4)

Exports

Exclusively available on the client side.

StartSimonSays: Initiates the Simon Says game with specified parameters.

Example Usage

RegisterCommand('testSimon', function()
    exports['sd-simonsays']:StartSimonSays(function(success)
        if success then 
            print("Success")
        else
            print("Failed")
        end
    end, 4, 3)
end)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors