Skip to content
Branch: master
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
Clock.cs
MineCounter.cs
MinefieldTile.cs
OptionButton.cs
PlayfieldGenerator.cs
README.md
StyleButton.cs

README.md

Minesweeper

Minesweeper

By Demi Azela (formerly known as Mike Damion) Joseph, Game Development class GD3B at Mediacollege Amsterdam.

This Folder contains the code I wrote to recreate the classic game Minesweeper.

---Description---

The game consists of a minefield, a restart button (smiley), a timer and a counter.
The minefield consists of tiles containing mines, and empty tiles, often numbered to indicate the amount of adjecent mine tiles.
The counter (3 numbers on the left) keeps track of how many mines you still need to dismantle (given that you placed your flags on top op mines).
The timer (3 numbers on the right) keeps track of how long you have been playing (in seconds).
You can explore the minefield by clicking on a tile, but if you click on a tile that hides a mine, you lose.
You can mark a mine (place a flag on top) by right-clicking on a tile, and remove the placed flags by right-clicking on them a second time.
You win if all the mines are marked with a flag, and no other tiles have flags on them.
You can restart the game at any moment by clicking on the button with the smiley.

---End of Description---

A link to my portfolio page about the game can be found at [http://www.demijoseph.nl/minesweeper]
A link to a playable version can be found here: [http://www.demijoseph.nl/work/minesweeper/game]

Changelog:

V2.0:

--------

Changes:

- The "Theme" feature has finally been implemented, along with 2 new themes, enabling you to choose from 3 themes using the new buttons at the right side of the minefield

To Do:

- Add 'advanced' customization.

That's it for a while, except for maybe adding new themes, I won't be updating the game until the end of October 2018 (or later).
--------

V2.0.2 HOTFIX:

--------

Bug Fixes:

- The 200 mines field can now be played without risk of crashing. --------

V2.0.1 HOTFIX:

--------

Changes:

- Flags can no longer be placed before the first turn.

Bug Fixes:

- Flags are now properly counted. - The player can no longer click cells after the game has ended.

Known Bugs

- Clicking on a mine on the 200 mines field causes the game to crash. --------

V2.0:

--------

Changes:

- Code has been rewritten and is now more practical.
- An easter egg has been added ☺.

Known Bugs:

- Flags are not counted properly after restarting game, making it impossible to win.
- The player can still click cells after winning or losing.

To Do:

- Add themes.
- Add 'advanced' customization.
--------

V1.1.2 HOTFIX:

--------

Bug Fixes:

- Fixed unfairly easy win condition, it is no longer possible to win by just placing enough flags.
--------

V1.1.1 HOTFIX:

--------

Bug Fixes:

- Fixed changes that caused mines to be unclickable.
--------

V1.1:

--------

Changes:

- Added signature and version number.
- Added setup buttons for more gameplay variety (currently has 9 setups and starts on Easy-Large).
- Added summaries and comments to the code.

Bug Fixes:

- Assumed mine counter now properly displays negative numbers.

Known Bugs:

-

To Do:

- Add themes.
- Add 'advanced' customization.
--------

V1.0:

--------

Known Bugs:

- negative count between 0 and -9 is displayed as "0-x" instead of " -x".

To Do:

- Fix display bug with negative counting.
- Add Summaries and comments to code.
- Cleanup eventual mess in code.
- Add Customisation.
--------
You can’t perform that action at this time.