![minesweeper rules minesweeper rules](https://mspoweruser.com/wp-content/uploads/2016/01/minesweeper.jpg)
And finally, the mine is disarmed when the user succeeds in locating the randomly chosen location by the computer. As and when the users click nears the location of the mine selected by the computer, the signal on the signal bar grows. The computer places a mine(bomb) at a random location and the player is expected to find the location where the mine is placed with the aid of a signal detector(Signal bar as shown in fig(8)). The proposed method is also advertised as a guessing game. It tells how likely the user could have selected a location that was chosen by the computer as the mine as shown in fig(6). It tries to show how Minesweeper can be used as a tool for measuring probability. The proposed method employs Probability extensively. The likelihood of the event that can occur is expressed as percentage. To be more precise, probability takes into account all the possible events that might occur and tells how likely each particular event can occur. Probability is not the science of foretelling the future, rather, it says how likely the event can occur. Keywordsprobability ServerSocket Socket Programming GUI Stacks Queues Priority Queues Circular Doubly Linked List Server Client Object Serialization, encryption, Network security This work tries to show how Minesweeper could be used as a tool for measuring probability, with some changes done to the rules of the trivial minesweeper game. To give the game perspective of the proposed method, it has a multiplayer support and also a provision for chatting between the 2 parties. Several data structures like stack, queues, priority queues, circular doubly linked lists are used. Thus, the probability of determining the location guessed by the computer can be calculated. The user has to determine the location guessed by the computer within a stipulated number of clicks. The user is asked to pinpoint that location by clicking on the display area. College-PES Institute of Technology, BSK 3rd stage, Bangalore, IndiaĪbstractMinesweeper can be used as a tool for experimenting on probability.