diff options
| author | Simon Tatham <anakin@pobox.com> | 2005-04-26 17:03:56 +0000 |
|---|---|---|
| committer | Simon Tatham <anakin@pobox.com> | 2005-04-26 17:03:56 +0000 |
| commit | 37ad6698a5c1abc77c1a3a39315173bea0c462ac (patch) | |
| tree | 52fd4de4118ae3890cab32f116482530fd9422b5 | |
| parent | 070fb537cfd3c30bff2e0ccb3f13bebdf556bbc1 (diff) | |
| download | puzzles-37ad6698a5c1abc77c1a3a39315173bea0c462ac.zip puzzles-37ad6698a5c1abc77c1a3a39315173bea0c462ac.tar.gz puzzles-37ad6698a5c1abc77c1a3a39315173bea0c462ac.tar.bz2 puzzles-37ad6698a5c1abc77c1a3a39315173bea0c462ac.tar.xz | |
The command-line solver's difficulty gradings now use the same
terminology as the puzzle GUI.
[originally from svn r5683]
| -rw-r--r-- | solo.c | 16 |
1 files changed, 8 insertions, 8 deletions
@@ -2031,14 +2031,14 @@ int main(int argc, char **argv) else ret = DIFF_AMBIGUOUS; } - printf("difficulty rating: %s\n", - ret==DIFF_BLOCK ? "blockwise positional elimination only": - ret==DIFF_SIMPLE ? "row/column/number elimination required": - ret==DIFF_INTERSECT ? "intersectional analysis required": - ret==DIFF_SET ? "set elimination required": - ret==DIFF_RECURSIVE ? "guesswork and backtracking required": - ret==DIFF_AMBIGUOUS ? "multiple solutions exist": - ret==DIFF_IMPOSSIBLE ? "no solution exists": + printf("Difficulty rating: %s\n", + ret==DIFF_BLOCK ? "Trivial (blockwise positional elimination only)": + ret==DIFF_SIMPLE ? "Basic (row/column/number elimination required)": + ret==DIFF_INTERSECT ? "Intermediate (intersectional analysis required)": + ret==DIFF_SET ? "Advanced (set elimination required)": + ret==DIFF_RECURSIVE ? "Unreasonable (guesswork and backtracking required)": + ret==DIFF_AMBIGUOUS ? "Ambiguous (multiple solutions exist)": + ret==DIFF_IMPOSSIBLE ? "Impossible (no solution exists)": "INTERNAL ERROR: unrecognised difficulty code"); } } |