Skip to content

ArduboyCollection/minesweeper

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code
This branch is up to date with jbellue/minesweeper:master.

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 

Ardusweeper (let's call this version 1.0)

in-game screen won screen

A simple minesweeper for arduboy.

  • A grid of 15 * 9,
  • Three levels of difficulty: easy (15 mines), medium (25) and hard (35),
  • Awesome old-school mutable sound effects (because I can't do sound design),
  • Vastly uncommented code (because apparently, I can't really code),
  • Incredible art!
  • Fast mode!
    • Flagging an open tile will click all non-flagged surrounding tiles. It's faster, it's also deadlier. If you're scared, you can deactivate it in the menu.
  • Best times saved on the EEPROM, yay!
    • Press LEFT or RIGHT on the main menu to see them. In there, press both UP and DOWN to erase them.

Controls

  • Move with the D-Pad
  • Left button opens a tile
  • Right button flags a tile
  • A and B validate in the menus

technical stuff

Each tile is represented by a byte:

00000000
1....... tile has a mine
.1...... tile has been opened
..1..... tile has been flagged
...x.... unused, waste of valuable space
....1111 number of surrounding mines (0 to 8)

What's new

Reverted to latest released version of the library.

###TODO

  • Comments. Comments, comments, and comments.
  • Maybe get some kind of debug mode?
  • Better README (not gonna happen)
  • Diagonals?

Note: great thanks to http://fuopy.github.io/arduboy-image-converter/

About

I'm bored, and I have an arduboy. Yay!

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 69.4%
  • C 30.6%