home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Usenet 1994 October
/
usenetsourcesnewsgroupsinfomagicoctober1994disk2.iso
/
games
/
volume15
/
accordian
/
part01
/
README
< prev
Wrap
Text File
|
1993-01-27
|
2KB
|
42 lines
--------- ACCORDIAN SOLITAIRE ---------
This is the card game of Accordian Solitaire. A deck of cards is
dealt to the playing table (either a card at a time, or the whole
deck at once), and the goal is to move stacks of cards around
until a single stack of cards is left on the table.
Stacks of cards can only move 1 or 3 spaces up the line of cards,
onto other stacks whose top card is of the same suit or rank as
the current stack's top card.
If you end up with a single stack, you win the game!
The book of card games I got this out of (but have since lost) said
of this game something like the following:
The response to this game after we published that it was basically
impossible to win was about half a dozen letters, typically saying
the following: `I have play Accordian every night for the last
25 years, and have won no fewer than 3 times.'
Given the chance of winning the game, I felt it wise to write the program
so I wouldn't tire out my hands reshuffling the deck after each defeat.
To compile and run, edit "Makefile", and change file path, and compiler
definitions to suit your machine. I have included the compiler setups
for BSD-ish and SysV-ish machines. I presume that it will compile under
any other system that has an implementation of the "curses" package.
I have successfully compiled and run the program under SunOS 4.1.1 (BSD-ish)
on a Sun Sparc 1+, and under IRIX 4.0.5 (SysV-ish) on an SGI Crimson.
Please send me any enhancements or modifications done to the program,
so I can keep my copy up-to-date with any updated versions out there.
This program is public domain.
-Eric Lechner (ericl@xilinx.com) 19 November 1992