readme.txt 3.2 KB

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