DD Sudoku

DD Sudoku


Description

Just enjoy your waiting times during RP downtimes with small math quizzes!

With DD Sudoku, you bring a fully-featured Sudoku experience directly into RedM - perfect for saloons, waiting rooms, camps, train rides, or any moment where players want a small activity during downtime. The script includes procedural puzzle generation, real-time validation, a hint system, and server-side verification, all wrapped in a clean and responsive UI.

It’s lightweight, easy to configure, and built to work across multiple frameworks - whether you want a simple /sudoku command or fully item-based usage with fixed daily seeds.


:sparkles: Features:

  • Interactive Sudoku UI with smooth and readable layout

  • Procedural Puzzle Generation with 3 difficulties:

    • Easy
    • Medium
    • Hard
  • Shared puzzle seeds so players can solve the same Sudoku with friends

  • Real-time Validation with error highlighting

  • Hint System to reveal a random correct cell

  • Built-in Timer to track solve time

  • Undo / Reset functionality

  • Server-side Solution Verification

  • Multi-framework Support

  • Responsive UI for different screen sizes


:hammer_and_wrench: Customization:

  • Configure everything via config.lua

  • Define multiple Sudoku items with different behaviors (Config.Items)

  • Set fixed seeds for daily/weekly server-wide puzzles

  • Control whether players can start a new puzzle from the UI

  • Use custom stateKey values to share or separate progress between items

  • Start Sudoku via:

    • Inventory item
    • Command (/sudoku)
    • External events (server/client)

:light_bulb: Use Cases:

  • RP Downtime Activity: give players a fun mini-game while waiting
  • Daily Challenges: use fixed seeds for shared “daily Sudoku” puzzles
  • Event Rewards / Tickets: trigger Sudoku with custom item metadata
  • Social Hubs: let players compare solve times in saloons or camps
  • Framework Integrations: open Sudoku from your own scripts via events

:package: What’s included:

  • Full DD Sudoku script
  • SQL file (dd_sudoku.sql) for database setup
  • Configurable item/command/event-based usage
  • Procedural generator + validation + server verification
  • Setup & usage documentation

:puzzle_piece: Commands & Usage Highlights

  • /sudoku → opens the last puzzle or creates a random one
  • /sudoku medium 7335 → creates a puzzle with a fixed seed (great for shared challenges)
  • /sudoku easy 12312 false → creates a puzzle where the player cannot generate a new one in the UI

Players can then:

  • Click cells and enter numbers (1–9)
  • Use Hint, Undo, Reset
  • Submit the puzzle for server-side verification
  • Close anytime via ESC or the close button

:electric_plug: External Event Support

DD Sudoku can also be triggered from other resources:

  • Server-side (recommended for targeting players)
    dd_sudoku:startSudokuForPlayer
  • Client-side (local player)
    dd_sudoku:startSudoku

This makes it easy to build custom item systems, rewards, or puzzle events around the script.


Buy here [Tebex]

Code is accessible Partially
Subscription-based No
Lines (approximately) 3000
Requirements None
Support Yes
2 Likes