Got bored, so wrote a little Patience card game tonight. Tested some
of the freeware DLL's available, like QCARD.DLL, etc, but didn't like
their size, among other things, so did it my way instead.
Used RLE compressed bitmaps for the cards/card backs in resource. Works
fine in Win95/98, but have heard of trouble in NT. So, before I post the
code for this one, I have zipped up the exe only, and was wondering if
someone with NT/Win2000 could download and test it? Anyone is of course
welcome to download and test, but mostly intrerested in how/if it works
in NT/2K.
Address: http://www.tolken99.com/pb/pbcards.zip (45 KB)
Using RLE instead of BMP in resource took down size from 240 to 130KB,
this being total, stand-alone program size. Do I love PB..?
The game is simple, just click on matching pairs to place them in discard
pile and fill up board by clicking on deck. Think this patience goes under
the name "the idiot", which sort of feels very suitable in my case..
Options dialog included, where you can change card backs and a few other
things. Setting are stored in ini file, in program's folder. No "Las Vegas"
mode implemented yet, but will add some clever point system to it later on.
This is first, crappy attempt to write a card game. So much fun to do it,
I'll probably write many more in a near future..
------------------
of the freeware DLL's available, like QCARD.DLL, etc, but didn't like
their size, among other things, so did it my way instead.
Used RLE compressed bitmaps for the cards/card backs in resource. Works
fine in Win95/98, but have heard of trouble in NT. So, before I post the
code for this one, I have zipped up the exe only, and was wondering if
someone with NT/Win2000 could download and test it? Anyone is of course
welcome to download and test, but mostly intrerested in how/if it works
in NT/2K.
Address: http://www.tolken99.com/pb/pbcards.zip (45 KB)
Using RLE instead of BMP in resource took down size from 240 to 130KB,
this being total, stand-alone program size. Do I love PB..?
The game is simple, just click on matching pairs to place them in discard
pile and fill up board by clicking on deck. Think this patience goes under
the name "the idiot", which sort of feels very suitable in my case..
Options dialog included, where you can change card backs and a few other
things. Setting are stored in ini file, in program's folder. No "Las Vegas"
mode implemented yet, but will add some clever point system to it later on.
This is first, crappy attempt to write a card game. So much fun to do it,
I'll probably write many more in a near future..

------------------
Comment