Minesweeper game/D: Difference between revisions

Updated minesweeper_main1 D module
m (Updated minesweeper_main1 module Phobos)
(Updated minesweeper_main1 D module)
 
(One intermediate revision by the same user not shown)
Line 87:
}
 
autoGameBoard.Cell cell = board[row, column];
 
if (action == Action.flag) {
Line 253:
}
 
override string toString() const pure nothrow {
if (isUncovered) {
if (isMined)
Line 271:
uint numAdjacentMines;
}
}
}</lang>
 
void main(){}</lang>
 
=== Example plays ===