πŸŽƒ bLockerman's Minesweeper πŸŽƒ
778 Views
6.0k Executions

solver + auto flag | open source

bLockerman's Minesweeper
Tovar
TovarFirst script
1 month ago Β· Updated

Reviewed by QueueSherlockPaid revieweron How review works

Please login to perform these actions:

solver + auto flag | open source is a bLockerman's Minesweeper script for Roblox, uploaded to ScriptBlox on Nov 11, 2026. Reviewed by a person on Nov 12, 2026.

Does it work?

No reports yet

No reports yet. Tried it? Be the first to say.

Also noticed:

Description

idk, simple solver and auto flag

Updates

  1. Script edited: Update script

View Raw
local function solve(clues)
    local known = {}
    local changed = true
    while changed do
        changed = false
        local residuals, byTile = {}, {}
        for _, clue in ipairs(clues) do
            local need, remaining = clue.count, {}
            for _, id in ipairs(clue.ids) do
                if known[id] == nil then
                    remaining[id] = true
                else
                    need -= known[id]
                end
            end
            local count = 0
            for _ in pairs(remaining) do count += 1 end
            if need < 0 or need > count then return {}, false end
            if count > 0 and (need == 0 or need == count) then
                local value = if need == 0 then 0 else 1
                for id in pairs(remaining) do known[id] = value end
                changed = true
            elseif count > 0 then
                local residual = {ids = remaining, count = count, need = need}
                table.insert(residuals, residual)
                for id in pairs(remaining) do
                    byTile[id] = byTile[id] or {}
                    table.insert(byTile[id], residual)
                end
            end
        end

        if not changed then
            for _, small in ipairs(residuals) do
                local first = next(small.ids)
                for _, large in ipairs(byTile[first]) do
                    if small == large or small.count > large.count then continue end
                    local subset = true
                    for id in pairs(small.ids) do
                        if not large.ids[id] then


Comments

8
Log in to join the conversation. Login
6day13's profile picture
6day132 weeks ago

Ehe

1
6day13's profile picture
6day132 weeks ago

Π·Π°Π½ΠΈΠΌΠ°Π΅Ρ‚ мСсто Π½Π° экранС

1
6day13's profile picture
6day132 weeks ago

Ahhhhhhh

1
Tovar's profile picture
TovarUploader2 weeks ago

@6day13 я сосал!!!!

1
6day13's profile picture
6day132 weeks ago

@Tovar Мой сцСнарий Π½Π΅ ΠΏΡ€ΠΎΡ…ΠΎΠ΄ΠΈΡ‚ ΠΏΡ€ΠΎΠ²Π΅Ρ€ΠΊΡƒ.

1
Tovar's profile picture
TovarUploader2 weeks ago

@6day13 Π½Ρƒ Π»Π°Π΄Π½ΠΎ

1
6day13's profile picture
6day132 weeks ago

@Tovar ehe

2
6day13's profile picture
6day132 weeks ago

@Tovar yeyes

1