[GOODIE] FreeCell Game

Pennell, David dpennell at quallaby.com
Mon Oct 25 13:13:59 UTC 1999


------_=_NextPart_000_01BF1EEA.CCF8974C
Content-Type: text/plain;
	charset="iso-8859-1"


A new Morphic based FreeCell game is attached.  Dan Ingall's supplied the 
cards and many enhancements.

FreeCell has only been tested in 2.6.  The only 2.6 dependency that comes
to mind is use of the new exception facility in one place.

PlayingCardMorph and PlayingCardDeck are fairly general and pluggable.  
I hope that others can use them to build other card games.

Comments, enhancements and bug-fixes are welcome.

pre-FreeCell.cs should be filed in first.  It contains a change
to allow collections to be shuffled with a user supplied Random,
a fix in SystemWindow to restore stepping when a window is expanded
and some factory methods to activate a Morph in a SystemWindow.

Enjoy,
-david


------_=_NextPart_000_01BF1EEA.CCF8974C
Content-Type: text/plain; name="FreeCell-dpdi.19991024-2214.cs"
 ; x-mac-type="65417070"
 ; x-mac-creator="43534F6D"
Content-Disposition: attachment; filename="FreeCell-dpdi.19991024-2214.cs"
Content-Transfer-Encoding: imap_stub

0,473,2,72087,0,

------_=_NextPart_000_01BF1EEA.CCF8974C
Content-Type: text/plain; name="pre-FreeCell.19991024-2213.cs"
 ; x-mac-type="65417070"
 ; x-mac-creator="43534F6D"
Content-Disposition: attachment; filename="pre-FreeCell.19991024-2213.cs"
Content-Transfer-Encoding: imap_stub

0,473,3,3211,0,

------_=_NextPart_000_01BF1EEA.CCF8974C--





More information about the Squeak-dev mailing list