R/puzzle-strings.R

#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#' A collection of a few thousand nonogram puzzle strings
#'
#' A \code{puzzle string} is a just a compact string representation of the puzzle.
#' It consists of:
#' \itemize{
#'   \item{the numbers for each clue separated by a comma}{}
#'   \item{each clue separated by a colon}{}
#'   \item{the row and column clues (in that order) separated by a dash}{}
#' }
#'
#' e.g. \code{"2:2,1:1,1:3:1,1:1,1:2:1,1:1,2:2-2,1:2,1,3:7:1,3:2,1"}
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
"puzzle_string_library"





#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#' Test puzzle strings used during development - R, duck, swan, squirrel and goose
#'
#' A \code{puzzle string} is a just a compact string representation of the puzzle.
#' It consists of:
#' \itemize{
#'   \item{the numbers for each clue separated by a comma}{}
#'   \item{each clue separated by a colon}{}
#'   \item{the row and column clues (in that order) separated by a dash}{}
#' }
#'
#' e.g. \code{"2:2,1:1,1:3:1,1:1,1:2:1,1:1,2:2-2,1:2,1,3:7:1,3:2,1"}
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
"puzzle_string_examples"
coolbutuseless/nonogram documentation built on May 5, 2019, 3:45 a.m.