samedi 3 novembre 2018

Minesweeper random

From the board (do not draw) Assume the following conditions: There are 2 mines randomly distributed in the black boxes. The player clicks randomly on the squares (never on the white ones): If there is no mine in the box, it becomes white. Otherwise the player loses the game. How many clicks on average will a player give until he loses (include the click in which he finds the mine). Do not take into account the distribution (or proximity) of the black boxes.




Aucun commentaire:

Enregistrer un commentaire