Menu

Tree [r4] /
 History

HTTPS access


File Date Author Commit
 COPYING.txt 2009-12-17 propagation0 [r2] First files
 MineSweeper.class 2009-12-17 propagation0 [r3] Changed playMove() to only look in x or y vectors.
 MineSweeper.java 2009-12-17 propagation0 [r3] Changed playMove() to only look in x or y vectors.
 README.txt 2009-12-17 propagation0 [r1] First files
 board.class 2009-12-17 propagation0 [r3] Changed playMove() to only look in x or y vectors.
 board.java 2009-12-17 propagation0 [r4] Undid revision 3 to board.java. Bad logic
 log.txt 2009-12-17 propagation0 [r2] First files

Read Me

To compile this code, you must have Java Developer Kit installed. 
$ javac MineSweeper.java
$ java MineSweeper <x> <y> <m>

x = the width of the board
y = the height of the board
m = how many mines to randomly seed on the board (must be smaller than x*y)