]> git.saurik.com Git - wxWidgets.git/blame - demos/bombs/readme.txt
corrections for Mac OS X compilation
[wxWidgets.git] / demos / bombs / readme.txt
CommitLineData
025e88c5
JS
1 wxWin Bombs
2 by Pasquale Foggia
3
41. The aim of the program
5wxWin Bombs is the wxWin implementation of the minesweeper game you find
6under MSWindows 3.1+. Later the rules of the game will be explained for
7the lucky ones of you that have never used Windows.
8
92. Installation
10If you are reading this file, I suppose you have succesfully unpacked the
11files in a directory of your hard disk :-). You should already have
12installed wxWin on your system.
13Now you have to modify makefile.bcc
14(if a Windows user) or makefile.unx (if you use a real OS) setting the
15proper values for the directories. Finally, you have to run:
16 make -f makefile.bcc
17for Windows (nmake if you use a MicroSoft compiler), or:
18 make -f makefile.unx xview
19for Unix+xview and
20 make -f makefile.unx motif
21for Unix+motif
22
23If you are lucky, you will find the bombs executable, ready to be run.
24
253. Test
26Bombs has been tested under the following platforms:
27 PC + MSWindos 3.1 + wxWin 1.60 + Borland C 3.1
28 Sun SPARCstation 20 + SunOS + xview + wxWin 1.63 + gcc 2.3.3
29and all seems to work fine.
30
314. The author
32This program has been developed by Pasquale Foggia, a PhD student
33in Computer Engineering at the "Federico II" University of Naples, Italy.
34You can contacting him using the following address:
35 foggia@amalfi.dis.unina.it
36
375. Disclaimer
38This program is freeware. You can do everything you want with it, including
39copying and modifying, without the need of a permission from the author.
40On the other hand, this program is provided AS IS, with NO KIND OF WARRANTY.
41The author will be in NO CASE responsible for damages directly or indirectly
42caused by this program. Use it AT YOUR OWN RISK, or don't use it at all.
43
446. The rules of the game
45Your aim is to discover all the bombs in a mined field. If you click with
46the left mouse button on a cell containing a bomb, your game ends.
47Otherwise, the number of bombs in the 8 neighbour cells will be displayed.
48When you have clicked all the cells without a bomb, you win.
49You can also use the right button (or left button+shift) to mark a cell
50you think hides a bomb, in order to not click it accidentally.
51
527. Concluding remarks
53I hope someone of you will enjoy this program. However, I enjoyed writing
54it (thanks to Julian Smart and all the other wxWin developers).
55In the near future I plan to implement under wxWin the great 'empire'
56(is there someone that still remember it?), IMHO one of the most addictive
57strategy games. If someone is interested, please contact me by e-mail.
58I beg you pardon for my approximative english.
59
60 Pasquale Foggia
61 foggia@amalfi.dis.unina.it
62
63
64------
65A note from Julian Smart: Many thanks to Pasquale for the contribution.
66I've taken the liberty of making a few changes.
67
681) I've made the status line have a single field so that you
69can see the 'cells remaining' message properly.
70
712) I've changed the title from "wxWin Bombs" (which, as a statement,
72is an unfortunate reflection of the reality of earlier versions of
73wxWindows :-)) to wxBombs.
74
753) Added SetClientData to resize the window on Restart; eliminated
76scrollbars; made the frame unresizeable.
77
784) Added makefile.dos for VC++ 1.x, makefile.wat for Watcom C++.