Minesweeper game/D: Difference between revisions
Content added Content deleted
m (Updated minesweeper_main1 module Phobos) |
(minesweeper1 module updated) |
||
Line 253: | Line 253: | ||
} |
} |
||
override string toString() const { |
override string toString() const pure nothrow { |
||
if (isUncovered) { |
if (isUncovered) { |
||
if (isMined) |
if (isMined) |
||
Line 271: | Line 271: | ||
uint numAdjacentMines; |
uint numAdjacentMines; |
||
} |
} |
||
} |
|||
}</lang> |
|||
void main(){}</lang> |
|||
=== Example plays === |
=== Example plays === |