⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 landmine.doc

📁 神龙卡开发原代码
💻 DOC
字号:
			LANDMINELandmine is a game in which you try to safely move step by step from thetop left corner of a square board to the bottom right corner of the board.Scattered among the cells of the board are invisible mines which blow upif you step on them.  When you step on a mine, one of your legs is blownoff, and if you lose both legs, then the game is over.Steps are made one at a time from any cell you have already visited toany of the eight possible cells which are adjacent to it.  At the startof the game you are placed in the top left corner of the board, which isguaranteed to have no mine in it.  There are also no mines immediatelyadjacent to the starting cell.  There is also a guaranteed path from thestarting cell to the finishing cell which does not encounter any mines.You cannot see the mines, however you have a detector which indicatesthe presence of the mines.  The detector cannot locate the direction ofany individual mine, but it does indicate the number of mines immediatelyadjacent to your cell.  By using this information from all the cells youhave already visited, you can usually deduce where the mines must be.In this way, you can find your way safely to the destination cell.  Someof the deductions that can be made are very subtle, and experience willimprove your scores dramatically.When landmine is started up under mini-X, the board is displayed at theleft side, some buttons are displayed at the upper right, and some statisticsare displayed at the lower right.  To make a step, use the mouse to move thecursor onto the cell that you wish to step on, and press a button.  A numberwill appear in that square (if there is no mine there!) indicating now manymines are adjacent to that square.  You can step onto any cell which isadjacent to any cell you have already stepped on.In order to help you deduce where the mines are and what steps are safe,you can mark any non-visited cell as containing a mine.  To do this, movethe mouse to that cell, and then type a space.  A red circle will thenappear in that cell to indicate that you think it contains a mine.  Aside effect of doing this is that you cannot accidentally step on thesquare while it is marked.  Notice that the cell is marked as you requestwhether or not a mine is actually there, thus if you mistakenly mark acell, you are likely to get confused and later step on a real mine!  Ifyou think that a cell is marked in error, you can clear the marking bymoving the mouse to the cell and then typing another space.If you step on a mine, you will hear a beep, and a red circle will flashon and off for a few seconds to indicate that the mine has exploded.Then the mine will be removed, and the counts in the adjacent cellswill be adjusted to reflect the new situation with one less mine.  Yournumber of legs is also reduced by 1, and the cursor shape is changed toindicate this.  If you lose both legs, then the game is lost.  If yousuccessfully make it to the lower right corner, then the game is won.When the game is over, the location of all mines are marked with red circles.In addition, if you had marked cells as containing mines, but the cells werewrongly marked, then those cells are shown with green circles.  After youhave analyzed the results of the game, you can start a new game by usingthe NEW GAME button.The three buttons on the top right of the screen are QUIT, SAVE GAME,and NEW GAME.  The buttons are activated by moving the cursor to theinterior of the button, and pressing any mouse button.  No confirmationis asked for these actions.QUIT will immediately quit playing and return you to text mode and exit.However, if you had started landmine with a filename to restore from,then the current status will be saved back to that file.  If you had notsupplied a filename on starting, and have not saved the game using theSAVE GAME button, then QUIT will quit without saving anything.SAVE GAME is used to save the current status of the game without exiting.This lets you make sure that the game is saved away when you have beenplaying for a long time and are worried about crashes.  If you had givena file for restoring of previous games, then the game will be saved backinto that file.  If you had not specified a filename, then a default nameof "landmine.save" will be used.  If the save operation works, the buttonwill momentarily flash.  If the save operation fails, then a beep willbe sounded.NEW GAME is used to start a new game.  This button can only be used aftera game has just been completed.  That is, after both legs have been blownoff or you have reached the destination cell, you use this button tobegin another game.When starting landmine, you can specify some options on the command line.The options are the following:	landmine [-s n] [-m n] [savefile]The savefile is the filename to save the game into when the SAVE GAME orQUIT buttons are used, as described above.The -s option sets the size of the board.  The size is the number of cellsacross the board, and also down the board.  The board size can be set toany size from 3 to 30.  The default size is 15.The -m option sets the number of mines on the board.  This can be set from1 to 50% of the number of cells on the board.  The default number of minesis 15% of the number of cells on the board.  For the default board size,the default number of mines is 33.The statistics saved in the save file are kept for each combination ofboard size and mines, thus you can play with many different combinationsof values and the statistics will be kept separately.  There is a limitof 1000 different combinations that can be saved.You cannot change the board size or number of mines while a game is inprogress.  To change the parameters, finish the game, save the game into afile and exit, then restart landmine giving the new parameters.

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -