Skip to content

NexusifyAPI/Minesweeper-BDFD

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Minesweeper — BDFD

A 5×5 Minesweeper game for Discord bots built with Bot Designer For Discord (BDFD) using Components V2. Features 5 difficulty levels, flag mode, automatic flood-fill reveal of empty cells, dynamic color states, and 6 language localizations (Spanish, English, German, Italian, Portuguese, French).

The Italian version is themed as "Prato Fiorito" (flower field) — bombs are replaced with flowers (🌸), as is traditional in Italy.

Variables to create in BDFD

Before installing the commands, create this variable in your BDFD dashboard (Variables section):

Name Default value
ms_state (leave empty)

The variable stores the full game state per user in the format bombs|revealed|flags|status|gameID|diff|fm.

Available languages

Each language folder contains a localized setup guide and the three command files (main command + two interaction callbacks).

Language Folder Setup guide
Español Español/ LEEME.md
English English/ README.md
Deutsch Deutsch/ LIESMICH.md
Italiano Italiano/ LEGGIMI.md
Português Português/ LEIAME.md
Français Français/ LISEZMOI.md

Features

  • 5×5 grid with 5 difficulty levels (Easy=2 bombs, Medium=4, Normal=6, Hard=10, Expert=15)
  • Flag mode: toggle between revealing cells and placing flags
  • Automatic flood-fill: empty cells (0 adjacent bombs) auto-reveal their neighbors in cascade
  • Dynamic container color: blue = playing, green = won, red = lost / quit
  • Per-user state: stored in the ms_state Global-User variable
  • Game ID system: each game gets a unique ID; stale button clicks from previous games are rejected
  • 6 languages: Spanish, English, German, Italian (themed as Prato Fiorito), Portuguese, French

Game rules

Click a cell to reveal it. The number shown is how many bombs are adjacent (in the 8 surrounding cells). If you reveal a bomb, you lose. Reveal all safe cells to win. Use flag mode to mark cells you suspect contain bombs.

Trigger commands by language

Language Trigger
Español !buscaminas
English !minesweeper
Deutsch !minesweeper
Italiano !pratofiorito
Português !campominado
Français !demineur

About

5x5 Minesweeper game for Discord bots built with Bot Designer For Discord (BDFD) using Components V2. 5 difficulty levels, flag mode, flood-fill, 6 languages (ES/EN/DE/IT/PT/FR).

Topics

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors