Home » Archimedes archive » Acorn User » AU 1996-12 A.adf » Specials » Shanghai/!Shanghai/!Help
Shanghai/!Shanghai/!Help
This website contains an archive of files for the Acorn Electron, BBC Micro, Acorn Archimedes, Commodore 16 and Commodore 64 computers, which Dominic Ford has rescued from his private collection of floppy disks and cassettes.
Some of these files were originally commercial releases in the 1980s and 1990s, but they are now widely available online. I assume that copyright over them is no longer being asserted. If you own the copyright and would like files to be removed, please contact me.
Tape/disk: | Home » Archimedes archive » Acorn User » AU 1996-12 A.adf » Specials |
Filename: | Shanghai/!Shanghai/!Help |
Read OK: | ✔ |
File size: | 1544 bytes |
Load address: | 0000 |
Exec address: | 0000 |
File contents
Shanghai ======== Version 0.03 Disclaimer ========== Shanghai is � 1996, Joe Chan. I make no warranty for its fitness for any particular purpose and can not be held liable for any loss of data or profits nor any damage caused by its use or misuse. Introduction ============ Shanghai is an implementation of a game which has been around for home computers for many years. It involves a little strategy, a good memory and some luck. Shanghai may be played by one or more players together. I originally played Shanghai on an Atari ST which I owned around eight years ago. I couldn't find a version for the Acorn Risc computers so I wrote my own. The graphics used for the game pieces were hand-drawn and based upon real Mah-Jong pieces and are more realistic than those seen on versions of the game for other computers. If you have suggestions for additional features or bug reports, mail me at: 101337.1002@compuserve.com or at: joechan@iee.org Instructions ============ On starting the game, 144 mah-jong pieces are arranged in a neat pile. The object of the game is to remove pairs of tiles together until no tiles remain. Only tiles which have at least one edge free of neigbouring tiles, e.g. the top tile or the far left/right tiles, may be removed. Clicking on a tile which may be removed will cause it to be highlighted. If a tile cannot be removed, then it will not be highlighted. Having selected one tile, you must select a matching tile whereupon both pieces will be removed. If the second tile does not match the first, then nothing happens. If you accidentally select a tile or you change your mind, you can deselect the first tile by clicking on it a second time. The display at the top left corner shows the number of pieces remaining. The display at the top right corner shows the time taken. Tip: the timer does not start until you select your first pair of tiles. Therefore, before choosing your first move, study the pieces and plan as far ahead as possible - I told you it involves a good memory! If you manage to complete the game by removing all of the tiles and you make it into the high scores, then you will be prompted to enter your name. The high scores may be viewed at any time by pressing 'Menu' over the game window and clicking on 'High scores->Show'. Several options are available using the buttons at the top of the window: New Game: allows you to start a new game at any time; Replay: allows you to restart the current game at any time - use this if you decide part-way through a game, that you should have made a different move; Reverse: allows you to step back through you previous moves; Forward: allows you to step forward, after stepping back; Hint: shows you the available moves if you get stuck. Pressing this button displays a window with four more buttons. The '<' and '>' buttons allow you step through the available moves. Each press of one of these buttons highlights a pair of tiles. When you decide to play one of these moves, press the 'select' button. The hint window remains displayed to allow you to see more moves. Press 'Cancel' if you decide you don't need any more hints. Quit: allows you to quit Shanghai - you can also do this using the menus available in the game's window or iconbar icon. NOTE: if you use step back through previous moves and then subsequently successfully complete the game, you will not be prompted to enter your name for the high-score table, even if you beat a previous time. You can, however, use the 'Replay' button to try the same game again. Similarly, using the 'hint' button will deny you the privelege of being entered into the high-score table. The game may be paused at any time by closing the window. This will stop the timer. Clicking on the iconbar icon will continue the game. For those of you not familiar with mah-jong pieces: in most cases, there are four identical pieces of each type. E.g. there are four tiles depicting a bird, four tiles depicting two sticks etc. Selecting any two of the four tiles produces a match. The exceptions to the above rule applies to the tiles depicting the seasons and the flowers. There are four tiles representing the four seasons - they appear as flowers (unfortunately) and are identified by a red Chinese character in addition to the flower. There are also four tiles representing flowers and these also have flowers on the pieces but are identified by a blue Chinese character. Selecting any two seasons produces a match and similarly with any two flowers. If in doubt, select two tiles and experiment. If they match, they'll be removed otherwise there's no change. Additions since version 0.02 ============================ 1. Fixed flickering of button bar when 'new game' or 'replay game' selected. 2. Reset tile counter when 'replay game' selected. 3. 'Forward' and 'reverse' buttons are faded when they have no effect. 4. Fixed a bug which allowed certain non-matching pairs to be selected and removed. 5. Added hint feature. 6. Added 'end of game' notification when there are no more legal moves. 6. Added game over notification when no more legal moves are possible. 7. Fixed screen corruption when tile partially obscured by another window is highlighted.
00000000 53 68 61 6e 67 68 61 69 0a 3d 3d 3d 3d 3d 3d 3d |Shanghai.=======| 00000010 3d 0a 0a 56 65 72 73 69 6f 6e 20 30 2e 30 33 0a |=..Version 0.03.| 00000020 0a 44 69 73 63 6c 61 69 6d 65 72 0a 3d 3d 3d 3d |.Disclaimer.====| 00000030 3d 3d 3d 3d 3d 3d 0a 0a 53 68 61 6e 67 68 61 69 |======..Shanghai| 00000040 20 69 73 20 a9 20 31 39 39 36 2c 20 4a 6f 65 20 | is . 1996, Joe | 00000050 43 68 61 6e 2e 20 49 20 6d 61 6b 65 20 6e 6f 20 |Chan. I make no | 00000060 77 61 72 72 61 6e 74 79 20 66 6f 72 20 69 74 73 |warranty for its| 00000070 20 66 69 74 6e 65 73 73 20 66 6f 72 20 61 6e 79 | fitness for any| 00000080 0a 70 61 72 74 69 63 75 6c 61 72 20 70 75 72 70 |.particular purp| 00000090 6f 73 65 20 61 6e 64 20 63 61 6e 20 6e 6f 74 20 |ose and can not | 000000a0 62 65 20 68 65 6c 64 20 6c 69 61 62 6c 65 20 66 |be held liable f| 000000b0 6f 72 20 61 6e 79 20 6c 6f 73 73 20 6f 66 20 64 |or any loss of d| 000000c0 61 74 61 20 6f 72 20 70 72 6f 66 69 74 73 0a 6e |ata or profits.n| 000000d0 6f 72 20 61 6e 79 20 64 61 6d 61 67 65 20 63 61 |or any damage ca| 000000e0 75 73 65 64 20 62 79 20 69 74 73 20 75 73 65 20 |used by its use | 000000f0 6f 72 20 6d 69 73 75 73 65 2e 0a 0a 49 6e 74 72 |or misuse...Intr| 00000100 6f 64 75 63 74 69 6f 6e 0a 3d 3d 3d 3d 3d 3d 3d |oduction.=======| 00000110 3d 3d 3d 3d 3d 0a 0a 53 68 61 6e 67 68 61 69 20 |=====..Shanghai | 00000120 69 73 20 61 6e 20 69 6d 70 6c 65 6d 65 6e 74 61 |is an implementa| 00000130 74 69 6f 6e 20 6f 66 20 61 20 67 61 6d 65 20 77 |tion of a game w| 00000140 68 69 63 68 20 68 61 73 20 62 65 65 6e 20 61 72 |hich has been ar| 00000150 6f 75 6e 64 20 66 6f 72 20 68 6f 6d 65 0a 63 6f |ound for home.co| 00000160 6d 70 75 74 65 72 73 20 66 6f 72 20 6d 61 6e 79 |mputers for many| 00000170 20 79 65 61 72 73 2e 20 49 74 20 69 6e 76 6f 6c | years. It invol| 00000180 76 65 73 20 61 20 6c 69 74 74 6c 65 20 73 74 72 |ves a little str| 00000190 61 74 65 67 79 2c 20 61 20 67 6f 6f 64 20 6d 65 |ategy, a good me| 000001a0 6d 6f 72 79 20 61 6e 64 0a 73 6f 6d 65 20 6c 75 |mory and.some lu| 000001b0 63 6b 2e 20 53 68 61 6e 67 68 61 69 20 6d 61 79 |ck. Shanghai may| 000001c0 20 62 65 20 70 6c 61 79 65 64 20 62 79 20 6f 6e | be played by on| 000001d0 65 20 6f 72 20 6d 6f 72 65 20 70 6c 61 79 65 72 |e or more player| 000001e0 73 20 74 6f 67 65 74 68 65 72 2e 0a 0a 49 20 6f |s together...I o| 000001f0 72 69 67 69 6e 61 6c 6c 79 20 70 6c 61 79 65 64 |riginally played| 00000200 20 53 68 61 6e 67 68 61 69 20 6f 6e 20 61 6e 20 | Shanghai on an | 00000210 41 74 61 72 69 20 53 54 20 77 68 69 63 68 20 49 |Atari ST which I| 00000220 20 6f 77 6e 65 64 20 61 72 6f 75 6e 64 20 65 69 | owned around ei| 00000230 67 68 74 20 79 65 61 72 73 0a 61 67 6f 2e 20 49 |ght years.ago. I| 00000240 20 63 6f 75 6c 64 6e 27 74 20 66 69 6e 64 20 61 | couldn't find a| 00000250 20 76 65 72 73 69 6f 6e 20 66 6f 72 20 74 68 65 | version for the| 00000260 20 41 63 6f 72 6e 20 52 69 73 63 20 63 6f 6d 70 | Acorn Risc comp| 00000270 75 74 65 72 73 20 73 6f 20 49 20 77 72 6f 74 65 |uters so I wrote| 00000280 20 6d 79 0a 6f 77 6e 2e 20 54 68 65 20 67 72 61 | my.own. The gra| 00000290 70 68 69 63 73 20 75 73 65 64 20 66 6f 72 20 74 |phics used for t| 000002a0 68 65 20 67 61 6d 65 20 70 69 65 63 65 73 20 77 |he game pieces w| 000002b0 65 72 65 20 68 61 6e 64 2d 64 72 61 77 6e 20 61 |ere hand-drawn a| 000002c0 6e 64 20 62 61 73 65 64 20 75 70 6f 6e 0a 72 65 |nd based upon.re| 000002d0 61 6c 20 4d 61 68 2d 4a 6f 6e 67 20 70 69 65 63 |al Mah-Jong piec| 000002e0 65 73 20 61 6e 64 20 61 72 65 20 6d 6f 72 65 20 |es and are more | 000002f0 72 65 61 6c 69 73 74 69 63 20 74 68 61 6e 20 74 |realistic than t| 00000300 68 6f 73 65 20 73 65 65 6e 20 6f 6e 20 76 65 72 |hose seen on ver| 00000310 73 69 6f 6e 73 20 6f 66 0a 74 68 65 20 67 61 6d |sions of.the gam| 00000320 65 20 66 6f 72 20 6f 74 68 65 72 20 63 6f 6d 70 |e for other comp| 00000330 75 74 65 72 73 2e 0a 0a 49 66 20 79 6f 75 20 68 |uters...If you h| 00000340 61 76 65 20 73 75 67 67 65 73 74 69 6f 6e 73 20 |ave suggestions | 00000350 66 6f 72 20 61 64 64 69 74 69 6f 6e 61 6c 20 66 |for additional f| 00000360 65 61 74 75 72 65 73 20 6f 72 20 62 75 67 20 72 |eatures or bug r| 00000370 65 70 6f 72 74 73 2c 20 6d 61 69 6c 20 6d 65 20 |eports, mail me | 00000380 61 74 3a 0a 0a 09 31 30 31 33 33 37 2e 31 30 30 |at:...101337.100| 00000390 32 40 63 6f 6d 70 75 73 65 72 76 65 2e 63 6f 6d |2@compuserve.com| 000003a0 0a 09 0a 6f 72 20 61 74 3a 0a 0a 09 6a 6f 65 63 |...or at:...joec| 000003b0 68 61 6e 40 69 65 65 2e 6f 72 67 09 0a 09 0a 49 |han@iee.org....I| 000003c0 6e 73 74 72 75 63 74 69 6f 6e 73 0a 3d 3d 3d 3d |nstructions.====| 000003d0 3d 3d 3d 3d 3d 3d 3d 3d 0a 0a 4f 6e 20 73 74 61 |========..On sta| 000003e0 72 74 69 6e 67 20 74 68 65 20 67 61 6d 65 2c 20 |rting the game, | 000003f0 31 34 34 20 6d 61 68 2d 6a 6f 6e 67 20 70 69 65 |144 mah-jong pie| 00000400 63 65 73 20 61 72 65 20 61 72 72 61 6e 67 65 64 |ces are arranged| 00000410 20 69 6e 20 61 20 6e 65 61 74 20 70 69 6c 65 2e | in a neat pile.| 00000420 20 54 68 65 0a 6f 62 6a 65 63 74 20 6f 66 20 74 | The.object of t| 00000430 68 65 20 67 61 6d 65 20 69 73 20 74 6f 20 72 65 |he game is to re| 00000440 6d 6f 76 65 20 70 61 69 72 73 20 6f 66 20 74 69 |move pairs of ti| 00000450 6c 65 73 20 74 6f 67 65 74 68 65 72 20 75 6e 74 |les together unt| 00000460 69 6c 20 6e 6f 20 74 69 6c 65 73 0a 72 65 6d 61 |il no tiles.rema| 00000470 69 6e 2e 0a 0a 4f 6e 6c 79 20 74 69 6c 65 73 20 |in...Only tiles | 00000480 77 68 69 63 68 20 68 61 76 65 20 61 74 20 6c 65 |which have at le| 00000490 61 73 74 20 6f 6e 65 20 65 64 67 65 20 66 72 65 |ast one edge fre| 000004a0 65 20 6f 66 20 6e 65 69 67 62 6f 75 72 69 6e 67 |e of neigbouring| 000004b0 20 74 69 6c 65 73 2c 20 65 2e 67 2e 20 74 68 65 | tiles, e.g. the| 000004c0 0a 74 6f 70 20 74 69 6c 65 20 6f 72 20 74 68 65 |.top tile or the| 000004d0 20 66 61 72 20 6c 65 66 74 2f 72 69 67 68 74 20 | far left/right | 000004e0 74 69 6c 65 73 2c 20 6d 61 79 20 62 65 20 72 65 |tiles, may be re| 000004f0 6d 6f 76 65 64 2e 20 43 6c 69 63 6b 69 6e 67 20 |moved. Clicking | 00000500 6f 6e 20 61 20 74 69 6c 65 0a 77 68 69 63 68 20 |on a tile.which | 00000510 6d 61 79 20 62 65 20 72 65 6d 6f 76 65 64 20 77 |may be removed w| 00000520 69 6c 6c 20 63 61 75 73 65 20 69 74 20 74 6f 20 |ill cause it to | 00000530 62 65 20 68 69 67 68 6c 69 67 68 74 65 64 2e 20 |be highlighted. | 00000540 49 66 20 61 20 74 69 6c 65 20 63 61 6e 6e 6f 74 |If a tile cannot| 00000550 20 62 65 0a 72 65 6d 6f 76 65 64 2c 20 74 68 65 | be.removed, the| 00000560 6e 20 69 74 20 77 69 6c 6c 20 6e 6f 74 20 62 65 |n it will not be| 00000570 20 68 69 67 68 6c 69 67 68 74 65 64 2e 20 48 61 | highlighted. Ha| 00000580 76 69 6e 67 20 73 65 6c 65 63 74 65 64 20 6f 6e |ving selected on| 00000590 65 20 74 69 6c 65 2c 20 79 6f 75 20 6d 75 73 74 |e tile, you must| 000005a0 0a 73 65 6c 65 63 74 20 61 20 6d 61 74 63 68 69 |.select a matchi| 000005b0 6e 67 20 74 69 6c 65 20 77 68 65 72 65 75 70 6f |ng tile whereupo| 000005c0 6e 20 62 6f 74 68 20 70 69 65 63 65 73 20 77 69 |n both pieces wi| 000005d0 6c 6c 20 62 65 20 72 65 6d 6f 76 65 64 2e 20 49 |ll be removed. I| 000005e0 66 20 74 68 65 20 73 65 63 6f 6e 64 0a 74 69 6c |f the second.til| 000005f0 65 20 64 6f 65 73 20 6e 6f 74 20 6d 61 74 63 68 |e does not match| 00000600 20 74 68 65 20 66 69 72 73 74 2c 20 74 68 65 6e | the first, then| 00000610 20 6e 6f 74 68 69 6e 67 20 68 61 70 70 65 6e 73 | nothing happens| 00000620 2e 0a 0a 49 66 20 79 6f 75 20 61 63 63 69 64 65 |...If you accide| 00000630 6e 74 61 6c 6c 79 20 73 65 6c 65 63 74 20 61 20 |ntally select a | 00000640 74 69 6c 65 20 6f 72 20 79 6f 75 20 63 68 61 6e |tile or you chan| 00000650 67 65 20 79 6f 75 72 20 6d 69 6e 64 2c 20 79 6f |ge your mind, yo| 00000660 75 20 63 61 6e 20 64 65 73 65 6c 65 63 74 0a 74 |u can deselect.t| 00000670 68 65 20 66 69 72 73 74 20 74 69 6c 65 20 62 79 |he first tile by| 00000680 20 63 6c 69 63 6b 69 6e 67 20 6f 6e 20 69 74 20 | clicking on it | 00000690 61 20 73 65 63 6f 6e 64 20 74 69 6d 65 2e 0a 0a |a second time...| 000006a0 54 68 65 20 64 69 73 70 6c 61 79 20 61 74 20 74 |The display at t| 000006b0 68 65 20 74 6f 70 20 6c 65 66 74 20 63 6f 72 6e |he top left corn| 000006c0 65 72 20 73 68 6f 77 73 20 74 68 65 20 6e 75 6d |er shows the num| 000006d0 62 65 72 20 6f 66 20 70 69 65 63 65 73 20 72 65 |ber of pieces re| 000006e0 6d 61 69 6e 69 6e 67 2e 0a 0a 54 68 65 20 64 69 |maining...The di| 000006f0 73 70 6c 61 79 20 61 74 20 74 68 65 20 74 6f 70 |splay at the top| 00000700 20 72 69 67 68 74 20 63 6f 72 6e 65 72 20 73 68 | right corner sh| 00000710 6f 77 73 20 74 68 65 20 74 69 6d 65 20 74 61 6b |ows the time tak| 00000720 65 6e 2e 0a 0a 54 69 70 3a 20 74 68 65 20 74 69 |en...Tip: the ti| 00000730 6d 65 72 20 64 6f 65 73 20 6e 6f 74 20 73 74 61 |mer does not sta| 00000740 72 74 20 75 6e 74 69 6c 20 79 6f 75 20 73 65 6c |rt until you sel| 00000750 65 63 74 20 79 6f 75 72 20 66 69 72 73 74 20 70 |ect your first p| 00000760 61 69 72 20 6f 66 20 74 69 6c 65 73 2e 0a 20 20 |air of tiles.. | 00000770 20 20 20 54 68 65 72 65 66 6f 72 65 2c 20 62 65 | Therefore, be| 00000780 66 6f 72 65 20 63 68 6f 6f 73 69 6e 67 20 79 6f |fore choosing yo| 00000790 75 72 20 66 69 72 73 74 20 6d 6f 76 65 2c 20 73 |ur first move, s| 000007a0 74 75 64 79 20 74 68 65 20 70 69 65 63 65 73 20 |tudy the pieces | 000007b0 61 6e 64 20 70 6c 61 6e 20 61 73 0a 20 20 20 20 |and plan as. | 000007c0 20 66 61 72 20 61 68 65 61 64 20 61 73 20 70 6f | far ahead as po| 000007d0 73 73 69 62 6c 65 20 2d 20 49 20 74 6f 6c 64 20 |ssible - I told | 000007e0 79 6f 75 20 69 74 20 69 6e 76 6f 6c 76 65 73 20 |you it involves | 000007f0 61 20 67 6f 6f 64 20 6d 65 6d 6f 72 79 21 0a 20 |a good memory!. | 00000800 20 20 20 20 20 0a 49 66 20 79 6f 75 20 6d 61 6e | .If you man| 00000810 61 67 65 20 74 6f 20 63 6f 6d 70 6c 65 74 65 20 |age to complete | 00000820 74 68 65 20 67 61 6d 65 20 62 79 20 72 65 6d 6f |the game by remo| 00000830 76 69 6e 67 20 61 6c 6c 20 6f 66 20 74 68 65 20 |ving all of the | 00000840 74 69 6c 65 73 20 61 6e 64 20 79 6f 75 0a 6d 61 |tiles and you.ma| 00000850 6b 65 20 69 74 20 69 6e 74 6f 20 74 68 65 20 68 |ke it into the h| 00000860 69 67 68 20 73 63 6f 72 65 73 2c 20 74 68 65 6e |igh scores, then| 00000870 20 79 6f 75 20 77 69 6c 6c 20 62 65 20 70 72 6f | you will be pro| 00000880 6d 70 74 65 64 20 74 6f 20 65 6e 74 65 72 20 79 |mpted to enter y| 00000890 6f 75 72 20 6e 61 6d 65 2e 0a 54 68 65 20 68 69 |our name..The hi| 000008a0 67 68 20 73 63 6f 72 65 73 20 6d 61 79 20 62 65 |gh scores may be| 000008b0 20 76 69 65 77 65 64 20 61 74 20 61 6e 79 20 74 | viewed at any t| 000008c0 69 6d 65 20 62 79 20 70 72 65 73 73 69 6e 67 20 |ime by pressing | 000008d0 27 4d 65 6e 75 27 20 6f 76 65 72 20 74 68 65 0a |'Menu' over the.| 000008e0 67 61 6d 65 20 77 69 6e 64 6f 77 20 61 6e 64 20 |game window and | 000008f0 63 6c 69 63 6b 69 6e 67 20 6f 6e 20 27 48 69 67 |clicking on 'Hig| 00000900 68 20 73 63 6f 72 65 73 2d 3e 53 68 6f 77 27 2e |h scores->Show'.| 00000910 0a 0a 53 65 76 65 72 61 6c 20 6f 70 74 69 6f 6e |..Several option| 00000920 73 20 61 72 65 20 61 76 61 69 6c 61 62 6c 65 20 |s are available | 00000930 75 73 69 6e 67 20 74 68 65 20 62 75 74 74 6f 6e |using the button| 00000940 73 20 61 74 20 74 68 65 20 74 6f 70 20 6f 66 20 |s at the top of | 00000950 74 68 65 20 77 69 6e 64 6f 77 3a 0a 0a 4e 65 77 |the window:..New| 00000960 20 47 61 6d 65 3a 20 61 6c 6c 6f 77 73 20 79 6f | Game: allows yo| 00000970 75 20 74 6f 20 73 74 61 72 74 20 61 20 6e 65 77 |u to start a new| 00000980 20 67 61 6d 65 20 61 74 20 61 6e 79 20 74 69 6d | game at any tim| 00000990 65 3b 0a 0a 52 65 70 6c 61 79 3a 20 20 20 61 6c |e;..Replay: al| 000009a0 6c 6f 77 73 20 79 6f 75 20 74 6f 20 72 65 73 74 |lows you to rest| 000009b0 61 72 74 20 74 68 65 20 63 75 72 72 65 6e 74 20 |art the current | 000009c0 67 61 6d 65 20 61 74 20 61 6e 79 20 74 69 6d 65 |game at any time| 000009d0 20 2d 20 75 73 65 20 74 68 69 73 20 69 66 0a 20 | - use this if. | 000009e0 20 20 20 20 20 20 20 20 20 79 6f 75 20 64 65 63 | you dec| 000009f0 69 64 65 20 70 61 72 74 2d 77 61 79 20 74 68 72 |ide part-way thr| 00000a00 6f 75 67 68 20 61 20 67 61 6d 65 2c 20 74 68 61 |ough a game, tha| 00000a10 74 20 79 6f 75 20 73 68 6f 75 6c 64 20 68 61 76 |t you should hav| 00000a20 65 20 6d 61 64 65 20 61 0a 20 20 20 20 20 20 20 |e made a. | 00000a30 20 20 20 64 69 66 66 65 72 65 6e 74 20 6d 6f 76 | different mov| 00000a40 65 3b 0a 0a 52 65 76 65 72 73 65 3a 20 20 61 6c |e;..Reverse: al| 00000a50 6c 6f 77 73 20 79 6f 75 20 74 6f 20 73 74 65 70 |lows you to step| 00000a60 20 62 61 63 6b 20 74 68 72 6f 75 67 68 20 79 6f | back through yo| 00000a70 75 20 70 72 65 76 69 6f 75 73 20 6d 6f 76 65 73 |u previous moves| 00000a80 3b 0a 0a 46 6f 72 77 61 72 64 3a 20 20 61 6c 6c |;..Forward: all| 00000a90 6f 77 73 20 79 6f 75 20 74 6f 20 73 74 65 70 20 |ows you to step | 00000aa0 66 6f 72 77 61 72 64 2c 20 61 66 74 65 72 20 73 |forward, after s| 00000ab0 74 65 70 70 69 6e 67 20 62 61 63 6b 3b 0a 0a 48 |tepping back;..H| 00000ac0 69 6e 74 3a 20 20 20 20 20 73 68 6f 77 73 20 79 |int: shows y| 00000ad0 6f 75 20 74 68 65 20 61 76 61 69 6c 61 62 6c 65 |ou the available| 00000ae0 20 6d 6f 76 65 73 20 69 66 20 79 6f 75 20 67 65 | moves if you ge| 00000af0 74 20 73 74 75 63 6b 2e 20 50 72 65 73 73 69 6e |t stuck. Pressin| 00000b00 67 20 74 68 69 73 0a 20 20 20 20 20 20 20 20 20 |g this. | 00000b10 20 62 75 74 74 6f 6e 20 64 69 73 70 6c 61 79 73 | button displays| 00000b20 20 61 20 77 69 6e 64 6f 77 20 77 69 74 68 20 66 | a window with f| 00000b30 6f 75 72 20 6d 6f 72 65 20 62 75 74 74 6f 6e 73 |our more buttons| 00000b40 2e 20 54 68 65 20 27 3c 27 20 61 6e 64 20 27 3e |. The '<' and '>| 00000b50 27 0a 20 20 20 20 20 20 20 20 20 20 62 75 74 74 |'. butt| 00000b60 6f 6e 73 20 61 6c 6c 6f 77 20 79 6f 75 20 73 74 |ons allow you st| 00000b70 65 70 20 74 68 72 6f 75 67 68 20 74 68 65 20 61 |ep through the a| 00000b80 76 61 69 6c 61 62 6c 65 20 6d 6f 76 65 73 2e 20 |vailable moves. | 00000b90 45 61 63 68 20 70 72 65 73 73 20 6f 66 0a 20 20 |Each press of. | 00000ba0 20 20 20 20 20 20 20 20 6f 6e 65 20 6f 66 20 74 | one of t| 00000bb0 68 65 73 65 20 62 75 74 74 6f 6e 73 20 68 69 67 |hese buttons hig| 00000bc0 68 6c 69 67 68 74 73 20 61 20 70 61 69 72 20 6f |hlights a pair o| 00000bd0 66 20 74 69 6c 65 73 2e 20 57 68 65 6e 20 79 6f |f tiles. When yo| 00000be0 75 20 64 65 63 69 64 65 20 74 6f 0a 20 20 20 20 |u decide to. | 00000bf0 20 20 20 20 20 20 70 6c 61 79 20 6f 6e 65 20 6f | play one o| 00000c00 66 20 74 68 65 73 65 20 6d 6f 76 65 73 2c 20 70 |f these moves, p| 00000c10 72 65 73 73 20 74 68 65 20 27 73 65 6c 65 63 74 |ress the 'select| 00000c20 27 20 62 75 74 74 6f 6e 2e 20 54 68 65 20 68 69 |' button. The hi| 00000c30 6e 74 0a 20 20 20 20 20 20 20 20 20 20 77 69 6e |nt. win| 00000c40 64 6f 77 20 72 65 6d 61 69 6e 73 20 64 69 73 70 |dow remains disp| 00000c50 6c 61 79 65 64 20 74 6f 20 61 6c 6c 6f 77 20 79 |layed to allow y| 00000c60 6f 75 20 74 6f 20 73 65 65 20 6d 6f 72 65 20 6d |ou to see more m| 00000c70 6f 76 65 73 2e 20 50 72 65 73 73 0a 20 20 20 20 |oves. Press. | 00000c80 20 20 20 20 20 20 27 43 61 6e 63 65 6c 27 20 69 | 'Cancel' i| 00000c90 66 20 79 6f 75 20 64 65 63 69 64 65 20 79 6f 75 |f you decide you| 00000ca0 20 64 6f 6e 27 74 20 6e 65 65 64 20 61 6e 79 20 | don't need any | 00000cb0 6d 6f 72 65 20 68 69 6e 74 73 2e 0a 20 20 20 20 |more hints.. | 00000cc0 20 20 20 20 20 20 0a 51 75 69 74 3a 20 20 20 20 | .Quit: | 00000cd0 20 61 6c 6c 6f 77 73 20 79 6f 75 20 74 6f 20 71 | allows you to q| 00000ce0 75 69 74 20 53 68 61 6e 67 68 61 69 20 2d 20 79 |uit Shanghai - y| 00000cf0 6f 75 20 63 61 6e 20 61 6c 73 6f 20 64 6f 20 74 |ou can also do t| 00000d00 68 69 73 20 75 73 69 6e 67 20 74 68 65 20 6d 65 |his using the me| 00000d10 6e 75 73 0a 20 20 20 20 20 20 20 20 20 20 61 76 |nus. av| 00000d20 61 69 6c 61 62 6c 65 20 69 6e 20 74 68 65 20 67 |ailable in the g| 00000d30 61 6d 65 27 73 20 77 69 6e 64 6f 77 20 6f 72 20 |ame's window or | 00000d40 69 63 6f 6e 62 61 72 20 69 63 6f 6e 2e 0a 20 20 |iconbar icon.. | 00000d50 20 20 20 20 20 20 20 20 0a 4e 4f 54 45 3a 20 69 | .NOTE: i| 00000d60 66 20 79 6f 75 20 75 73 65 20 73 74 65 70 20 62 |f you use step b| 00000d70 61 63 6b 20 74 68 72 6f 75 67 68 20 70 72 65 76 |ack through prev| 00000d80 69 6f 75 73 20 6d 6f 76 65 73 20 61 6e 64 20 74 |ious moves and t| 00000d90 68 65 6e 20 73 75 62 73 65 71 75 65 6e 74 6c 79 |hen subsequently| 00000da0 0a 20 20 20 20 20 20 73 75 63 63 65 73 73 66 75 |. successfu| 00000db0 6c 6c 79 20 63 6f 6d 70 6c 65 74 65 20 74 68 65 |lly complete the| 00000dc0 20 67 61 6d 65 2c 20 79 6f 75 20 77 69 6c 6c 20 | game, you will | 00000dd0 6e 6f 74 20 62 65 20 70 72 6f 6d 70 74 65 64 20 |not be prompted | 00000de0 74 6f 20 65 6e 74 65 72 0a 20 20 20 20 20 20 79 |to enter. y| 00000df0 6f 75 72 20 6e 61 6d 65 20 66 6f 72 20 74 68 65 |our name for the| 00000e00 20 68 69 67 68 2d 73 63 6f 72 65 20 74 61 62 6c | high-score tabl| 00000e10 65 2c 20 65 76 65 6e 20 69 66 20 79 6f 75 20 62 |e, even if you b| 00000e20 65 61 74 20 61 20 70 72 65 76 69 6f 75 73 20 74 |eat a previous t| 00000e30 69 6d 65 2e 0a 20 20 20 20 20 20 59 6f 75 20 63 |ime.. You c| 00000e40 61 6e 2c 20 68 6f 77 65 76 65 72 2c 20 75 73 65 |an, however, use| 00000e50 20 74 68 65 20 27 52 65 70 6c 61 79 27 20 62 75 | the 'Replay' bu| 00000e60 74 74 6f 6e 20 74 6f 20 74 72 79 20 74 68 65 20 |tton to try the | 00000e70 73 61 6d 65 20 67 61 6d 65 20 61 67 61 69 6e 2e |same game again.| 00000e80 0a 0a 20 20 20 20 20 20 53 69 6d 69 6c 61 72 6c |.. Similarl| 00000e90 79 2c 20 75 73 69 6e 67 20 74 68 65 20 27 68 69 |y, using the 'hi| 00000ea0 6e 74 27 20 62 75 74 74 6f 6e 20 77 69 6c 6c 20 |nt' button will | 00000eb0 64 65 6e 79 20 79 6f 75 20 74 68 65 20 70 72 69 |deny you the pri| 00000ec0 76 65 6c 65 67 65 20 6f 66 0a 20 20 20 20 20 20 |velege of. | 00000ed0 62 65 69 6e 67 20 65 6e 74 65 72 65 64 20 69 6e |being entered in| 00000ee0 74 6f 20 74 68 65 20 68 69 67 68 2d 73 63 6f 72 |to the high-scor| 00000ef0 65 20 74 61 62 6c 65 2e 0a 20 20 20 20 20 20 0a |e table.. .| 00000f00 54 68 65 20 67 61 6d 65 20 6d 61 79 20 62 65 20 |The game may be | 00000f10 70 61 75 73 65 64 20 61 74 20 61 6e 79 20 74 69 |paused at any ti| 00000f20 6d 65 20 62 79 20 63 6c 6f 73 69 6e 67 20 74 68 |me by closing th| 00000f30 65 20 77 69 6e 64 6f 77 2e 20 54 68 69 73 20 77 |e window. This w| 00000f40 69 6c 6c 20 73 74 6f 70 20 74 68 65 0a 74 69 6d |ill stop the.tim| 00000f50 65 72 2e 20 43 6c 69 63 6b 69 6e 67 20 6f 6e 20 |er. Clicking on | 00000f60 74 68 65 20 69 63 6f 6e 62 61 72 20 69 63 6f 6e |the iconbar icon| 00000f70 20 77 69 6c 6c 20 63 6f 6e 74 69 6e 75 65 20 74 | will continue t| 00000f80 68 65 20 67 61 6d 65 2e 0a 0a 46 6f 72 20 74 68 |he game...For th| 00000f90 6f 73 65 20 6f 66 20 79 6f 75 20 6e 6f 74 20 66 |ose of you not f| 00000fa0 61 6d 69 6c 69 61 72 20 77 69 74 68 20 6d 61 68 |amiliar with mah| 00000fb0 2d 6a 6f 6e 67 20 70 69 65 63 65 73 3a 0a 0a 20 |-jong pieces:.. | 00000fc0 20 69 6e 20 6d 6f 73 74 20 63 61 73 65 73 2c 20 | in most cases, | 00000fd0 74 68 65 72 65 20 61 72 65 20 66 6f 75 72 20 69 |there are four i| 00000fe0 64 65 6e 74 69 63 61 6c 20 70 69 65 63 65 73 20 |dentical pieces | 00000ff0 6f 66 20 65 61 63 68 20 74 79 70 65 2e 20 45 2e |of each type. E.| 00001000 67 2e 20 74 68 65 72 65 0a 20 20 61 72 65 20 66 |g. there. are f| 00001010 6f 75 72 20 74 69 6c 65 73 20 64 65 70 69 63 74 |our tiles depict| 00001020 69 6e 67 20 61 20 62 69 72 64 2c 20 66 6f 75 72 |ing a bird, four| 00001030 20 74 69 6c 65 73 20 64 65 70 69 63 74 69 6e 67 | tiles depicting| 00001040 20 74 77 6f 20 73 74 69 63 6b 73 20 65 74 63 2e | two sticks etc.| 00001050 0a 20 20 53 65 6c 65 63 74 69 6e 67 20 61 6e 79 |. Selecting any| 00001060 20 74 77 6f 20 6f 66 20 74 68 65 20 66 6f 75 72 | two of the four| 00001070 20 74 69 6c 65 73 20 70 72 6f 64 75 63 65 73 20 | tiles produces | 00001080 61 20 6d 61 74 63 68 2e 0a 20 20 0a 20 20 54 68 |a match.. . Th| 00001090 65 20 65 78 63 65 70 74 69 6f 6e 73 20 74 6f 20 |e exceptions to | 000010a0 74 68 65 20 61 62 6f 76 65 20 72 75 6c 65 20 61 |the above rule a| 000010b0 70 70 6c 69 65 73 20 74 6f 20 74 68 65 20 74 69 |pplies to the ti| 000010c0 6c 65 73 20 64 65 70 69 63 74 69 6e 67 20 74 68 |les depicting th| 000010d0 65 20 73 65 61 73 6f 6e 73 0a 20 20 61 6e 64 20 |e seasons. and | 000010e0 74 68 65 20 66 6c 6f 77 65 72 73 2e 20 54 68 65 |the flowers. The| 000010f0 72 65 20 61 72 65 20 66 6f 75 72 20 74 69 6c 65 |re are four tile| 00001100 73 20 72 65 70 72 65 73 65 6e 74 69 6e 67 20 74 |s representing t| 00001110 68 65 20 66 6f 75 72 20 73 65 61 73 6f 6e 73 20 |he four seasons | 00001120 2d 20 74 68 65 79 0a 20 20 61 70 70 65 61 72 20 |- they. appear | 00001130 61 73 20 66 6c 6f 77 65 72 73 20 28 75 6e 66 6f |as flowers (unfo| 00001140 72 74 75 6e 61 74 65 6c 79 29 20 61 6e 64 20 61 |rtunately) and a| 00001150 72 65 20 69 64 65 6e 74 69 66 69 65 64 20 62 79 |re identified by| 00001160 20 61 20 72 65 64 20 43 68 69 6e 65 73 65 0a 20 | a red Chinese. | 00001170 20 63 68 61 72 61 63 74 65 72 20 69 6e 20 61 64 | character in ad| 00001180 64 69 74 69 6f 6e 20 74 6f 20 74 68 65 20 66 6c |dition to the fl| 00001190 6f 77 65 72 2e 20 54 68 65 72 65 20 61 72 65 20 |ower. There are | 000011a0 61 6c 73 6f 20 66 6f 75 72 20 74 69 6c 65 73 20 |also four tiles | 000011b0 72 65 70 72 65 73 65 6e 74 69 6e 67 0a 20 20 66 |representing. f| 000011c0 6c 6f 77 65 72 73 20 61 6e 64 20 74 68 65 73 65 |lowers and these| 000011d0 20 61 6c 73 6f 20 68 61 76 65 20 66 6c 6f 77 65 | also have flowe| 000011e0 72 73 20 6f 6e 20 74 68 65 20 70 69 65 63 65 73 |rs on the pieces| 000011f0 20 62 75 74 20 61 72 65 20 69 64 65 6e 74 69 66 | but are identif| 00001200 69 65 64 20 62 79 0a 20 20 61 20 62 6c 75 65 20 |ied by. a blue | 00001210 43 68 69 6e 65 73 65 20 63 68 61 72 61 63 74 65 |Chinese characte| 00001220 72 2e 20 53 65 6c 65 63 74 69 6e 67 20 61 6e 79 |r. Selecting any| 00001230 20 74 77 6f 20 73 65 61 73 6f 6e 73 20 70 72 6f | two seasons pro| 00001240 64 75 63 65 73 20 61 20 6d 61 74 63 68 20 61 6e |duces a match an| 00001250 64 0a 20 20 73 69 6d 69 6c 61 72 6c 79 20 77 69 |d. similarly wi| 00001260 74 68 20 61 6e 79 20 74 77 6f 20 66 6c 6f 77 65 |th any two flowe| 00001270 72 73 2e 0a 20 20 0a 20 20 49 66 20 69 6e 20 64 |rs.. . If in d| 00001280 6f 75 62 74 2c 20 73 65 6c 65 63 74 20 74 77 6f |oubt, select two| 00001290 20 74 69 6c 65 73 20 61 6e 64 20 65 78 70 65 72 | tiles and exper| 000012a0 69 6d 65 6e 74 2e 20 49 66 20 74 68 65 79 20 6d |iment. If they m| 000012b0 61 74 63 68 2c 20 74 68 65 79 27 6c 6c 20 62 65 |atch, they'll be| 000012c0 0a 20 20 72 65 6d 6f 76 65 64 20 6f 74 68 65 72 |. removed other| 000012d0 77 69 73 65 20 74 68 65 72 65 27 73 20 6e 6f 20 |wise there's no | 000012e0 63 68 61 6e 67 65 2e 0a 0a 41 64 64 69 74 69 6f |change...Additio| 000012f0 6e 73 20 73 69 6e 63 65 20 76 65 72 73 69 6f 6e |ns since version| 00001300 20 30 2e 30 32 0a 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d | 0.02.==========| 00001310 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d |================| 00001320 3d 3d 0a 0a 31 2e 20 46 69 78 65 64 20 66 6c 69 |==..1. Fixed fli| 00001330 63 6b 65 72 69 6e 67 20 6f 66 20 62 75 74 74 6f |ckering of butto| 00001340 6e 20 62 61 72 20 77 68 65 6e 20 27 6e 65 77 20 |n bar when 'new | 00001350 67 61 6d 65 27 20 6f 72 20 27 72 65 70 6c 61 79 |game' or 'replay| 00001360 20 67 61 6d 65 27 20 73 65 6c 65 63 74 65 64 2e | game' selected.| 00001370 0a 32 2e 20 52 65 73 65 74 20 74 69 6c 65 20 63 |.2. Reset tile c| 00001380 6f 75 6e 74 65 72 20 77 68 65 6e 20 27 72 65 70 |ounter when 'rep| 00001390 6c 61 79 20 67 61 6d 65 27 20 73 65 6c 65 63 74 |lay game' select| 000013a0 65 64 2e 0a 33 2e 20 27 46 6f 72 77 61 72 64 27 |ed..3. 'Forward'| 000013b0 20 61 6e 64 20 27 72 65 76 65 72 73 65 27 20 62 | and 'reverse' b| 000013c0 75 74 74 6f 6e 73 20 61 72 65 20 66 61 64 65 64 |uttons are faded| 000013d0 20 77 68 65 6e 20 74 68 65 79 20 68 61 76 65 20 | when they have | 000013e0 6e 6f 20 65 66 66 65 63 74 2e 0a 34 2e 20 46 69 |no effect..4. Fi| 000013f0 78 65 64 20 61 20 62 75 67 20 77 68 69 63 68 20 |xed a bug which | 00001400 61 6c 6c 6f 77 65 64 20 63 65 72 74 61 69 6e 20 |allowed certain | 00001410 6e 6f 6e 2d 6d 61 74 63 68 69 6e 67 20 70 61 69 |non-matching pai| 00001420 72 73 20 74 6f 20 62 65 20 73 65 6c 65 63 74 65 |rs to be selecte| 00001430 64 20 61 6e 64 0a 20 20 20 72 65 6d 6f 76 65 64 |d and. removed| 00001440 2e 0a 35 2e 20 41 64 64 65 64 20 68 69 6e 74 20 |..5. Added hint | 00001450 66 65 61 74 75 72 65 2e 0a 36 2e 20 41 64 64 65 |feature..6. Adde| 00001460 64 20 27 65 6e 64 20 6f 66 20 67 61 6d 65 27 20 |d 'end of game' | 00001470 6e 6f 74 69 66 69 63 61 74 69 6f 6e 20 77 68 65 |notification whe| 00001480 6e 20 74 68 65 72 65 20 61 72 65 20 6e 6f 20 6d |n there are no m| 00001490 6f 72 65 20 6c 65 67 61 6c 20 6d 6f 76 65 73 2e |ore legal moves.| 000014a0 0a 36 2e 20 41 64 64 65 64 20 67 61 6d 65 20 6f |.6. Added game o| 000014b0 76 65 72 20 6e 6f 74 69 66 69 63 61 74 69 6f 6e |ver notification| 000014c0 20 77 68 65 6e 20 6e 6f 20 6d 6f 72 65 20 6c 65 | when no more le| 000014d0 67 61 6c 20 6d 6f 76 65 73 20 61 72 65 20 70 6f |gal moves are po| 000014e0 73 73 69 62 6c 65 2e 0a 37 2e 20 46 69 78 65 64 |ssible..7. Fixed| 000014f0 20 73 63 72 65 65 6e 20 63 6f 72 72 75 70 74 69 | screen corrupti| 00001500 6f 6e 20 77 68 65 6e 20 74 69 6c 65 20 70 61 72 |on when tile par| 00001510 74 69 61 6c 6c 79 20 6f 62 73 63 75 72 65 64 20 |tially obscured | 00001520 62 79 20 61 6e 6f 74 68 65 72 20 77 69 6e 64 6f |by another windo| 00001530 77 20 69 73 0a 20 20 20 68 69 67 68 6c 69 67 68 |w is. highligh| 00001540 74 65 64 2e |ted.| 00001544