Changes between Version 3 and Version 4 of WikiStart


Ignore:
Timestamp:
Dec 17, 2005, 5:38:45 AM (14 years ago)
Author:
jtv
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • WikiStart

    v3 v4  
    1010
    1111Believe it or not, there were still reasons to write a new Minesweeper.  Some of these were:
    12  * Clean separation of user interface and game logic.  This project is currently all about the game logic.  Others write better user interfaces than I can!
    13  * Different rules.  Viewing the game logic separately from presentation allows for variations on the game.  For instance, most Minesweeper games won't ever reveal mines--all you can do is set little flags to remind you where you deduce the mines must be.  That's different here, if your user interface will support it.  Also, the library can reveal the safe squares around the minefield right away to help get you started.  Most other versions of the game let you gamble and die a few times before you get a decent start!
    14  * Intelligence.  "Normal" Minesweeper games will help you a bit if you hit a square with no nearby mines: they will automatically reveal the neighbouring squares, and if any of those is also near 0 mines, that square's neighbours are also revealed and so on.  This still leaves a lot of squares that are "obviously safe" to me, but need to be clicked anyway.  This is where I usually make most of my mistakes.  Instead, this library has multiple levels of intelligence.
    15  * Keep the brain working.  With smarter "auto-completion" of the game, the player is left with the interesting problems--the little puzzles that make the game fun.  Now you can tackle much larger minefields at higher difficulty levels, without wasting time on the easy parts.
     12 * Clean separation of user interface and game logic.  This project is currently all about the game logic.  Others write better user interfaces than I can, so why not let them?
     13 * Different rules.  Viewing the game logic separately from presentation allows for variations on the game.  For instance, most Minesweeper games won't ever reveal mines--all you can do is set little flags to remind you where you deduce the mines must be.  That's different here, if your user interface will support it.  Also, the library can reveal the safe squares around the edge of the minefield right away to help get you started.  Most other versions of the game let you gamble and die a few times before you get a decent start!
     14 * Intelligence.  "Normal" Minesweeper games will help you a bit if you hit a square with no nearby mines: they will automatically reveal the neighbouring squares, and if any of those is also near 0 mines, that square's neighbours are also revealed and so on.  This still leaves a lot of squares that are "obviously safe" to me, but need to be clicked anyway.  This is where I usually make most of my mistakes.  Instead, this library has multiple levels of intelligence for automatically revealing squares.
     15 * Keep your brain working.  With smarter "auto-completion" of the game, the player is left with the interesting problems--the little puzzles that make the game fun.  Now you can tackle much larger minefields at higher difficulty levels, without wasting time on the easy parts.  It's okay to be addicted to puzzle games, as long as they keep exercising your mind.  A regular Minesweeper game turns into drudgery after a while.
     16 * Large-scale games.  Once the mindless clicking has been eliminated, there's no real reason why we can't play on huge playing fields with lots of mines.  Games can be saved and restored, so take your time!
    1617
    1718== Getting the Source ==