Skip to content

BodhiProtocol/minesweeper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

6 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿ’ฃ Minesweeper

Think. Flag. Survive. โ€” A classic Minesweeper game with Kids & Adult modes, built as a single zero-dependency HTML file.

Play Now View Repo License: MIT


๐ŸŽฎ Game Modes

Mode Grid Mines Cell Size Audience
๐Ÿง’ Kids 8 ร— 8 8 Large (44px) Ages 6โ€“10
๐Ÿง  Adult 16 ร— 16 40 Classic (28px) All ages

โœจ Features

  • First click always safe โ€” mines generate after your first click, guaranteed safe zone
  • Flood fill โ€” clicking an empty cell opens the whole connected region instantly
  • Right-click / long-press to place or remove flags ๐Ÿšฉ
  • Live timer & mine counter in the HUD
  • Smiley button resets the board at any time (๐Ÿ˜Š โ†’ ๐Ÿ˜Ž win / ๐Ÿ˜ต loss)
  • Dark mode โ€” respects system preference automatically
  • Mobile-friendly โ€” long-press to flag on touch screens
  • Zero dependencies ยท Works offline ยท Single HTML file

๐Ÿš€ Play

Open directly in any browser โ€” no server needed:

index.html

Or play online: bodhiprotocol.github.io/minesweeper

๐Ÿ›  How to Run Locally

git clone https://github.com/BodhiProtocol/minesweeper.git
cd minesweeper
# Open index.html in your browser โ€” that's it

๐Ÿ“ Project Structure

minesweeper/
โ”œโ”€โ”€ index.html          # The entire game (HTML + CSS + JS)
โ”œโ”€โ”€ assets/
โ”‚   โ””โ”€โ”€ preview.svg     # Social preview image (1200ร—630)
โ””โ”€โ”€ .github/
    โ”œโ”€โ”€ PULL_REQUEST_TEMPLATE.md
    โ””โ”€โ”€ ISSUE_TEMPLATE/
        โ”œโ”€โ”€ bug_report.md
        โ””โ”€โ”€ feature_request.md

๐Ÿค Contributing

See CONTRIBUTING.md for guidelines.


Built with โค๏ธ by BodhiProtocol ยท Powered by Claude AI

About

๐Ÿ’ฃ Classic Minesweeper with Kids & Adult modes โ€” Think. Flag. Survive.

Topics

Resources

License

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Packages

 
 
 

Contributors