D16176: Add new solitaire game ‘Midnight’

Karl Ove Hufthammer noreply at phabricator.kde.org
Sat Oct 13 11:04:59 BST 2018


huftis created this revision.
Herald added a reviewer: KDE Games.
Herald added a subscriber: kde-games-devel.
huftis requested review of this revision.

REVISION SUMMARY
  The game is based on an old Windows solitaire game called
  ‘Midnight Sunitaire’. There are four difficulties, ‘easy’,
  ‘medium’, ‘hard’ and ‘extreme’, with easy being the default.
  
  For the ‘hard’ difficulty, the game seems to be identical to the
  solitaire game Geoffrey. The ‘extreme’ difficulty is usually
  not solvable – and doesn’t really involve much strategy
  (but the others do).
  
  The rules are: A card (perhaps with other cards on top of it) can
  be moved to a card if it is 1) face up, 2) of the same suit as
  the destination card and 3) one lower in value. For example, you
  can put a 5 of hearts on a 6 of hearts. The suits and values on top
  of the card you’re moving don’t matter. Only kings can be placed
  on empty piles. The goal is to build up ascending ‘real families’
  on the four foundation piles.
  
  A solver is not implemented.

REPOSITORY
  R410 KPatience

BRANCH
  add-midnight-variant (branched from master)

REVISION DETAIL
  https://phabricator.kde.org/D16176

AFFECTED FILES
  CMakeLists.txt
  dealerinfo.h
  kpat.kcfg
  main.cpp
  midnight.cpp
  midnight.h
  previews/23.png
  previews/CMakeLists.txt
  version.h

To: huftis, #kde_games
Cc: kde-games-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-games-devel/attachments/20181013/3a3f2c21/attachment-0001.html>


More information about the kde-games-devel mailing list