diff options
Diffstat (limited to 'doc/scriptexamples/minesweeper.kvs')
| -rw-r--r-- | doc/scriptexamples/minesweeper.kvs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/scriptexamples/minesweeper.kvs b/doc/scriptexamples/minesweeper.kvs index 24f3b0cb0..467bda862 100644 --- a/doc/scriptexamples/minesweeper.kvs +++ b/doc/scriptexamples/minesweeper.kvs @@ -61,7 +61,7 @@ class(minesweeper,widget) { %row = $rand($($$->%rows - 1)) %col = $rand($($$->%cols - 1)) - } + } $$->%label{%row,%col}->%bIsMine = 1 # increase the mine count for the adiacent cells if(%row > 0) @@ -127,5 +127,5 @@ alias(mines) { %m = $new(minesweeper) %m->$show() - + } |
