-
Notifications
You must be signed in to change notification settings - Fork 0
/
README.txt
43 lines (30 loc) · 976 Bytes
/
README.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
Simple MineSweeper Solver with GUI
Build Instructions:
Dependencies: cmake,
C++ compiler with decent C++11 support (i.e g++ >= 4.6)
qt4-dev for gui tools
mkdir build
cd build
cmake ..
make
Command Line Options (and default values):
rows=16
cols=30
mines=99
games=1
seed=1
safe-open=0
log-level=3
solver=constraint-sweep
Example Usage:
* Simulate and time 1000 expert mode games using the constraint eq solver:
time ./cas games=1000 solver=constraint-sweep
* Simulate and time 10000 intermediate mode games using neighbour-sweep
time ./cas games=10000 rows=16 cols=16 mines=40 solver=neighbour-sweep
Source Code Terminology:
Cell = A MineSweeper field element
Corner = One of the for Cells at the corner of the minefield
Edge = The edge of the minefield, excluding Corners
LHS = Left Hand Side
RHS = Right Hand Side
<TODO>