★ AMSTRAD CPC ★ GAMESLIST ★ CRIBBAGE (c) THE AMSTRAD USER ★ |
The Amstrad User |
Cribbage is an excellent card game, comprising equal skill and luck, for two players. If you are not familiar with it, "potted" rules are included in the program. This version complies with the rules for six card cribbage published in the 'Penguin book of card games'. The skill is in selecting the 'box' and in the play. I have played cribbage for about thirty years and I can beat the 'expert' computer level about three times out of five. The computer does NOT cheat at all in this game. HOW THE PROGRAM WORKS Each subroutine has an introductory REM line to explain its purpose. The program consists of arrays, loops, GOSUBS and GOTO'S: inevitably it hops around a lot as there are many different possible orders of play that have to be catered for. Arrays of less than 10 variables have not been specifically DIMensioned. As the program is 36k long variables have on occasion been reused with different meanings at different points of play. Any variable beginning with a refers to computer's hand, with y to your (ie - player's) hand and with x to temporary cards and loops used for both hands.
TAU |
|
|
Page créée en 106 millisecondes et consultée 1189 fois L'Amstrad CPC est une machine 8 bits à base d'un Z80 à 4MHz. Le premier de la gamme fut le CPC 464 en 1984, équipé d'un lecteur de cassettes intégré il se plaçait en concurrent du Commodore C64 beaucoup plus compliqué à utiliser et plus cher. Ce fut un réel succès et sorti cette même années le CPC 664 équipé d'un lecteur de disquettes trois pouces intégré. Sa vie fut de courte durée puisqu'en 1985 il fut remplacé par le CPC 6128 qui était plus compact, plus soigné et surtout qui avait 128Ko de RAM au lieu de 64Ko. |