about summary refs log tree commit diff stats
path: root/lib/Octans
diff options
context:
space:
mode:
authorAndinus <andinus@nand.sh>2021-03-04 17:55:21 +0530
committerAndinus <andinus@nand.sh>2021-03-04 17:56:22 +0530
commitadba877bd60e26f14c8f54568e522e736dd4f11f (patch)
treef406dc85dbd134a9fb87908c2106bce916292a60 /lib/Octans
parentbdb1dbcea8c4ab9270caeacf6bfb448c35824a90 (diff)
downloadoctans-adba877bd60e26f14c8f54568e522e736dd4f11f.tar.gz
Release v0.2.0 v0.2.0
NEWS:

⁃ Removed `sample' option

  `--sample' will not solve the sample puzzle.

⁃ Removed shorthand for verbose option

  `-v' won't work in `v0.2.0'.

⁃ Change representation of visited squares

  When `--verbose' was passed, it would print the solved puzzle with
  visited squares replaced with fancy characters. Now it marks them by
  adding:

  • `*' to visited + gray squares (start positions)
  • `/' to visited squares

⁃ Removed time taken

  Time taken won't be printed anymore.

        It was misleading because the time printed was not the
        time taken to find that specific word, it was the time
        taken to find all the words upto that word. It would
        reset for each starting position.
Diffstat (limited to 'lib/Octans')
-rw-r--r--lib/Octans/Puzzle.rakumod2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Octans/Puzzle.rakumod b/lib/Octans/Puzzle.rakumod
index e88a74a..8e184f8 100644
--- a/lib/Octans/Puzzle.rakumod
+++ b/lib/Octans/Puzzle.rakumod
@@ -19,7 +19,7 @@ class Puzzle is export {
     method gray-squares() { @!gray-squares; }
 
     # Given $y, $x where $y is row index & $x is column index,
-    # is-gray-square returns if the cell is a gray square.
+    # is-gray-square returns if the square is a gray square.
     method is-gray-square(Int $y, Int $x) {
         return so @!gray-squares.grep(($y, $x));
     }