From adba877bd60e26f14c8f54568e522e736dd4f11f Mon Sep 17 00:00:00 2001 From: Andinus Date: Thu, 4 Mar 2021 17:55:21 +0530 Subject: Release v0.2.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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. --- lib/Octans/Puzzle.rakumod | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') 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)); } -- cgit 1.4.1-2-gfad0