home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PSION CD 2
/
PsionCDVol2.iso
/
Programs
/
265
/
PYRAMID.TXT
< prev
next >
Wrap
Text File
|
1998-08-11
|
3KB
|
63 lines
Pyramid 1.1
This classic card game for the Psion Series 5 has
been written in C++ by Fred Bouvry in 1997-1998.
(mailto:fred@palmtime.com http://www.palmtime.com)
Pyramid is Public Domain, that means:
-You may do whatever you want with it. No copyright !
-I'm not responsible for any damage this program could cause to your palmtop or yourself.
Notes:
-Official Pyramid App UID is 0x1000055D
Install procedure:
------------------
The 5 distributed files are PYRAMID.APP, PYRAMID.AIF, PYRAMID.RSC
CARDS.MBM and PYRAMID.TXT
1) Make sure you can see the System folder on the Psion by using the check box
in the System menu -> Tools -> Preferences -> Show 'System' folder.
2) Create a new folder called 'Pyramid' under C:\System\Apps thus C:\System\Apps\Pyramid.
You can also put it on a compact card, just replace 'C:' by 'D:' in the paths above.
3) Copy all the files from the distribution to this folder with PsiWin.
4) Now you should see the Pyramid Icon in the Extra Toolbar.
Thanks to Andrian Harper for his 'PDA Online' web site http://ady.net
where he maintains a 'Software Requests' list in which I saw the Pyramid game
requested by William Miller.
Thanks to 'oxymoron' who created the card pictures I used, his URL his
http://www.waste.org/~oxymoron/cards/aboutcards.html
PYRAMID'S RULES
---------------
A classic game in which 28 cards are dealt in the form of a Pyramid.
This comprises of seven rows, the successive rows increasing from one
to seven and overlapping so that each card (except the seventh row)
is partly covered by the two cards of next row.
At the outset, the seven cards of the last row are available.
From the available cards, discard pairs of cards that total thirteen.
Discard kings singly. Turn cards from the stock one at a time putting
unplayable cards in a wastepile. The top of this pile is always available.
It may be paired with the next card turned up from the stock (the Tallon)
or with any free card on the Pyramid. A free card is defined as a card
with no cards touching it from the row below. Every card turned from
the stock goes to the Tallon pile and any card on the Tallon Pile goes to the Waste.
The game is won if all cards can be discarded - including the stock cards.
The rules are simple but believe me, it's difficult to win.
In the S5 version, you have an option that allows up to three redeals to be allowed
before the game becomes blocked. Statistics have been also implemented.
Note that if you finish a game (by winning or exiting) before reaching the maximum
number of redeals, the statistics will be added to the current number of redeals.
e.g.: If the maximum number of redeals is set to 3 and that you win the game during
the first deal, the statistics will be added to the 'None' redeals number.
There is no drag & drop feature: you just have to select the cards by tapping
the screen with the pen. For a King, just tap on it. For a combination, tap on the first
card, an ellipse will be drawn into it then tap on the second card.
To cancel a started combination, just tap again on the first card selected.
This method is the one I prefer, it is also the one used in the freeware Windows version
and you won't damage your screen this way. This is not to avoid programming complexity as
I had implemented a working drag & drop first.