Merge commit '1a1f7f4ce1dc30399bcf2454a428ed72b2ec3208'
This commit is contained in:
151
demos/nonogram/README.md
Normal file
151
demos/nonogram/README.md
Normal file
@@ -0,0 +1,151 @@
|
|||||||
|
# Nonogram Loader
|
||||||
|
|
||||||
|
A memory-efficient C++ nonogram loader that stores nonogram solution and instructions in a separate class, using minimal memory while only storing important information.
|
||||||
|
|
||||||
|
## Features
|
||||||
|
|
||||||
|
- **Memory Efficient**: Uses compact storage for hints (uint8_t) and solutions (1 bit per cell)
|
||||||
|
- **Standard Format Support**: Reads `.non` format files as specified in the format specification
|
||||||
|
- **Ignores Unnecessary Data**: Only stores essential puzzle data, ignores author names and other metadata
|
||||||
|
- **Multiple Loading Methods**: Load from files, strings, or entire directories
|
||||||
|
- **Solution Support**: Optional solution storage when present in the file
|
||||||
|
|
||||||
|
## Memory Usage
|
||||||
|
|
||||||
|
The loader is designed to use minimal memory:
|
||||||
|
|
||||||
|
- **Hints**: Stored as `uint8_t` arrays with compact indexing
|
||||||
|
- **Solutions**: Stored as bit arrays (1 bit per cell)
|
||||||
|
- **Dimensions**: Stored as `uint16_t` for puzzles up to 65535x65535
|
||||||
|
|
||||||
|
For a 10x10 puzzle:
|
||||||
|
- Row hints: ~10 bytes
|
||||||
|
- Column hints: ~10 bytes
|
||||||
|
- Solution: ~13 bytes (10x10 bits = 100 bits = 13 bytes)
|
||||||
|
- Total: ~33 bytes + overhead
|
||||||
|
|
||||||
|
## Usage
|
||||||
|
|
||||||
|
### Basic Usage
|
||||||
|
|
||||||
|
```cpp
|
||||||
|
#include "nonogram.h"
|
||||||
|
|
||||||
|
// Load a single nonogram from file
|
||||||
|
auto nonogram = NonogramLoader::fromFile("puzzle.non");
|
||||||
|
if (nonogram) {
|
||||||
|
std::cout << "Loaded: " << nonogram->getWidth() << "x" << nonogram->getHeight() << std::endl;
|
||||||
|
|
||||||
|
// Access row hints
|
||||||
|
for (size_t i = 0; i < nonogram->getRowCount(); ++i) {
|
||||||
|
auto hints = nonogram->getRowHints(i);
|
||||||
|
// Process hints...
|
||||||
|
}
|
||||||
|
|
||||||
|
// Access column hints
|
||||||
|
for (size_t i = 0; i < nonogram->getColumnCount(); ++i) {
|
||||||
|
auto hints = nonogram->getColumnHints(i);
|
||||||
|
// Process hints...
|
||||||
|
}
|
||||||
|
|
||||||
|
// Access solution if available
|
||||||
|
if (nonogram->hasSolution()) {
|
||||||
|
for (size_t row = 0; row < nonogram->getHeight(); ++row) {
|
||||||
|
for (size_t col = 0; col < nonogram->getWidth(); ++col) {
|
||||||
|
bool filled = nonogram->getSolutionCell(row, col);
|
||||||
|
// Process cell...
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
### Load from Directory
|
||||||
|
|
||||||
|
```cpp
|
||||||
|
// Load all nonograms from a directory
|
||||||
|
auto puzzles = NonogramLoader::fromDirectory("/path/to/nonograms");
|
||||||
|
for (const auto& puzzle : puzzles) {
|
||||||
|
// Process each puzzle...
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
### Load from String
|
||||||
|
|
||||||
|
```cpp
|
||||||
|
std::string content = R"(
|
||||||
|
width 5
|
||||||
|
height 5
|
||||||
|
|
||||||
|
rows
|
||||||
|
1
|
||||||
|
2
|
||||||
|
3
|
||||||
|
4
|
||||||
|
5
|
||||||
|
|
||||||
|
columns
|
||||||
|
1
|
||||||
|
2
|
||||||
|
3
|
||||||
|
4
|
||||||
|
5
|
||||||
|
|
||||||
|
goal 1000010000100001000010000
|
||||||
|
)";
|
||||||
|
|
||||||
|
auto nonogram = NonogramLoader::fromString(content);
|
||||||
|
```
|
||||||
|
|
||||||
|
## Classes
|
||||||
|
|
||||||
|
### Nonogram
|
||||||
|
Main class storing puzzle data:
|
||||||
|
- `getWidth()` / `getHeight()`: Puzzle dimensions
|
||||||
|
- `getRowHints(row)`: Get hints for a specific row
|
||||||
|
- `getColumnHints(col)`: Get hints for a specific column
|
||||||
|
- `hasSolution()`: Check if solution is available
|
||||||
|
- `getSolutionCell(row, col)`: Get solution cell value
|
||||||
|
|
||||||
|
### NonogramLoader
|
||||||
|
Static utility class for loading:
|
||||||
|
- `fromFile(filename)`: Load from file
|
||||||
|
- `fromString(content)`: Load from string
|
||||||
|
- `fromDirectory(dirname)`: Load all .non files from directory
|
||||||
|
|
||||||
|
## Storage Details
|
||||||
|
|
||||||
|
### Hints Storage
|
||||||
|
- Uses `NonogramHintsStorage` class
|
||||||
|
- Each hint is a `uint8_t` (0-255)
|
||||||
|
- Compact storage with offset arrays
|
||||||
|
- Handles comma-separated hint sequences
|
||||||
|
|
||||||
|
### Solution Storage
|
||||||
|
- Uses `NonogramSolutionStorage` class
|
||||||
|
- 1 bit per cell (filled/empty)
|
||||||
|
- Packed into bytes for efficiency
|
||||||
|
- Supports loading from goal strings with or without quotes
|
||||||
|
|
||||||
|
## Supported Format
|
||||||
|
|
||||||
|
The loader supports the standard `.non` format:
|
||||||
|
- Width/height dimensions
|
||||||
|
- Row and column hints (comma-separated numbers)
|
||||||
|
- Optional solution/goal string
|
||||||
|
- Ignores metadata (author, title, copyright, etc.)
|
||||||
|
|
||||||
|
## Building
|
||||||
|
|
||||||
|
```bash
|
||||||
|
# Compile with C++17
|
||||||
|
g++ -std=c++17 -o myprogram main.cpp nonogram.cpp
|
||||||
|
```
|
||||||
|
|
||||||
|
## Example
|
||||||
|
|
||||||
|
See `example.cpp` for a complete usage example that demonstrates:
|
||||||
|
- Loading from file
|
||||||
|
- Accessing hints and solutions
|
||||||
|
- Loading from directory
|
||||||
|
- Displaying puzzle information
|
||||||
89
demos/nonogram/data/FORMAT.md
Normal file
89
demos/nonogram/data/FORMAT.md
Normal file
@@ -0,0 +1,89 @@
|
|||||||
|
## Rules
|
||||||
|
|
||||||
|
* The `non` file extension should be used to identify this format.
|
||||||
|
|
||||||
|
* Parsers must ignore any line that they don't recognize.
|
||||||
|
|
||||||
|
* There is no guaranteed order of keys, except that the `height` and `width` come before the `columns`, `rows`, and `goal` keys.
|
||||||
|
|
||||||
|
* The only required keys are `width`, `height`, `rows`, and `columns`.
|
||||||
|
|
||||||
|
* Encoding is always utf8.
|
||||||
|
|
||||||
|
* String values must be quoted and may have HTML escape codes in them.
|
||||||
|
|
||||||
|
* Blank lines can appear anywhere in between keys and should be ignored.
|
||||||
|
|
||||||
|
## Keys
|
||||||
|
|
||||||
|
* `catalogue`: string; freeform description of puzzle origin
|
||||||
|
|
||||||
|
* `title`: string; user-presentable name of puzzle
|
||||||
|
|
||||||
|
* `by`: string; author
|
||||||
|
|
||||||
|
* `copyright`: string; freeform description of copyright
|
||||||
|
|
||||||
|
* `license`: either license code from [SPDX][spdx] (non-quoted-string) or a quoted string freeform description
|
||||||
|
[spdx]: http://spdx.org/licenses/
|
||||||
|
|
||||||
|
* `color`: followed by a character designation (from a-z), then a space, then a six-digit hex color like #808080 (an example would be `color a #ff0000`); can be specified multiple times for multiple characters; these characters are used in the `rows`, `columns`, and `goal` keys; color designation characters may be present in such even if no `color` keys were specified, in which case the puzzle interface can pick its own colors
|
||||||
|
|
||||||
|
* `width`: int; number of columns
|
||||||
|
|
||||||
|
* `height`: int; number of rows
|
||||||
|
|
||||||
|
* `rows`: starts a sequence of lines, in number equal to `height`; represents the hints for each row; blank lines may be present if a row has no hints; each hint is a number, followed by an optional color character, separated by a comma from the next hint (an example multi-colored line would be `3b,1d,6b,4c,3a,1b,2b`); any characters after the number that aren't recognized should be ignored
|
||||||
|
|
||||||
|
* `columns`: same deal as `rows` but for columns
|
||||||
|
|
||||||
|
* `goal`: string; sequence of answer characters from top left of the puzzle along the first row, then the second row, etc.; 0 is a blank; anything else is a filled spot, likely either a 1 or a color character designation
|
||||||
|
|
||||||
|
## Bundling
|
||||||
|
|
||||||
|
You can bundle more than one puzzle in the same file. Just separate them with a divider of four `=` characters like `====` on a line by itself. Use the file extension `nonpack` to denote such bundles. This can be useful to logically group a sequence of puzzles and avoid many tiny files.
|
||||||
|
|
||||||
|
Obviously, you should probably only bundle files with compatible licenses.
|
||||||
|
|
||||||
|
You may also consider compressing your nonpacks with zlib and shipping them as `nonopack.gz` files.
|
||||||
|
|
||||||
|
## Identification
|
||||||
|
|
||||||
|
In order to identify a given puzzle (e.g. to store state data about it), you may be tempted to use the filename or puzzle name. But I'd recommend a hash of the `rows` and `columns` hint data. That will survive name changes and should still uniquely identify a given puzzle. If the hints change, it's a different puzzle after all!
|
||||||
|
|
||||||
|
## Example
|
||||||
|
|
||||||
|
catalogue "webpbn.com #1"
|
||||||
|
title "Demo Puzzle from Front Page"
|
||||||
|
by "Jan Wolter"
|
||||||
|
copyright "© Copyright 2004 by Jan Wolter"
|
||||||
|
license CC-BY-3.0
|
||||||
|
width 5
|
||||||
|
height 10
|
||||||
|
|
||||||
|
rows
|
||||||
|
2
|
||||||
|
2,1
|
||||||
|
1,1
|
||||||
|
3
|
||||||
|
1,1
|
||||||
|
1,1
|
||||||
|
2
|
||||||
|
1,1
|
||||||
|
1,2
|
||||||
|
2
|
||||||
|
|
||||||
|
columns
|
||||||
|
2,1
|
||||||
|
2,1,3
|
||||||
|
7
|
||||||
|
1,3
|
||||||
|
2,1
|
||||||
|
|
||||||
|
goal "01100011010010101110101001010000110010100101111000"
|
||||||
|
|
||||||
|
## Changes
|
||||||
|
|
||||||
|
* 2015-05-11: Add the `color` key (and associated use of the color designation character in the `rows`, `columns`, and `goal` keys). Also add the `license` key and bundling support.
|
||||||
|
|
||||||
|
* 2011?: Steve Simpson's original format.
|
||||||
675
demos/nonogram/data/LICENSE
Normal file
675
demos/nonogram/data/LICENSE
Normal file
@@ -0,0 +1,675 @@
|
|||||||
|
GNU GENERAL PUBLIC LICENSE
|
||||||
|
Version 3, 29 June 2007
|
||||||
|
|
||||||
|
Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
|
||||||
|
Everyone is permitted to copy and distribute verbatim copies
|
||||||
|
of this license document, but changing it is not allowed.
|
||||||
|
|
||||||
|
Preamble
|
||||||
|
|
||||||
|
The GNU General Public License is a free, copyleft license for
|
||||||
|
software and other kinds of works.
|
||||||
|
|
||||||
|
The licenses for most software and other practical works are designed
|
||||||
|
to take away your freedom to share and change the works. By contrast,
|
||||||
|
the GNU General Public License is intended to guarantee your freedom to
|
||||||
|
share and change all versions of a program--to make sure it remains free
|
||||||
|
software for all its users. We, the Free Software Foundation, use the
|
||||||
|
GNU General Public License for most of our software; it applies also to
|
||||||
|
any other work released this way by its authors. You can apply it to
|
||||||
|
your programs, too.
|
||||||
|
|
||||||
|
When we speak of free software, we are referring to freedom, not
|
||||||
|
price. Our General Public Licenses are designed to make sure that you
|
||||||
|
have the freedom to distribute copies of free software (and charge for
|
||||||
|
them if you wish), that you receive source code or can get it if you
|
||||||
|
want it, that you can change the software or use pieces of it in new
|
||||||
|
free programs, and that you know you can do these things.
|
||||||
|
|
||||||
|
To protect your rights, we need to prevent others from denying you
|
||||||
|
these rights or asking you to surrender the rights. Therefore, you have
|
||||||
|
certain responsibilities if you distribute copies of the software, or if
|
||||||
|
you modify it: responsibilities to respect the freedom of others.
|
||||||
|
|
||||||
|
For example, if you distribute copies of such a program, whether
|
||||||
|
gratis or for a fee, you must pass on to the recipients the same
|
||||||
|
freedoms that you received. You must make sure that they, too, receive
|
||||||
|
or can get the source code. And you must show them these terms so they
|
||||||
|
know their rights.
|
||||||
|
|
||||||
|
Developers that use the GNU GPL protect your rights with two steps:
|
||||||
|
(1) assert copyright on the software, and (2) offer you this License
|
||||||
|
giving you legal permission to copy, distribute and/or modify it.
|
||||||
|
|
||||||
|
For the developers' and authors' protection, the GPL clearly explains
|
||||||
|
that there is no warranty for this free software. For both users' and
|
||||||
|
authors' sake, the GPL requires that modified versions be marked as
|
||||||
|
changed, so that their problems will not be attributed erroneously to
|
||||||
|
authors of previous versions.
|
||||||
|
|
||||||
|
Some devices are designed to deny users access to install or run
|
||||||
|
modified versions of the software inside them, although the manufacturer
|
||||||
|
can do so. This is fundamentally incompatible with the aim of
|
||||||
|
protecting users' freedom to change the software. The systematic
|
||||||
|
pattern of such abuse occurs in the area of products for individuals to
|
||||||
|
use, which is precisely where it is most unacceptable. Therefore, we
|
||||||
|
have designed this version of the GPL to prohibit the practice for those
|
||||||
|
products. If such problems arise substantially in other domains, we
|
||||||
|
stand ready to extend this provision to those domains in future versions
|
||||||
|
of the GPL, as needed to protect the freedom of users.
|
||||||
|
|
||||||
|
Finally, every program is threatened constantly by software patents.
|
||||||
|
States should not allow patents to restrict development and use of
|
||||||
|
software on general-purpose computers, but in those that do, we wish to
|
||||||
|
avoid the special danger that patents applied to a free program could
|
||||||
|
make it effectively proprietary. To prevent this, the GPL assures that
|
||||||
|
patents cannot be used to render the program non-free.
|
||||||
|
|
||||||
|
The precise terms and conditions for copying, distribution and
|
||||||
|
modification follow.
|
||||||
|
|
||||||
|
TERMS AND CONDITIONS
|
||||||
|
|
||||||
|
0. Definitions.
|
||||||
|
|
||||||
|
"This License" refers to version 3 of the GNU General Public License.
|
||||||
|
|
||||||
|
"Copyright" also means copyright-like laws that apply to other kinds of
|
||||||
|
works, such as semiconductor masks.
|
||||||
|
|
||||||
|
"The Program" refers to any copyrightable work licensed under this
|
||||||
|
License. Each licensee is addressed as "you". "Licensees" and
|
||||||
|
"recipients" may be individuals or organizations.
|
||||||
|
|
||||||
|
To "modify" a work means to copy from or adapt all or part of the work
|
||||||
|
in a fashion requiring copyright permission, other than the making of an
|
||||||
|
exact copy. The resulting work is called a "modified version" of the
|
||||||
|
earlier work or a work "based on" the earlier work.
|
||||||
|
|
||||||
|
A "covered work" means either the unmodified Program or a work based
|
||||||
|
on the Program.
|
||||||
|
|
||||||
|
To "propagate" a work means to do anything with it that, without
|
||||||
|
permission, would make you directly or secondarily liable for
|
||||||
|
infringement under applicable copyright law, except executing it on a
|
||||||
|
computer or modifying a private copy. Propagation includes copying,
|
||||||
|
distribution (with or without modification), making available to the
|
||||||
|
public, and in some countries other activities as well.
|
||||||
|
|
||||||
|
To "convey" a work means any kind of propagation that enables other
|
||||||
|
parties to make or receive copies. Mere interaction with a user through
|
||||||
|
a computer network, with no transfer of a copy, is not conveying.
|
||||||
|
|
||||||
|
An interactive user interface displays "Appropriate Legal Notices"
|
||||||
|
to the extent that it includes a convenient and prominently visible
|
||||||
|
feature that (1) displays an appropriate copyright notice, and (2)
|
||||||
|
tells the user that there is no warranty for the work (except to the
|
||||||
|
extent that warranties are provided), that licensees may convey the
|
||||||
|
work under this License, and how to view a copy of this License. If
|
||||||
|
the interface presents a list of user commands or options, such as a
|
||||||
|
menu, a prominent item in the list meets this criterion.
|
||||||
|
|
||||||
|
1. Source Code.
|
||||||
|
|
||||||
|
The "source code" for a work means the preferred form of the work
|
||||||
|
for making modifications to it. "Object code" means any non-source
|
||||||
|
form of a work.
|
||||||
|
|
||||||
|
A "Standard Interface" means an interface that either is an official
|
||||||
|
standard defined by a recognized standards body, or, in the case of
|
||||||
|
interfaces specified for a particular programming language, one that
|
||||||
|
is widely used among developers working in that language.
|
||||||
|
|
||||||
|
The "System Libraries" of an executable work include anything, other
|
||||||
|
than the work as a whole, that (a) is included in the normal form of
|
||||||
|
packaging a Major Component, but which is not part of that Major
|
||||||
|
Component, and (b) serves only to enable use of the work with that
|
||||||
|
Major Component, or to implement a Standard Interface for which an
|
||||||
|
implementation is available to the public in source code form. A
|
||||||
|
"Major Component", in this context, means a major essential component
|
||||||
|
(kernel, window system, and so on) of the specific operating system
|
||||||
|
(if any) on which the executable work runs, or a compiler used to
|
||||||
|
produce the work, or an object code interpreter used to run it.
|
||||||
|
|
||||||
|
The "Corresponding Source" for a work in object code form means all
|
||||||
|
the source code needed to generate, install, and (for an executable
|
||||||
|
work) run the object code and to modify the work, including scripts to
|
||||||
|
control those activities. However, it does not include the work's
|
||||||
|
System Libraries, or general-purpose tools or generally available free
|
||||||
|
programs which are used unmodified in performing those activities but
|
||||||
|
which are not part of the work. For example, Corresponding Source
|
||||||
|
includes interface definition files associated with source files for
|
||||||
|
the work, and the source code for shared libraries and dynamically
|
||||||
|
linked subprograms that the work is specifically designed to require,
|
||||||
|
such as by intimate data communication or control flow between those
|
||||||
|
subprograms and other parts of the work.
|
||||||
|
|
||||||
|
The Corresponding Source need not include anything that users
|
||||||
|
can regenerate automatically from other parts of the Corresponding
|
||||||
|
Source.
|
||||||
|
|
||||||
|
The Corresponding Source for a work in source code form is that
|
||||||
|
same work.
|
||||||
|
|
||||||
|
2. Basic Permissions.
|
||||||
|
|
||||||
|
All rights granted under this License are granted for the term of
|
||||||
|
copyright on the Program, and are irrevocable provided the stated
|
||||||
|
conditions are met. This License explicitly affirms your unlimited
|
||||||
|
permission to run the unmodified Program. The output from running a
|
||||||
|
covered work is covered by this License only if the output, given its
|
||||||
|
content, constitutes a covered work. This License acknowledges your
|
||||||
|
rights of fair use or other equivalent, as provided by copyright law.
|
||||||
|
|
||||||
|
You may make, run and propagate covered works that you do not
|
||||||
|
convey, without conditions so long as your license otherwise remains
|
||||||
|
in force. You may convey covered works to others for the sole purpose
|
||||||
|
of having them make modifications exclusively for you, or provide you
|
||||||
|
with facilities for running those works, provided that you comply with
|
||||||
|
the terms of this License in conveying all material for which you do
|
||||||
|
not control copyright. Those thus making or running the covered works
|
||||||
|
for you must do so exclusively on your behalf, under your direction
|
||||||
|
and control, on terms that prohibit them from making any copies of
|
||||||
|
your copyrighted material outside their relationship with you.
|
||||||
|
|
||||||
|
Conveying under any other circumstances is permitted solely under
|
||||||
|
the conditions stated below. Sublicensing is not allowed; section 10
|
||||||
|
makes it unnecessary.
|
||||||
|
|
||||||
|
3. Protecting Users' Legal Rights From Anti-Circumvention Law.
|
||||||
|
|
||||||
|
No covered work shall be deemed part of an effective technological
|
||||||
|
measure under any applicable law fulfilling obligations under article
|
||||||
|
11 of the WIPO copyright treaty adopted on 20 December 1996, or
|
||||||
|
similar laws prohibiting or restricting circumvention of such
|
||||||
|
measures.
|
||||||
|
|
||||||
|
When you convey a covered work, you waive any legal power to forbid
|
||||||
|
circumvention of technological measures to the extent such circumvention
|
||||||
|
is effected by exercising rights under this License with respect to
|
||||||
|
the covered work, and you disclaim any intention to limit operation or
|
||||||
|
modification of the work as a means of enforcing, against the work's
|
||||||
|
users, your or third parties' legal rights to forbid circumvention of
|
||||||
|
technological measures.
|
||||||
|
|
||||||
|
4. Conveying Verbatim Copies.
|
||||||
|
|
||||||
|
You may convey verbatim copies of the Program's source code as you
|
||||||
|
receive it, in any medium, provided that you conspicuously and
|
||||||
|
appropriately publish on each copy an appropriate copyright notice;
|
||||||
|
keep intact all notices stating that this License and any
|
||||||
|
non-permissive terms added in accord with section 7 apply to the code;
|
||||||
|
keep intact all notices of the absence of any warranty; and give all
|
||||||
|
recipients a copy of this License along with the Program.
|
||||||
|
|
||||||
|
You may charge any price or no price for each copy that you convey,
|
||||||
|
and you may offer support or warranty protection for a fee.
|
||||||
|
|
||||||
|
5. Conveying Modified Source Versions.
|
||||||
|
|
||||||
|
You may convey a work based on the Program, or the modifications to
|
||||||
|
produce it from the Program, in the form of source code under the
|
||||||
|
terms of section 4, provided that you also meet all of these conditions:
|
||||||
|
|
||||||
|
a) The work must carry prominent notices stating that you modified
|
||||||
|
it, and giving a relevant date.
|
||||||
|
|
||||||
|
b) The work must carry prominent notices stating that it is
|
||||||
|
released under this License and any conditions added under section
|
||||||
|
7. This requirement modifies the requirement in section 4 to
|
||||||
|
"keep intact all notices".
|
||||||
|
|
||||||
|
c) You must license the entire work, as a whole, under this
|
||||||
|
License to anyone who comes into possession of a copy. This
|
||||||
|
License will therefore apply, along with any applicable section 7
|
||||||
|
additional terms, to the whole of the work, and all its parts,
|
||||||
|
regardless of how they are packaged. This License gives no
|
||||||
|
permission to license the work in any other way, but it does not
|
||||||
|
invalidate such permission if you have separately received it.
|
||||||
|
|
||||||
|
d) If the work has interactive user interfaces, each must display
|
||||||
|
Appropriate Legal Notices; however, if the Program has interactive
|
||||||
|
interfaces that do not display Appropriate Legal Notices, your
|
||||||
|
work need not make them do so.
|
||||||
|
|
||||||
|
A compilation of a covered work with other separate and independent
|
||||||
|
works, which are not by their nature extensions of the covered work,
|
||||||
|
and which are not combined with it such as to form a larger program,
|
||||||
|
in or on a volume of a storage or distribution medium, is called an
|
||||||
|
"aggregate" if the compilation and its resulting copyright are not
|
||||||
|
used to limit the access or legal rights of the compilation's users
|
||||||
|
beyond what the individual works permit. Inclusion of a covered work
|
||||||
|
in an aggregate does not cause this License to apply to the other
|
||||||
|
parts of the aggregate.
|
||||||
|
|
||||||
|
6. Conveying Non-Source Forms.
|
||||||
|
|
||||||
|
You may convey a covered work in object code form under the terms
|
||||||
|
of sections 4 and 5, provided that you also convey the
|
||||||
|
machine-readable Corresponding Source under the terms of this License,
|
||||||
|
in one of these ways:
|
||||||
|
|
||||||
|
a) Convey the object code in, or embodied in, a physical product
|
||||||
|
(including a physical distribution medium), accompanied by the
|
||||||
|
Corresponding Source fixed on a durable physical medium
|
||||||
|
customarily used for software interchange.
|
||||||
|
|
||||||
|
b) Convey the object code in, or embodied in, a physical product
|
||||||
|
(including a physical distribution medium), accompanied by a
|
||||||
|
written offer, valid for at least three years and valid for as
|
||||||
|
long as you offer spare parts or customer support for that product
|
||||||
|
model, to give anyone who possesses the object code either (1) a
|
||||||
|
copy of the Corresponding Source for all the software in the
|
||||||
|
product that is covered by this License, on a durable physical
|
||||||
|
medium customarily used for software interchange, for a price no
|
||||||
|
more than your reasonable cost of physically performing this
|
||||||
|
conveying of source, or (2) access to copy the
|
||||||
|
Corresponding Source from a network server at no charge.
|
||||||
|
|
||||||
|
c) Convey individual copies of the object code with a copy of the
|
||||||
|
written offer to provide the Corresponding Source. This
|
||||||
|
alternative is allowed only occasionally and noncommercially, and
|
||||||
|
only if you received the object code with such an offer, in accord
|
||||||
|
with subsection 6b.
|
||||||
|
|
||||||
|
d) Convey the object code by offering access from a designated
|
||||||
|
place (gratis or for a charge), and offer equivalent access to the
|
||||||
|
Corresponding Source in the same way through the same place at no
|
||||||
|
further charge. You need not require recipients to copy the
|
||||||
|
Corresponding Source along with the object code. If the place to
|
||||||
|
copy the object code is a network server, the Corresponding Source
|
||||||
|
may be on a different server (operated by you or a third party)
|
||||||
|
that supports equivalent copying facilities, provided you maintain
|
||||||
|
clear directions next to the object code saying where to find the
|
||||||
|
Corresponding Source. Regardless of what server hosts the
|
||||||
|
Corresponding Source, you remain obligated to ensure that it is
|
||||||
|
available for as long as needed to satisfy these requirements.
|
||||||
|
|
||||||
|
e) Convey the object code using peer-to-peer transmission, provided
|
||||||
|
you inform other peers where the object code and Corresponding
|
||||||
|
Source of the work are being offered to the general public at no
|
||||||
|
charge under subsection 6d.
|
||||||
|
|
||||||
|
A separable portion of the object code, whose source code is excluded
|
||||||
|
from the Corresponding Source as a System Library, need not be
|
||||||
|
included in conveying the object code work.
|
||||||
|
|
||||||
|
A "User Product" is either (1) a "consumer product", which means any
|
||||||
|
tangible personal property which is normally used for personal, family,
|
||||||
|
or household purposes, or (2) anything designed or sold for incorporation
|
||||||
|
into a dwelling. In determining whether a product is a consumer product,
|
||||||
|
doubtful cases shall be resolved in favor of coverage. For a particular
|
||||||
|
product received by a particular user, "normally used" refers to a
|
||||||
|
typical or common use of that class of product, regardless of the status
|
||||||
|
of the particular user or of the way in which the particular user
|
||||||
|
actually uses, or expects or is expected to use, the product. A product
|
||||||
|
is a consumer product regardless of whether the product has substantial
|
||||||
|
commercial, industrial or non-consumer uses, unless such uses represent
|
||||||
|
the only significant mode of use of the product.
|
||||||
|
|
||||||
|
"Installation Information" for a User Product means any methods,
|
||||||
|
procedures, authorization keys, or other information required to install
|
||||||
|
and execute modified versions of a covered work in that User Product from
|
||||||
|
a modified version of its Corresponding Source. The information must
|
||||||
|
suffice to ensure that the continued functioning of the modified object
|
||||||
|
code is in no case prevented or interfered with solely because
|
||||||
|
modification has been made.
|
||||||
|
|
||||||
|
If you convey an object code work under this section in, or with, or
|
||||||
|
specifically for use in, a User Product, and the conveying occurs as
|
||||||
|
part of a transaction in which the right of possession and use of the
|
||||||
|
User Product is transferred to the recipient in perpetuity or for a
|
||||||
|
fixed term (regardless of how the transaction is characterized), the
|
||||||
|
Corresponding Source conveyed under this section must be accompanied
|
||||||
|
by the Installation Information. But this requirement does not apply
|
||||||
|
if neither you nor any third party retains the ability to install
|
||||||
|
modified object code on the User Product (for example, the work has
|
||||||
|
been installed in ROM).
|
||||||
|
|
||||||
|
The requirement to provide Installation Information does not include a
|
||||||
|
requirement to continue to provide support service, warranty, or updates
|
||||||
|
for a work that has been modified or installed by the recipient, or for
|
||||||
|
the User Product in which it has been modified or installed. Access to a
|
||||||
|
network may be denied when the modification itself materially and
|
||||||
|
adversely affects the operation of the network or violates the rules and
|
||||||
|
protocols for communication across the network.
|
||||||
|
|
||||||
|
Corresponding Source conveyed, and Installation Information provided,
|
||||||
|
in accord with this section must be in a format that is publicly
|
||||||
|
documented (and with an implementation available to the public in
|
||||||
|
source code form), and must require no special password or key for
|
||||||
|
unpacking, reading or copying.
|
||||||
|
|
||||||
|
7. Additional Terms.
|
||||||
|
|
||||||
|
"Additional permissions" are terms that supplement the terms of this
|
||||||
|
License by making exceptions from one or more of its conditions.
|
||||||
|
Additional permissions that are applicable to the entire Program shall
|
||||||
|
be treated as though they were included in this License, to the extent
|
||||||
|
that they are valid under applicable law. If additional permissions
|
||||||
|
apply only to part of the Program, that part may be used separately
|
||||||
|
under those permissions, but the entire Program remains governed by
|
||||||
|
this License without regard to the additional permissions.
|
||||||
|
|
||||||
|
When you convey a copy of a covered work, you may at your option
|
||||||
|
remove any additional permissions from that copy, or from any part of
|
||||||
|
it. (Additional permissions may be written to require their own
|
||||||
|
removal in certain cases when you modify the work.) You may place
|
||||||
|
additional permissions on material, added by you to a covered work,
|
||||||
|
for which you have or can give appropriate copyright permission.
|
||||||
|
|
||||||
|
Notwithstanding any other provision of this License, for material you
|
||||||
|
add to a covered work, you may (if authorized by the copyright holders of
|
||||||
|
that material) supplement the terms of this License with terms:
|
||||||
|
|
||||||
|
a) Disclaiming warranty or limiting liability differently from the
|
||||||
|
terms of sections 15 and 16 of this License; or
|
||||||
|
|
||||||
|
b) Requiring preservation of specified reasonable legal notices or
|
||||||
|
author attributions in that material or in the Appropriate Legal
|
||||||
|
Notices displayed by works containing it; or
|
||||||
|
|
||||||
|
c) Prohibiting misrepresentation of the origin of that material, or
|
||||||
|
requiring that modified versions of such material be marked in
|
||||||
|
reasonable ways as different from the original version; or
|
||||||
|
|
||||||
|
d) Limiting the use for publicity purposes of names of licensors or
|
||||||
|
authors of the material; or
|
||||||
|
|
||||||
|
e) Declining to grant rights under trademark law for use of some
|
||||||
|
trade names, trademarks, or service marks; or
|
||||||
|
|
||||||
|
f) Requiring indemnification of licensors and authors of that
|
||||||
|
material by anyone who conveys the material (or modified versions of
|
||||||
|
it) with contractual assumptions of liability to the recipient, for
|
||||||
|
any liability that these contractual assumptions directly impose on
|
||||||
|
those licensors and authors.
|
||||||
|
|
||||||
|
All other non-permissive additional terms are considered "further
|
||||||
|
restrictions" within the meaning of section 10. If the Program as you
|
||||||
|
received it, or any part of it, contains a notice stating that it is
|
||||||
|
governed by this License along with a term that is a further
|
||||||
|
restriction, you may remove that term. If a license document contains
|
||||||
|
a further restriction but permits relicensing or conveying under this
|
||||||
|
License, you may add to a covered work material governed by the terms
|
||||||
|
of that license document, provided that the further restriction does
|
||||||
|
not survive such relicensing or conveying.
|
||||||
|
|
||||||
|
If you add terms to a covered work in accord with this section, you
|
||||||
|
must place, in the relevant source files, a statement of the
|
||||||
|
additional terms that apply to those files, or a notice indicating
|
||||||
|
where to find the applicable terms.
|
||||||
|
|
||||||
|
Additional terms, permissive or non-permissive, may be stated in the
|
||||||
|
form of a separately written license, or stated as exceptions;
|
||||||
|
the above requirements apply either way.
|
||||||
|
|
||||||
|
8. Termination.
|
||||||
|
|
||||||
|
You may not propagate or modify a covered work except as expressly
|
||||||
|
provided under this License. Any attempt otherwise to propagate or
|
||||||
|
modify it is void, and will automatically terminate your rights under
|
||||||
|
this License (including any patent licenses granted under the third
|
||||||
|
paragraph of section 11).
|
||||||
|
|
||||||
|
However, if you cease all violation of this License, then your
|
||||||
|
license from a particular copyright holder is reinstated (a)
|
||||||
|
provisionally, unless and until the copyright holder explicitly and
|
||||||
|
finally terminates your license, and (b) permanently, if the copyright
|
||||||
|
holder fails to notify you of the violation by some reasonable means
|
||||||
|
prior to 60 days after the cessation.
|
||||||
|
|
||||||
|
Moreover, your license from a particular copyright holder is
|
||||||
|
reinstated permanently if the copyright holder notifies you of the
|
||||||
|
violation by some reasonable means, this is the first time you have
|
||||||
|
received notice of violation of this License (for any work) from that
|
||||||
|
copyright holder, and you cure the violation prior to 30 days after
|
||||||
|
your receipt of the notice.
|
||||||
|
|
||||||
|
Termination of your rights under this section does not terminate the
|
||||||
|
licenses of parties who have received copies or rights from you under
|
||||||
|
this License. If your rights have been terminated and not permanently
|
||||||
|
reinstated, you do not qualify to receive new licenses for the same
|
||||||
|
material under section 10.
|
||||||
|
|
||||||
|
9. Acceptance Not Required for Having Copies.
|
||||||
|
|
||||||
|
You are not required to accept this License in order to receive or
|
||||||
|
run a copy of the Program. Ancillary propagation of a covered work
|
||||||
|
occurring solely as a consequence of using peer-to-peer transmission
|
||||||
|
to receive a copy likewise does not require acceptance. However,
|
||||||
|
nothing other than this License grants you permission to propagate or
|
||||||
|
modify any covered work. These actions infringe copyright if you do
|
||||||
|
not accept this License. Therefore, by modifying or propagating a
|
||||||
|
covered work, you indicate your acceptance of this License to do so.
|
||||||
|
|
||||||
|
10. Automatic Licensing of Downstream Recipients.
|
||||||
|
|
||||||
|
Each time you convey a covered work, the recipient automatically
|
||||||
|
receives a license from the original licensors, to run, modify and
|
||||||
|
propagate that work, subject to this License. You are not responsible
|
||||||
|
for enforcing compliance by third parties with this License.
|
||||||
|
|
||||||
|
An "entity transaction" is a transaction transferring control of an
|
||||||
|
organization, or substantially all assets of one, or subdividing an
|
||||||
|
organization, or merging organizations. If propagation of a covered
|
||||||
|
work results from an entity transaction, each party to that
|
||||||
|
transaction who receives a copy of the work also receives whatever
|
||||||
|
licenses to the work the party's predecessor in interest had or could
|
||||||
|
give under the previous paragraph, plus a right to possession of the
|
||||||
|
Corresponding Source of the work from the predecessor in interest, if
|
||||||
|
the predecessor has it or can get it with reasonable efforts.
|
||||||
|
|
||||||
|
You may not impose any further restrictions on the exercise of the
|
||||||
|
rights granted or affirmed under this License. For example, you may
|
||||||
|
not impose a license fee, royalty, or other charge for exercise of
|
||||||
|
rights granted under this License, and you may not initiate litigation
|
||||||
|
(including a cross-claim or counterclaim in a lawsuit) alleging that
|
||||||
|
any patent claim is infringed by making, using, selling, offering for
|
||||||
|
sale, or importing the Program or any portion of it.
|
||||||
|
|
||||||
|
11. Patents.
|
||||||
|
|
||||||
|
A "contributor" is a copyright holder who authorizes use under this
|
||||||
|
License of the Program or a work on which the Program is based. The
|
||||||
|
work thus licensed is called the contributor's "contributor version".
|
||||||
|
|
||||||
|
A contributor's "essential patent claims" are all patent claims
|
||||||
|
owned or controlled by the contributor, whether already acquired or
|
||||||
|
hereafter acquired, that would be infringed by some manner, permitted
|
||||||
|
by this License, of making, using, or selling its contributor version,
|
||||||
|
but do not include claims that would be infringed only as a
|
||||||
|
consequence of further modification of the contributor version. For
|
||||||
|
purposes of this definition, "control" includes the right to grant
|
||||||
|
patent sublicenses in a manner consistent with the requirements of
|
||||||
|
this License.
|
||||||
|
|
||||||
|
Each contributor grants you a non-exclusive, worldwide, royalty-free
|
||||||
|
patent license under the contributor's essential patent claims, to
|
||||||
|
make, use, sell, offer for sale, import and otherwise run, modify and
|
||||||
|
propagate the contents of its contributor version.
|
||||||
|
|
||||||
|
In the following three paragraphs, a "patent license" is any express
|
||||||
|
agreement or commitment, however denominated, not to enforce a patent
|
||||||
|
(such as an express permission to practice a patent or covenant not to
|
||||||
|
sue for patent infringement). To "grant" such a patent license to a
|
||||||
|
party means to make such an agreement or commitment not to enforce a
|
||||||
|
patent against the party.
|
||||||
|
|
||||||
|
If you convey a covered work, knowingly relying on a patent license,
|
||||||
|
and the Corresponding Source of the work is not available for anyone
|
||||||
|
to copy, free of charge and under the terms of this License, through a
|
||||||
|
publicly available network server or other readily accessible means,
|
||||||
|
then you must either (1) cause the Corresponding Source to be so
|
||||||
|
available, or (2) arrange to deprive yourself of the benefit of the
|
||||||
|
patent license for this particular work, or (3) arrange, in a manner
|
||||||
|
consistent with the requirements of this License, to extend the patent
|
||||||
|
license to downstream recipients. "Knowingly relying" means you have
|
||||||
|
actual knowledge that, but for the patent license, your conveying the
|
||||||
|
covered work in a country, or your recipient's use of the covered work
|
||||||
|
in a country, would infringe one or more identifiable patents in that
|
||||||
|
country that you have reason to believe are valid.
|
||||||
|
|
||||||
|
If, pursuant to or in connection with a single transaction or
|
||||||
|
arrangement, you convey, or propagate by procuring conveyance of, a
|
||||||
|
covered work, and grant a patent license to some of the parties
|
||||||
|
receiving the covered work authorizing them to use, propagate, modify
|
||||||
|
or convey a specific copy of the covered work, then the patent license
|
||||||
|
you grant is automatically extended to all recipients of the covered
|
||||||
|
work and works based on it.
|
||||||
|
|
||||||
|
A patent license is "discriminatory" if it does not include within
|
||||||
|
the scope of its coverage, prohibits the exercise of, or is
|
||||||
|
conditioned on the non-exercise of one or more of the rights that are
|
||||||
|
specifically granted under this License. You may not convey a covered
|
||||||
|
work if you are a party to an arrangement with a third party that is
|
||||||
|
in the business of distributing software, under which you make payment
|
||||||
|
to the third party based on the extent of your activity of conveying
|
||||||
|
the work, and under which the third party grants, to any of the
|
||||||
|
parties who would receive the covered work from you, a discriminatory
|
||||||
|
patent license (a) in connection with copies of the covered work
|
||||||
|
conveyed by you (or copies made from those copies), or (b) primarily
|
||||||
|
for and in connection with specific products or compilations that
|
||||||
|
contain the covered work, unless you entered into that arrangement,
|
||||||
|
or that patent license was granted, prior to 28 March 2007.
|
||||||
|
|
||||||
|
Nothing in this License shall be construed as excluding or limiting
|
||||||
|
any implied license or other defenses to infringement that may
|
||||||
|
otherwise be available to you under applicable patent law.
|
||||||
|
|
||||||
|
12. No Surrender of Others' Freedom.
|
||||||
|
|
||||||
|
If conditions are imposed on you (whether by court order, agreement or
|
||||||
|
otherwise) that contradict the conditions of this License, they do not
|
||||||
|
excuse you from the conditions of this License. If you cannot convey a
|
||||||
|
covered work so as to satisfy simultaneously your obligations under this
|
||||||
|
License and any other pertinent obligations, then as a consequence you may
|
||||||
|
not convey it at all. For example, if you agree to terms that obligate you
|
||||||
|
to collect a royalty for further conveying from those to whom you convey
|
||||||
|
the Program, the only way you could satisfy both those terms and this
|
||||||
|
License would be to refrain entirely from conveying the Program.
|
||||||
|
|
||||||
|
13. Use with the GNU Affero General Public License.
|
||||||
|
|
||||||
|
Notwithstanding any other provision of this License, you have
|
||||||
|
permission to link or combine any covered work with a work licensed
|
||||||
|
under version 3 of the GNU Affero General Public License into a single
|
||||||
|
combined work, and to convey the resulting work. The terms of this
|
||||||
|
License will continue to apply to the part which is the covered work,
|
||||||
|
but the special requirements of the GNU Affero General Public License,
|
||||||
|
section 13, concerning interaction through a network will apply to the
|
||||||
|
combination as such.
|
||||||
|
|
||||||
|
14. Revised Versions of this License.
|
||||||
|
|
||||||
|
The Free Software Foundation may publish revised and/or new versions of
|
||||||
|
the GNU General Public License from time to time. Such new versions will
|
||||||
|
be similar in spirit to the present version, but may differ in detail to
|
||||||
|
address new problems or concerns.
|
||||||
|
|
||||||
|
Each version is given a distinguishing version number. If the
|
||||||
|
Program specifies that a certain numbered version of the GNU General
|
||||||
|
Public License "or any later version" applies to it, you have the
|
||||||
|
option of following the terms and conditions either of that numbered
|
||||||
|
version or of any later version published by the Free Software
|
||||||
|
Foundation. If the Program does not specify a version number of the
|
||||||
|
GNU General Public License, you may choose any version ever published
|
||||||
|
by the Free Software Foundation.
|
||||||
|
|
||||||
|
If the Program specifies that a proxy can decide which future
|
||||||
|
versions of the GNU General Public License can be used, that proxy's
|
||||||
|
public statement of acceptance of a version permanently authorizes you
|
||||||
|
to choose that version for the Program.
|
||||||
|
|
||||||
|
Later license versions may give you additional or different
|
||||||
|
permissions. However, no additional obligations are imposed on any
|
||||||
|
author or copyright holder as a result of your choosing to follow a
|
||||||
|
later version.
|
||||||
|
|
||||||
|
15. Disclaimer of Warranty.
|
||||||
|
|
||||||
|
THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
|
||||||
|
APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
|
||||||
|
HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
|
||||||
|
OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
|
||||||
|
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
||||||
|
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
|
||||||
|
IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
|
||||||
|
ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
|
||||||
|
|
||||||
|
16. Limitation of Liability.
|
||||||
|
|
||||||
|
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
|
||||||
|
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
|
||||||
|
THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
|
||||||
|
GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
|
||||||
|
USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
|
||||||
|
DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
|
||||||
|
PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
|
||||||
|
EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
|
||||||
|
SUCH DAMAGES.
|
||||||
|
|
||||||
|
17. Interpretation of Sections 15 and 16.
|
||||||
|
|
||||||
|
If the disclaimer of warranty and limitation of liability provided
|
||||||
|
above cannot be given local legal effect according to their terms,
|
||||||
|
reviewing courts shall apply local law that most closely approximates
|
||||||
|
an absolute waiver of all civil liability in connection with the
|
||||||
|
Program, unless a warranty or assumption of liability accompanies a
|
||||||
|
copy of the Program in return for a fee.
|
||||||
|
|
||||||
|
END OF TERMS AND CONDITIONS
|
||||||
|
|
||||||
|
How to Apply These Terms to Your New Programs
|
||||||
|
|
||||||
|
If you develop a new program, and you want it to be of the greatest
|
||||||
|
possible use to the public, the best way to achieve this is to make it
|
||||||
|
free software which everyone can redistribute and change under these terms.
|
||||||
|
|
||||||
|
To do so, attach the following notices to the program. It is safest
|
||||||
|
to attach them to the start of each source file to most effectively
|
||||||
|
state the exclusion of warranty; and each file should have at least
|
||||||
|
the "copyright" line and a pointer to where the full notice is found.
|
||||||
|
|
||||||
|
{one line to give the program's name and a brief idea of what it does.}
|
||||||
|
Copyright (C) {year} {name of author}
|
||||||
|
|
||||||
|
This program is free software: you can redistribute it and/or modify
|
||||||
|
it under the terms of the GNU General Public License as published by
|
||||||
|
the Free Software Foundation, either version 3 of the License, or
|
||||||
|
(at your option) any later version.
|
||||||
|
|
||||||
|
This program is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU General Public License
|
||||||
|
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
|
Also add information on how to contact you by electronic and paper mail.
|
||||||
|
|
||||||
|
If the program does terminal interaction, make it output a short
|
||||||
|
notice like this when it starts in an interactive mode:
|
||||||
|
|
||||||
|
{project} Copyright (C) {year} {fullname}
|
||||||
|
This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
|
||||||
|
This is free software, and you are welcome to redistribute it
|
||||||
|
under certain conditions; type `show c' for details.
|
||||||
|
|
||||||
|
The hypothetical commands `show w' and `show c' should show the appropriate
|
||||||
|
parts of the General Public License. Of course, your program's commands
|
||||||
|
might be different; for a GUI interface, you would use an "about box".
|
||||||
|
|
||||||
|
You should also get your employer (if you work as a programmer) or school,
|
||||||
|
if any, to sign a "copyright disclaimer" for the program, if necessary.
|
||||||
|
For more information on this, and how to apply and follow the GNU GPL, see
|
||||||
|
<http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
|
The GNU General Public License does not permit incorporating your program
|
||||||
|
into proprietary programs. If your program is a subroutine library, you
|
||||||
|
may consider it more useful to permit linking proprietary applications with
|
||||||
|
the library. If this is what you want to do, use the GNU Lesser General
|
||||||
|
Public License instead of this License. But first, please read
|
||||||
|
<http://www.gnu.org/philosophy/why-not-lgpl.html>.
|
||||||
|
|
||||||
71
demos/nonogram/data/db/gnonograms/42.non
Normal file
71
demos/nonogram/data/db/gnonograms/42.non
Normal file
@@ -0,0 +1,71 @@
|
|||||||
|
catalogue "gnonograms 42.gno"
|
||||||
|
title "Meaning of life the universe and"
|
||||||
|
by "Frederico Vera <dktcoding@gmail.com>"
|
||||||
|
copyright "© 2010 Frederico Vera <dktcoding@gmail.com>"
|
||||||
|
license CC-BY-SA-4.0
|
||||||
|
height 23
|
||||||
|
width 35
|
||||||
|
|
||||||
|
rows
|
||||||
|
3
|
||||||
|
5,8
|
||||||
|
6,11
|
||||||
|
7,13
|
||||||
|
8,7,5
|
||||||
|
8,5,4
|
||||||
|
9,3,4
|
||||||
|
5,4,4
|
||||||
|
4,4,5
|
||||||
|
5,4,6
|
||||||
|
5,4,6
|
||||||
|
5,4,7
|
||||||
|
5,4,7
|
||||||
|
16,6
|
||||||
|
18,6
|
||||||
|
18,5
|
||||||
|
16,5
|
||||||
|
4,4
|
||||||
|
4,4
|
||||||
|
4,13
|
||||||
|
4,15
|
||||||
|
4,15
|
||||||
|
4,13
|
||||||
|
|
||||||
|
columns
|
||||||
|
2
|
||||||
|
4
|
||||||
|
6
|
||||||
|
7
|
||||||
|
8
|
||||||
|
10
|
||||||
|
11
|
||||||
|
7,4
|
||||||
|
7,4
|
||||||
|
6,4
|
||||||
|
6,4
|
||||||
|
23
|
||||||
|
23
|
||||||
|
23
|
||||||
|
22
|
||||||
|
4
|
||||||
|
4
|
||||||
|
2
|
||||||
|
0
|
||||||
|
0
|
||||||
|
3,6
|
||||||
|
4,8
|
||||||
|
5,9
|
||||||
|
4,10
|
||||||
|
5,5,4
|
||||||
|
4,5,4
|
||||||
|
4,4,4
|
||||||
|
3,5,4
|
||||||
|
3,5,4
|
||||||
|
4,5,4
|
||||||
|
12,4
|
||||||
|
11,4
|
||||||
|
9,4
|
||||||
|
7,3
|
||||||
|
2
|
||||||
|
|
||||||
|
goal "0000000000011100000000000000000000000000000001111100000000011111111000000000000111111000000011111111111000000000011111110000001111111111111000000001111111100000111111100111110000000011111111000001111100000111100000001111111110000011100000001111000000111110111100000000000000011110000001111001111000000000000001111100000111110011110000000000000111111000011111000111100000000000011111100001111100001111000000000011111110000011111000011110000000001111111000001111111111111111000000111111000000111111111111111111000011111100000001111111111111111110001111100000000001111111111111111000111110000000000000000000001111000001111000000000000000000000011110000011110000000000000000000000111100000111111111111100000000000001111000001111111111111110000000000011110000011111111111111100000000000111100000011111111111110"
|
||||||
1
demos/nonogram/data/db/gnonograms/README.md
Normal file
1
demos/nonogram/data/db/gnonograms/README.md
Normal file
@@ -0,0 +1 @@
|
|||||||
|
These were taken from the `gnonograms` program.
|
||||||
68
demos/nonogram/data/db/gnonograms/blender.non
Normal file
68
demos/nonogram/data/db/gnonograms/blender.non
Normal file
@@ -0,0 +1,68 @@
|
|||||||
|
catalogue "gnonograms blender.gno"
|
||||||
|
title "Blender"
|
||||||
|
by "Frederico Vera <dktcoding@gmail.com>"
|
||||||
|
copyright "© 2010 Frederico Vera <dktcoding@gmail.com>"
|
||||||
|
license CC-BY-SA-4.0
|
||||||
|
height 25
|
||||||
|
width 30
|
||||||
|
|
||||||
|
rows
|
||||||
|
3
|
||||||
|
5
|
||||||
|
4
|
||||||
|
5
|
||||||
|
5
|
||||||
|
19
|
||||||
|
22
|
||||||
|
22
|
||||||
|
5,5
|
||||||
|
6,5
|
||||||
|
5,4,4
|
||||||
|
6,7,3
|
||||||
|
7,7,4
|
||||||
|
9,8,4
|
||||||
|
9,8,4
|
||||||
|
6,5,7,4
|
||||||
|
6,5,5,4
|
||||||
|
5,5,4
|
||||||
|
4,6,5
|
||||||
|
3,6,6
|
||||||
|
15
|
||||||
|
12
|
||||||
|
9
|
||||||
|
5
|
||||||
|
3
|
||||||
|
|
||||||
|
columns
|
||||||
|
2
|
||||||
|
4
|
||||||
|
5
|
||||||
|
5
|
||||||
|
1,5
|
||||||
|
3,4
|
||||||
|
3,5
|
||||||
|
3,4
|
||||||
|
3,4
|
||||||
|
3,7
|
||||||
|
3,10
|
||||||
|
15
|
||||||
|
16
|
||||||
|
7,6
|
||||||
|
2,5,5
|
||||||
|
2,5,5
|
||||||
|
3,3,5,4
|
||||||
|
7,6,4
|
||||||
|
7,7,5
|
||||||
|
6,7,5
|
||||||
|
5,7,5
|
||||||
|
5,7,4
|
||||||
|
3,5,4
|
||||||
|
5,2,5
|
||||||
|
4,4
|
||||||
|
5,6
|
||||||
|
14
|
||||||
|
12
|
||||||
|
8
|
||||||
|
4
|
||||||
|
|
||||||
|
goal "000000000000001110000000000000000000000000001111100000000000000000000000000011110000000000000000000000000001111100000000000000000000000001111100000000000001111111111111111111000000000011111111111111111111110000000001111111111111111111111000000000000001111100000001111100000000000011111100000001111100000000000111110000111100011110000000001111110011111110001110000000111111100011111110001111000011111111100011111111001111000011111111100011111111001111001111110111110011111110001111011111100111110001111100011110111110000011111000000000011110111100000011111100000001111100011100000001111110000011111100000000000000111111111111111000000000000000001111111111110000000000000000000111111111000000000000000000000001111100000000000000000000000000111000000000"
|
||||||
74
demos/nonogram/data/db/gnonograms/gnome.non
Normal file
74
demos/nonogram/data/db/gnonograms/gnome.non
Normal file
@@ -0,0 +1,74 @@
|
|||||||
|
catalogue "gnonograms gnome.gno"
|
||||||
|
title "Gnome"
|
||||||
|
by "Frederico Vera <dktcoding@gmail.com>"
|
||||||
|
copyright "© 2010 Frederico Vera <dktcoding@gmail.com>"
|
||||||
|
license CC-BY-SA-4.0
|
||||||
|
height 34
|
||||||
|
width 27
|
||||||
|
|
||||||
|
rows
|
||||||
|
4
|
||||||
|
2,6
|
||||||
|
3,7
|
||||||
|
4,8
|
||||||
|
2,4,9
|
||||||
|
4,4,9
|
||||||
|
4,4,8
|
||||||
|
4,3,7
|
||||||
|
4,3,5
|
||||||
|
3,3,3
|
||||||
|
4
|
||||||
|
4
|
||||||
|
3,8
|
||||||
|
2,14
|
||||||
|
16
|
||||||
|
17
|
||||||
|
19
|
||||||
|
18
|
||||||
|
19
|
||||||
|
18
|
||||||
|
18
|
||||||
|
16
|
||||||
|
14
|
||||||
|
12
|
||||||
|
11
|
||||||
|
9,5
|
||||||
|
8,6
|
||||||
|
8,7
|
||||||
|
8,6
|
||||||
|
7,7
|
||||||
|
15
|
||||||
|
13
|
||||||
|
11
|
||||||
|
9
|
||||||
|
|
||||||
|
columns
|
||||||
|
3
|
||||||
|
4
|
||||||
|
5,3
|
||||||
|
4,7
|
||||||
|
12
|
||||||
|
4,13
|
||||||
|
6,15
|
||||||
|
6,17
|
||||||
|
5,19
|
||||||
|
20
|
||||||
|
21
|
||||||
|
4,21
|
||||||
|
7,14,6
|
||||||
|
8,13,4
|
||||||
|
8,12,4
|
||||||
|
11,4
|
||||||
|
10,5
|
||||||
|
10,7
|
||||||
|
4,9,9
|
||||||
|
6,9,8
|
||||||
|
8,7,7
|
||||||
|
9,6,6
|
||||||
|
10,3,5
|
||||||
|
9,2
|
||||||
|
8
|
||||||
|
7
|
||||||
|
5
|
||||||
|
|
||||||
|
goal "000000000000000000000011110000000000000011000000111111000000000000111000001111111000000000001111000011111111000000110001111000111111111000001111001111000111111111000001111001111000111111110000001111000111000111111100000001111000111000011111000111000111000000000001110000111100000000000000000000000111100000000000000000000000011100000000111111110000000001100001111111111111100000000000011111111111111110000000000111111111111111110000000011111111111111111110000000011111111111111111100000000111111111111111111100000000111111111111111111000000001111111111111111110000000001111111111111111000000000001111111111111100000000000000111111111111000000000000000111111111110000000000000000011111111100000111110000000011111111000000111111000000011111111000001111111000000001111111100001111110000000000111111100011111110000000000011111111111111100000000000001111111111111000000000000000111111111110000000000000000011111111100000000"
|
||||||
95
demos/nonogram/data/db/gnonograms/kde.non
Normal file
95
demos/nonogram/data/db/gnonograms/kde.non
Normal file
@@ -0,0 +1,95 @@
|
|||||||
|
catalogue "gnonograms kde.gno"
|
||||||
|
title "KDE"
|
||||||
|
by "Frederico Vera <dktcoding@gmail.com>"
|
||||||
|
copyright "© 2010 Frederico Vera <dktcoding@gmail.com>"
|
||||||
|
license CC-BY-SA-4.0
|
||||||
|
height 41
|
||||||
|
width 41
|
||||||
|
|
||||||
|
rows
|
||||||
|
35
|
||||||
|
39
|
||||||
|
2,2
|
||||||
|
2,33,2
|
||||||
|
2,35,2
|
||||||
|
2,14,6,4,2
|
||||||
|
2,14,6,3,2
|
||||||
|
2,14,5,3,2
|
||||||
|
2,14,4,4,2
|
||||||
|
2,14,3,5,2
|
||||||
|
2,7,6,3,6,2
|
||||||
|
2,6,4,2,6,2
|
||||||
|
2,5,1,1,7,2
|
||||||
|
2,6,1,8,2
|
||||||
|
2,6,1,9,2
|
||||||
|
2,7,3,9,2
|
||||||
|
2,7,4,9,2
|
||||||
|
2,7,4,8,2
|
||||||
|
2,7,5,1,8,2
|
||||||
|
2,4,5,1,7,2
|
||||||
|
2,2,6,2,6,2
|
||||||
|
2,2,6,3,5,2
|
||||||
|
2,2,6,3,5,2
|
||||||
|
2,2,6,4,4,2
|
||||||
|
2,5,5,5,3,2
|
||||||
|
2,7,5,5,3,2
|
||||||
|
2,7,5,6,4,2
|
||||||
|
2,7,14,1,7,2
|
||||||
|
2,7,12,9,2
|
||||||
|
2,6,9,7,2
|
||||||
|
2,5,4,7,2
|
||||||
|
2,5,6,2
|
||||||
|
2,6,4,4,7,2
|
||||||
|
2,7,6,5,8,2
|
||||||
|
2,14,16,2
|
||||||
|
2,15,16,2
|
||||||
|
2,15,16,2
|
||||||
|
2,33,2
|
||||||
|
2,3
|
||||||
|
39
|
||||||
|
35
|
||||||
|
|
||||||
|
columns
|
||||||
|
35
|
||||||
|
39
|
||||||
|
2,2
|
||||||
|
2,33,2
|
||||||
|
2,35,2
|
||||||
|
2,17,14,2
|
||||||
|
2,17,14,2
|
||||||
|
2,16,14,2
|
||||||
|
2,9,6,5,6,2
|
||||||
|
2,8,4,4,5,2
|
||||||
|
2,7,4,2
|
||||||
|
2,8,4,5,2
|
||||||
|
2,8,9,5,2
|
||||||
|
2,9,12,6,2
|
||||||
|
2,9,14,6,2
|
||||||
|
2,9,15,6,2
|
||||||
|
2,27,6,2
|
||||||
|
2,2,3,3,2
|
||||||
|
2,2,4,1,2
|
||||||
|
2,2,4,1,2
|
||||||
|
2,2,4,1,2
|
||||||
|
2,2,4,1,2
|
||||||
|
2,2,3,4,2
|
||||||
|
2,10,12,6,2
|
||||||
|
2,9,9,6,2
|
||||||
|
2,8,8,6,2
|
||||||
|
2,6,5,6,2
|
||||||
|
2,5,3,5,2
|
||||||
|
2,4,1,4,2
|
||||||
|
2,2,3,2,4,2
|
||||||
|
2,2,6,1,5,2
|
||||||
|
2,2,8,4,6,2
|
||||||
|
2,2,11,11,2
|
||||||
|
2,2,14,11,2
|
||||||
|
2,3,16,12,2
|
||||||
|
2,35,2
|
||||||
|
2,35,2
|
||||||
|
2,33,2
|
||||||
|
2,2
|
||||||
|
39
|
||||||
|
36
|
||||||
|
|
||||||
|
goal "0001111111111111111111111111111111111100001111111111111111111111111111111111111110011000000000000000000000000000000000001101100111111111111111111111111111111111001111011111111111111111111111111111111111011110111111111111110000001111110000011110111101111111111111100000011111100000011101111011111111111111000000111110000000111011110111111111111110000001111000000011110111101111111111111100000011100000001111101111011111110111111000000111000000111111011110111111000011110000001100000001111110111101111100000000100000010000000111111101111011111100000001000000000000011111111011110111111000000010000000000001111111110111101111111000011100000000000011111111101111011111110001111000000000000111111111011110111111100011110000000000000111111110111101111111001111100000010000001111111101111011110000011111000000100000001111111011110110000001111110000001100000001111110111101100000011111100000011100000001111101111011000000111111000000111000000011111011110110000001111110000001111000000011110111101111100001111100000011111000000011101111011111110011111000000111110000000111011110111111100111110000001111110000011110111101111111000111111111111110010111111101111011111110000111111111111000111111111011110111111000000111111111000000011111110111101111100000000001111000000000111111101111011111000000000000000000000000111111011110111111000011110000001111000011111110111101111111011111100000011111001111111101111011111111111111000001111111111111111011110111111111111111000011111111111111110111101111111111111110000111111111111111101111001111111111111111111111111111111110011011000000000000000000000000000000000001110111111111111111111111111111111111111111000011111111111111111111111111111111111000"
|
||||||
59
demos/nonogram/data/db/gnonograms/spade.non
Normal file
59
demos/nonogram/data/db/gnonograms/spade.non
Normal file
@@ -0,0 +1,59 @@
|
|||||||
|
catalogue "gnonograms spade.gno"
|
||||||
|
title "Spade"
|
||||||
|
by "Frederico Vera <dktcoding@gmail.com>"
|
||||||
|
copyright "© 2010 Frederico Vera <dktcoding@gmail.com>"
|
||||||
|
license CC-BY-SA-4.0
|
||||||
|
height 23
|
||||||
|
width 23
|
||||||
|
|
||||||
|
rows
|
||||||
|
3
|
||||||
|
7
|
||||||
|
9
|
||||||
|
9
|
||||||
|
11
|
||||||
|
11
|
||||||
|
11
|
||||||
|
17
|
||||||
|
19
|
||||||
|
21
|
||||||
|
21
|
||||||
|
23
|
||||||
|
23
|
||||||
|
23
|
||||||
|
21
|
||||||
|
21
|
||||||
|
7,3,7
|
||||||
|
4,3,4
|
||||||
|
5
|
||||||
|
7
|
||||||
|
11
|
||||||
|
15
|
||||||
|
15
|
||||||
|
|
||||||
|
columns
|
||||||
|
3
|
||||||
|
7
|
||||||
|
9
|
||||||
|
10
|
||||||
|
11,2
|
||||||
|
11,2
|
||||||
|
14,3
|
||||||
|
16,3
|
||||||
|
16,4
|
||||||
|
15,5
|
||||||
|
23
|
||||||
|
23
|
||||||
|
23
|
||||||
|
15,5
|
||||||
|
16,4
|
||||||
|
16,3
|
||||||
|
14,3
|
||||||
|
11,2
|
||||||
|
11,2
|
||||||
|
10
|
||||||
|
9
|
||||||
|
7
|
||||||
|
3
|
||||||
|
|
||||||
|
goal "0000000000111000000000000000000111111100000000000000011111111100000000000000111111111000000000000011111111111000000000000111111111110000000000001111111111100000000011111111111111111000001111111111111111111000111111111111111111111001111111111111111111110111111111111111111111111111111111111111111111111111111111111111111111011111111111111111111100111111111111111111111000111111101110111111100000011110011100111100000000000001111100000000000000000111111100000000000000111111111110000000000111111111111111000000001111111111111110000"
|
||||||
83
demos/nonogram/data/db/gnonograms/ubuntu.non
Normal file
83
demos/nonogram/data/db/gnonograms/ubuntu.non
Normal file
@@ -0,0 +1,83 @@
|
|||||||
|
catalogue "gnonograms ubuntu.gno"
|
||||||
|
title "Ubuntu"
|
||||||
|
by "Frederico Vera <dktcoding@gmail.com>"
|
||||||
|
copyright "© 2010 Frederico Vera <dktcoding@gmail.com>"
|
||||||
|
license CC-BY-SA-4.0
|
||||||
|
height 35
|
||||||
|
width 35
|
||||||
|
|
||||||
|
rows
|
||||||
|
2
|
||||||
|
5
|
||||||
|
6
|
||||||
|
1,3,8
|
||||||
|
9,8
|
||||||
|
10,6
|
||||||
|
1,10,4
|
||||||
|
3,10
|
||||||
|
5,15
|
||||||
|
6,2,11
|
||||||
|
7,9
|
||||||
|
7,8
|
||||||
|
6,7
|
||||||
|
7,7
|
||||||
|
3,5,6
|
||||||
|
5,4,5
|
||||||
|
7,2,3
|
||||||
|
7,2
|
||||||
|
7,2
|
||||||
|
7,2,3
|
||||||
|
5,4,5
|
||||||
|
3,5,6
|
||||||
|
7,7
|
||||||
|
7,7
|
||||||
|
7,8
|
||||||
|
6,9
|
||||||
|
5,2,10
|
||||||
|
5,15
|
||||||
|
3,10
|
||||||
|
1,10,3
|
||||||
|
10,5
|
||||||
|
9,7
|
||||||
|
7
|
||||||
|
5
|
||||||
|
3
|
||||||
|
|
||||||
|
columns
|
||||||
|
4
|
||||||
|
6
|
||||||
|
8
|
||||||
|
8
|
||||||
|
8
|
||||||
|
6
|
||||||
|
1,4,1
|
||||||
|
4,4
|
||||||
|
6,6
|
||||||
|
20
|
||||||
|
22
|
||||||
|
10,10
|
||||||
|
7,7
|
||||||
|
4,5
|
||||||
|
1,2,1
|
||||||
|
3,3
|
||||||
|
5,5
|
||||||
|
7,6
|
||||||
|
6,6
|
||||||
|
6,5
|
||||||
|
6,5
|
||||||
|
7,5
|
||||||
|
6,6
|
||||||
|
6,6
|
||||||
|
5,5
|
||||||
|
2,4,4,2
|
||||||
|
5,4,4,4
|
||||||
|
6,5,5,6
|
||||||
|
7,6,6,6
|
||||||
|
7,8,8,6
|
||||||
|
6,9,9,4
|
||||||
|
4,8,8,2
|
||||||
|
2,7,7
|
||||||
|
5,5
|
||||||
|
2,2
|
||||||
|
|
||||||
|
goal "0000000000000000000000000000110000000000000000000000000000000111110000000000000000000000000000001111110000000000000000000010111000111111110000000000000000011111111101111111100000000000000001111111111001111110000000000000010001111111111001111000000000000001110001111111111000000000000000000111110011111111111111100000000000001111110011001111111111100000000000111111100000000011111111100000000011111110000000000001111111100000000111111000000000000001111111000000011111110000000000000001111111001110011111000000000000000001111110111110011110000000000000000011111011111110011000000000000000000011100111111100110000000000000000000000001111111001100000000000000000000000011111110011000000000000000000011100011111001111000000000000000001111100011100111110000000000000000011111100000011111110000000000000001111111000000011111110000000000000111111100000000111111100000000000011111111000000000111111000000000011111111100000000000111110001100011111111110000000000001111100111111111111111000000000000001110001111111111000000000000000000001000111111111100111000000000000000000011111111110011111000000000000000000011111111101111111000000000000000000000000000011111110000000000000000000000000000011111000000000000000000000000000000011100000"
|
||||||
90
demos/nonogram/data/db/gnonograms/wikimedia.non
Normal file
90
demos/nonogram/data/db/gnonograms/wikimedia.non
Normal file
@@ -0,0 +1,90 @@
|
|||||||
|
catalogue "gnonograms wikimedia.gno"
|
||||||
|
title "Wikimedia"
|
||||||
|
by "Frederico Vera <dktcoding@gmail.com>"
|
||||||
|
copyright "© 2010 Frederico Vera <dktcoding@gmail.com>"
|
||||||
|
license CC-BY-SA-4.0
|
||||||
|
height 38
|
||||||
|
width 39
|
||||||
|
|
||||||
|
rows
|
||||||
|
7
|
||||||
|
9
|
||||||
|
11
|
||||||
|
12
|
||||||
|
13
|
||||||
|
2,13,2
|
||||||
|
4,13,4
|
||||||
|
6,13,5
|
||||||
|
7,12,7
|
||||||
|
6,11,7
|
||||||
|
6,2,9,1,6
|
||||||
|
5,3,6,3,6
|
||||||
|
6,5,4,6
|
||||||
|
5,7,6,5
|
||||||
|
5,8,7,6
|
||||||
|
5,9,9,6
|
||||||
|
5,10,10,5
|
||||||
|
5,10,10,5
|
||||||
|
5,10,10,5
|
||||||
|
5,10,10,5
|
||||||
|
6,10,10,5
|
||||||
|
5,10,10,5
|
||||||
|
5,9,10,6
|
||||||
|
5,9,9,5
|
||||||
|
6,8,9,5
|
||||||
|
5,8,8,6
|
||||||
|
6,7,7,5
|
||||||
|
6,6,6,6
|
||||||
|
6,5,5,6
|
||||||
|
6,3,3,7
|
||||||
|
8,7
|
||||||
|
9,8
|
||||||
|
11,10
|
||||||
|
25
|
||||||
|
23
|
||||||
|
19
|
||||||
|
13
|
||||||
|
7
|
||||||
|
|
||||||
|
columns
|
||||||
|
4
|
||||||
|
13
|
||||||
|
18
|
||||||
|
21
|
||||||
|
24
|
||||||
|
11,12
|
||||||
|
8,9
|
||||||
|
6,8
|
||||||
|
4,6,7
|
||||||
|
2,11,6
|
||||||
|
14,6
|
||||||
|
17,6
|
||||||
|
18,5
|
||||||
|
4,18,6
|
||||||
|
8,17,5
|
||||||
|
10,17,5
|
||||||
|
11,16,6
|
||||||
|
12,15,5
|
||||||
|
12,5
|
||||||
|
12,5
|
||||||
|
12,5
|
||||||
|
12,14,5
|
||||||
|
12,15,5
|
||||||
|
10,16,5
|
||||||
|
8,16,5
|
||||||
|
6,17,5
|
||||||
|
17,5
|
||||||
|
17,5
|
||||||
|
15,6
|
||||||
|
1,12,6
|
||||||
|
3,8,7
|
||||||
|
5,7
|
||||||
|
8,8
|
||||||
|
11,10
|
||||||
|
25
|
||||||
|
22
|
||||||
|
19
|
||||||
|
15
|
||||||
|
9
|
||||||
|
|
||||||
|
goal "000000000000000011111110000000000000000000000000000000111111111000000000000000000000000000001111111111100000000000000000000000000001111111111110000000000000000000000000011111111111110000000000000000000110000011111111111110000001100000000001111000011111111111110000011110000000011111100011111111111110000111110000000111111100001111111111110001111111000000111111000001111111111100000111111100001111110001100111111111000100011111100001111100001110001111110001110001111110011111100011111000000000011110001111110011111000111111100000000111111000111110011111000111111110000001111111000111111011111000111111111000011111111100111111011111001111111111000111111111100011111111110001111111111000111111111100011111111110001111111111000111111111100011111111110001111111111000111111111100011111111111001111111111000111111111100011111011111001111111111000111111111100011111011111000111111111000111111111100111111011111000111111111000111111111000111110011111100011111111000111111111000111110001111100011111111000111111110001111110001111110001111111000111111100001111100001111110000111111000111111000011111100000111111000011111000111110000111111000000011111100000111000111000001111111000000011111111000000000000000011111110000000001111111110000000000001111111100000000000111111111110000001111111111000000000000011111111111111111111111110000000000000001111111111111111111111100000000000000000011111111111111111110000000000000000000000011111111111110000000000000000000000000000011111110000000000000000"
|
||||||
77
demos/nonogram/data/db/qnonograms/collection1/100.non
Normal file
77
demos/nonogram/data/db/qnonograms/collection1/100.non
Normal file
@@ -0,0 +1,77 @@
|
|||||||
|
catalogue "qnonograms 100.jap"
|
||||||
|
title "No Longer a Kid"
|
||||||
|
by "Alexander Meshcheryakov <alexander.s.m@gmail.com>"
|
||||||
|
copyright "© 2008 Alexander Meshcheryakov <alexander.s.m@gmail.com>"
|
||||||
|
license GPL-2.0
|
||||||
|
width 30
|
||||||
|
height 35
|
||||||
|
|
||||||
|
columns
|
||||||
|
2,2,2,1
|
||||||
|
2,3,2,1
|
||||||
|
3,3,2,1
|
||||||
|
3,3,1,1
|
||||||
|
3,4,2,1
|
||||||
|
4,4,1,3,2
|
||||||
|
4,3,3,6,2
|
||||||
|
4,3,6,7,2
|
||||||
|
3,7,2,9,2
|
||||||
|
3,4,2,4,6,2
|
||||||
|
3,2,7,7,1
|
||||||
|
3,2,3,7,1
|
||||||
|
6,2,16,1
|
||||||
|
1,2,2,2,10
|
||||||
|
1,1,1,1,1,2,3
|
||||||
|
4,1,2,2,2
|
||||||
|
1,2,1,3,3
|
||||||
|
6,2,4
|
||||||
|
4,4
|
||||||
|
1,6
|
||||||
|
1,7
|
||||||
|
1,1,6
|
||||||
|
1,1,8
|
||||||
|
1,1,9
|
||||||
|
1,1,10
|
||||||
|
3,1,2,7
|
||||||
|
2,1,1
|
||||||
|
4,1
|
||||||
|
4,1
|
||||||
|
5
|
||||||
|
|
||||||
|
rows
|
||||||
|
6
|
||||||
|
9
|
||||||
|
11
|
||||||
|
7,1
|
||||||
|
4,3
|
||||||
|
5,5,1
|
||||||
|
7,1,3
|
||||||
|
9,2,4
|
||||||
|
10,2
|
||||||
|
4,3,1,1
|
||||||
|
2,1,1,1
|
||||||
|
2,1,1,12
|
||||||
|
2,2,2,4
|
||||||
|
2,1,2,2,1,3
|
||||||
|
1,1,3,4
|
||||||
|
5,2
|
||||||
|
5,1
|
||||||
|
3,1,1,13
|
||||||
|
2,2,5
|
||||||
|
3,14
|
||||||
|
3,1,12
|
||||||
|
4,1,6
|
||||||
|
3,1,7
|
||||||
|
4,1,6
|
||||||
|
6,1,5
|
||||||
|
10,4
|
||||||
|
14,4
|
||||||
|
3,6,3
|
||||||
|
5,2
|
||||||
|
4
|
||||||
|
4
|
||||||
|
3
|
||||||
|
3
|
||||||
|
5,3
|
||||||
|
16
|
||||||
|
goal "001111110000000000000000000000111111111000000000000000000000111111111110000000000000000000000001111111000001000000000000000000000111100111000000000000011111000001111101000000000000111111100000100111000000000000111111111001101111000000000000000011111111110001100000000000000000011110111010100000000000000000001101000100100000000000000000001101001011111111111100000000011001100011000000011110000000011010110110000000010111000000010010011100000000001111000000111110000000000000000011000000111110000000000000000001000001110010100001111111111111000000000110110011111000000000000000001110111111111111110000000000011100101111111111110000000000111100100000011111100000000000111000100000011111110000000000111100100000001111110000000001111110100000000111110000000011111111110000000011110000111111111111110000000011110000111000001111110000000001110000000000000111110000000000110000000000000011110000000000000000000000000011110000000000000000000000000001110000000000000000000000000000111000000000000000000001111100011100000000000000111111111111111100000000000000"
|
||||||
77
demos/nonogram/data/db/qnonograms/collection1/101.non
Normal file
77
demos/nonogram/data/db/qnonograms/collection1/101.non
Normal file
@@ -0,0 +1,77 @@
|
|||||||
|
catalogue "qnonograms 101.jap"
|
||||||
|
title "Mr Cool"
|
||||||
|
by "Alexander Meshcheryakov <alexander.s.m@gmail.com>"
|
||||||
|
copyright "© 2008 Alexander Meshcheryakov <alexander.s.m@gmail.com>"
|
||||||
|
license GPL-2.0
|
||||||
|
width 30
|
||||||
|
height 35
|
||||||
|
|
||||||
|
columns
|
||||||
|
5
|
||||||
|
4,5,5
|
||||||
|
1,8,2,2
|
||||||
|
1,6,9
|
||||||
|
1,10,4
|
||||||
|
2,6,1,5
|
||||||
|
1,6,3,5
|
||||||
|
1,6,5,4
|
||||||
|
1,6,6,4,5
|
||||||
|
1,6,6,5,2
|
||||||
|
1,6,6,5,2
|
||||||
|
1,6,6,6,1
|
||||||
|
2,6,6,2,4,1
|
||||||
|
1,6,6,1,4,2
|
||||||
|
1,6,4,1,1,1,4,2
|
||||||
|
1,6,1,1,1,1,3,2
|
||||||
|
1,6,4,1,1,1,3,2
|
||||||
|
1,6,6,1,1,1,4,2
|
||||||
|
1,6,6,1,4,2
|
||||||
|
2,6,6,2,4,2
|
||||||
|
1,6,6,6,1
|
||||||
|
1,6,6,5,1
|
||||||
|
1,6,6,5,2
|
||||||
|
1,6,5,5,2
|
||||||
|
3,6,3,6,6
|
||||||
|
10,3,6
|
||||||
|
4,14
|
||||||
|
4,2,4
|
||||||
|
4,2,3
|
||||||
|
4,5
|
||||||
|
|
||||||
|
rows
|
||||||
|
6
|
||||||
|
8,1
|
||||||
|
8,2
|
||||||
|
5,1
|
||||||
|
1,4,3
|
||||||
|
1,15
|
||||||
|
2,21
|
||||||
|
28
|
||||||
|
25
|
||||||
|
26
|
||||||
|
22,1
|
||||||
|
15,2
|
||||||
|
9,2
|
||||||
|
3,1,3
|
||||||
|
2,7,2,2
|
||||||
|
3,7,11,1
|
||||||
|
26,1
|
||||||
|
1,1,9,9,1,1
|
||||||
|
1,1,9,8,1,2
|
||||||
|
1,1,8,6,3
|
||||||
|
4,6,3
|
||||||
|
4,3
|
||||||
|
4,4,4
|
||||||
|
3,3
|
||||||
|
3,8,4
|
||||||
|
5,2,2,4
|
||||||
|
6,4,6
|
||||||
|
5,5
|
||||||
|
7,7
|
||||||
|
14,1
|
||||||
|
1,12,1
|
||||||
|
1,8,1
|
||||||
|
1,1
|
||||||
|
3,7,3
|
||||||
|
17
|
||||||
|
goal "000000000000000000011111100000000000000000111111110000100000000001111111100000000000110000011111000000000000000000010000010000000000000000000011110111010000000000000111111111111111011000000111111111111111111111001111111111111111111111111111001111111111111111111111111000111111111111111111111111110000111111111111111111111100010000111111111111111000000000011000111111111000000000000000001100111010000000000000000000001110000110000000000001111111011011001110011111110011111111111001011111111111111111111111111001010100111111111011111111101001010100111111111011111111001011010100011111111001111110001110011110001111110000000000001110001111000000000000000000011100000111100000001111000000111100000011100000000000000000111000000001110000111111110001111000000001111101100000011011110000000000111111001111001111110000000000011111000000001111100000000000001111111001111111000000000000000111111111111110100000000000001011111111111100100000000000001000111111110000100000000000001000000000000000100000000000001110011111110011100000000000001111111111111111100000"
|
||||||
77
demos/nonogram/data/db/qnonograms/collection1/102.non
Normal file
77
demos/nonogram/data/db/qnonograms/collection1/102.non
Normal file
@@ -0,0 +1,77 @@
|
|||||||
|
catalogue "qnonograms 102.jap"
|
||||||
|
title "Mr Western"
|
||||||
|
by "Alexander Meshcheryakov <alexander.s.m@gmail.com>"
|
||||||
|
copyright "© 2008 Alexander Meshcheryakov <alexander.s.m@gmail.com>"
|
||||||
|
license GPL-2.0
|
||||||
|
width 30
|
||||||
|
height 35
|
||||||
|
|
||||||
|
columns
|
||||||
|
7
|
||||||
|
9
|
||||||
|
10,7
|
||||||
|
10,2,2
|
||||||
|
11,1,3,2,1
|
||||||
|
11,1,2,1,2
|
||||||
|
14,1,1,3
|
||||||
|
18,2,2,4
|
||||||
|
3,14,1,2,5
|
||||||
|
3,15,9
|
||||||
|
3,18,4
|
||||||
|
3,19,2,3
|
||||||
|
4,18,2,3
|
||||||
|
4,9,3,2,3
|
||||||
|
5,8,1,1,1,3
|
||||||
|
14,1,2,3
|
||||||
|
14,3,2,1,3
|
||||||
|
7,6,1,1,1,1,5
|
||||||
|
7,5,1,1,3,5
|
||||||
|
6,4,1,1,1,1,1,6
|
||||||
|
5,4,3,1,1,3
|
||||||
|
4,4,4,3
|
||||||
|
3,4,2,1,1,1,1
|
||||||
|
9,1,1,1,1
|
||||||
|
8,1,2,1,1
|
||||||
|
8,2,4,1
|
||||||
|
8,1,1,1
|
||||||
|
8,2,1
|
||||||
|
7,3
|
||||||
|
5,1
|
||||||
|
|
||||||
|
rows
|
||||||
|
12
|
||||||
|
13
|
||||||
|
14
|
||||||
|
1,10
|
||||||
|
6,8
|
||||||
|
10,7
|
||||||
|
20,3
|
||||||
|
15,1,6
|
||||||
|
17,8
|
||||||
|
18,7
|
||||||
|
20,7
|
||||||
|
30
|
||||||
|
29
|
||||||
|
28
|
||||||
|
13,6
|
||||||
|
13,1
|
||||||
|
3,7,3,2
|
||||||
|
10,1,1,1,1
|
||||||
|
2,4,1,2,1,2
|
||||||
|
1,3,3,1,1,2
|
||||||
|
1,2,2,4,3,1
|
||||||
|
1,1,4,2
|
||||||
|
1,1,4,4
|
||||||
|
1,3
|
||||||
|
2,1,3,2
|
||||||
|
2,2,3,4,2
|
||||||
|
6,1,3,1,9
|
||||||
|
1,5,1
|
||||||
|
1,2
|
||||||
|
1,3
|
||||||
|
2,3
|
||||||
|
4,3
|
||||||
|
16
|
||||||
|
17
|
||||||
|
20
|
||||||
|
goal "000000011111111111100000000000000000011111111111110000000000000000011111111111111000000000000000010000111111111100000000000000111111001111111100000000000011111111110111111100000000000111111111111111111110001110001111111111111110000010111111011111111111111111000011111111011111111111111111100001111111111111111111111111110001111111111111111111111111111111111111111111111111111111111111111110111111111111111111111111111100111111111111100000001111110000111111111111100000000001000000111000111111100001110001100000000111111111100010001010010000001100000111100010011010110000001001110011100010001001100000001011011011110001110000010000001010000011110000000000011000001010000001111000000011110000001000000000000000000000011100001100000000101110000000000110000110011001110011110000000011000011111101011100101111111110000000000100000111110100000000000000000100000000000110000000000000000100000000011100000000000000001100000001110000000000000000011110000001110000000000000000111111111111111100000000000001111111111111111100000000000011111111111111111111000000"
|
||||||
77
demos/nonogram/data/db/qnonograms/collection1/104.non
Normal file
77
demos/nonogram/data/db/qnonograms/collection1/104.non
Normal file
@@ -0,0 +1,77 @@
|
|||||||
|
catalogue "qnonograms 104.jap"
|
||||||
|
title "Iguana Hair"
|
||||||
|
by "Alexander Meshcheryakov <alexander.s.m@gmail.com>"
|
||||||
|
copyright "© 2008 Alexander Meshcheryakov <alexander.s.m@gmail.com>"
|
||||||
|
license GPL-2.0
|
||||||
|
width 30
|
||||||
|
height 35
|
||||||
|
|
||||||
|
columns
|
||||||
|
3,2
|
||||||
|
5,3,1
|
||||||
|
4,2,2,7
|
||||||
|
5,4,2,1,2
|
||||||
|
9,2,2
|
||||||
|
9,2,2
|
||||||
|
8,2,3
|
||||||
|
9,3,4
|
||||||
|
12,2,1,2
|
||||||
|
12,2,1,2
|
||||||
|
12,1,1,2
|
||||||
|
10,1,1,2
|
||||||
|
12,1,4
|
||||||
|
14,1,1
|
||||||
|
17,1
|
||||||
|
17,2
|
||||||
|
16,3
|
||||||
|
14,2,3
|
||||||
|
14,2,8
|
||||||
|
13,1,9
|
||||||
|
14,1,3,3
|
||||||
|
13,5,2
|
||||||
|
15,7,1
|
||||||
|
23
|
||||||
|
22
|
||||||
|
21
|
||||||
|
19
|
||||||
|
16
|
||||||
|
13
|
||||||
|
9
|
||||||
|
|
||||||
|
rows
|
||||||
|
10
|
||||||
|
16
|
||||||
|
20
|
||||||
|
23
|
||||||
|
25
|
||||||
|
26
|
||||||
|
28
|
||||||
|
2,24
|
||||||
|
2,26
|
||||||
|
3,22
|
||||||
|
3,3,18
|
||||||
|
2,4,18
|
||||||
|
2,17
|
||||||
|
2,17
|
||||||
|
2,3,10
|
||||||
|
2,4,3,8
|
||||||
|
2,2,2,8
|
||||||
|
2,7
|
||||||
|
2,7
|
||||||
|
2,6
|
||||||
|
4,7
|
||||||
|
1,1,6
|
||||||
|
1,2,6
|
||||||
|
1,9
|
||||||
|
1,8,5
|
||||||
|
7,4
|
||||||
|
6,4
|
||||||
|
2,3
|
||||||
|
2,2
|
||||||
|
2,2
|
||||||
|
2,2
|
||||||
|
2,2
|
||||||
|
1,5
|
||||||
|
1,7
|
||||||
|
11
|
||||||
|
goal "000000000111111111100000000000000001111111111111111000000000000111111111111111111110000000001111111111111111111111100000011111111111111111111111110000011111111111111111111111111000111111111111111111111111111100110011111111111111111111111100110111111111111111111111111110000111011111111111111111111110001110001110111111111111111111001100011110111111111111111111000000011000011111111111111111000000110000011111111111111111000001100000001110001111111111000011001111001110000011111111000110001100001100000011111111001100000000000000000001111111011000000000000000000001111111110000000000000000000001111110111100000000000000000011111110001000000000000001000011111100001000000000000001100111111000001000000000000000111111111000001000111111110000000111110000011111110000000000001111000000001111110000000000011110000000000000011000000000111000000000000000001100000000110000000000000000000110000000110000000000000000000011000000110000000000000000000001100000110000000000000000000000100011111000000000000000000000100111111100000000000000000000111111111110000000"
|
||||||
77
demos/nonogram/data/db/qnonograms/collection1/105.non
Normal file
77
demos/nonogram/data/db/qnonograms/collection1/105.non
Normal file
@@ -0,0 +1,77 @@
|
|||||||
|
catalogue "qnonograms 105.jap"
|
||||||
|
title "Smooth Tiger"
|
||||||
|
by "Alexander Meshcheryakov <alexander.s.m@gmail.com>"
|
||||||
|
copyright "© 2008 Alexander Meshcheryakov <alexander.s.m@gmail.com>"
|
||||||
|
license GPL-2.0
|
||||||
|
width 30
|
||||||
|
height 35
|
||||||
|
|
||||||
|
columns
|
||||||
|
14
|
||||||
|
2,10
|
||||||
|
2,8
|
||||||
|
6,1,6
|
||||||
|
12,4
|
||||||
|
3,2,7,5
|
||||||
|
3,1,1,8,2
|
||||||
|
4,1,5,1
|
||||||
|
4,3,5,1
|
||||||
|
3,1,2,4,1
|
||||||
|
3,2,3,4
|
||||||
|
2,1,3,6,3
|
||||||
|
2,1,1,3,7,1,2
|
||||||
|
2,1,4,2,2,3
|
||||||
|
2,2,6,5,4
|
||||||
|
2,4,2,2,3,5
|
||||||
|
2,2,1,1,1,3,1
|
||||||
|
2,3,4,2,3
|
||||||
|
2,1,1,2,3
|
||||||
|
3,2,2,1,2,1
|
||||||
|
5,2,2,2,2,2
|
||||||
|
2,3,4,1,1,7,3
|
||||||
|
6,2,1,2,5,5
|
||||||
|
2,1,2,3,3,4
|
||||||
|
2,2,4,2,5
|
||||||
|
3,1,3,2,6
|
||||||
|
9,2,4,2,6
|
||||||
|
2,2,7,4,2,6
|
||||||
|
4,4,6,5
|
||||||
|
2,8
|
||||||
|
|
||||||
|
rows
|
||||||
|
2
|
||||||
|
4
|
||||||
|
3,2,2
|
||||||
|
8,4
|
||||||
|
4,3,3,2
|
||||||
|
4,2,4
|
||||||
|
2,2,1,3
|
||||||
|
2,2,1,1
|
||||||
|
3,4,2,2
|
||||||
|
4,2,2,1,2
|
||||||
|
7,3,2,2
|
||||||
|
4,4,2
|
||||||
|
6,3,2,1,2
|
||||||
|
2,1,2,2,4
|
||||||
|
2,2,4,3
|
||||||
|
4,4,1,2
|
||||||
|
3,4,1,4,1
|
||||||
|
2,1,5,5,1
|
||||||
|
2,3,2,7
|
||||||
|
2,2,1,1,6
|
||||||
|
2,2,1,3,4
|
||||||
|
1,2,3,4,3
|
||||||
|
3,2,8,2
|
||||||
|
6,7,2,2
|
||||||
|
1,2,3,2,3,2
|
||||||
|
2,2,2,2,3,2
|
||||||
|
2,4,4,5
|
||||||
|
3,4,4
|
||||||
|
3,5,2,3
|
||||||
|
4,5,5,3
|
||||||
|
4,7,5,2,5
|
||||||
|
7,6,7
|
||||||
|
6,5,8
|
||||||
|
7,3,9
|
||||||
|
10,2,10
|
||||||
|
goal "000000000000000000001100000000000000000000000000011110000000000000000000000000111011000110000000000000000001111111101111000000000000001111001110111011000000000000011110000110011110000000000000110000110010011100000000000001100110010000001000000000000111001111000001101100000000011110001101100000101100000000111111100111000110001100000001111000000000001111001100000011111100111000001101000110000011000001001100000110011110000110000001101111000000001110000111100001111001000000000011000111000000111101000111100001000110001000011111000011111001000110111000110000000001111111000110001100100000001000111111000011000110100000011100001111100011000011100011110000000111111011000001111111100000000011111111000011111110011000000110100001100011101100001110001100110001100011011000000111011000110001111001111000000111110000111000111100000000000111100000111000111110000001101110000000111100111110000001111100011100111101111111000111110110111110111111100011111100000011111110111111000001111100000111111110111111100000011100001111111110111111111100001100011111111110"
|
||||||
77
demos/nonogram/data/db/qnonograms/collection1/106.non
Normal file
77
demos/nonogram/data/db/qnonograms/collection1/106.non
Normal file
@@ -0,0 +1,77 @@
|
|||||||
|
catalogue "qnonograms 106.jap"
|
||||||
|
title "Big Hair"
|
||||||
|
by "Alexander Meshcheryakov <alexander.s.m@gmail.com>"
|
||||||
|
copyright "© 2008 Alexander Meshcheryakov <alexander.s.m@gmail.com>"
|
||||||
|
license GPL-2.0
|
||||||
|
width 30
|
||||||
|
height 35
|
||||||
|
|
||||||
|
columns
|
||||||
|
6,8
|
||||||
|
11,8
|
||||||
|
16,8
|
||||||
|
9,19
|
||||||
|
11,19
|
||||||
|
5,6,18
|
||||||
|
4,25
|
||||||
|
4,10,8,2
|
||||||
|
3,12,5,1
|
||||||
|
3,9,2,4,1
|
||||||
|
3,9,1,1,1
|
||||||
|
3,8,1,3,1
|
||||||
|
3,8,1,2,1,1,1
|
||||||
|
4,7,1,1,2,1,1,1
|
||||||
|
4,7,2,2,1,1,1
|
||||||
|
4,6,2,1,1,1,1
|
||||||
|
5,5,3,1,2,1
|
||||||
|
5,3,1,1,1,2
|
||||||
|
5,4,7,1,3
|
||||||
|
5,5,20
|
||||||
|
5,25
|
||||||
|
31
|
||||||
|
28
|
||||||
|
27
|
||||||
|
25
|
||||||
|
19
|
||||||
|
18
|
||||||
|
17
|
||||||
|
15
|
||||||
|
10
|
||||||
|
|
||||||
|
rows
|
||||||
|
12
|
||||||
|
14
|
||||||
|
16
|
||||||
|
5,8
|
||||||
|
3,6
|
||||||
|
3,6,4
|
||||||
|
2,11,3
|
||||||
|
14,3
|
||||||
|
16,3
|
||||||
|
18,3
|
||||||
|
23
|
||||||
|
14,7
|
||||||
|
2,9,1,1,6
|
||||||
|
2,5,1,3,6
|
||||||
|
4,3,3,5
|
||||||
|
9,1,6
|
||||||
|
6,2,7
|
||||||
|
7,8
|
||||||
|
7,9
|
||||||
|
7,2,9
|
||||||
|
8,10
|
||||||
|
8,5,10
|
||||||
|
9,3,11
|
||||||
|
8,12
|
||||||
|
9,1,11
|
||||||
|
7,5,12
|
||||||
|
9,14
|
||||||
|
8,6,12
|
||||||
|
7,12
|
||||||
|
7,11
|
||||||
|
8,13
|
||||||
|
6,11,11
|
||||||
|
6,12
|
||||||
|
3,12
|
||||||
|
3,12
|
||||||
|
goal "000000111111111111000000000000000001111111111111100000000000000011111111111111110000000000000111110000011111111000000000000111000000000011111100000000000111001111110000111100000000000110111111111110011100000000000111111111111110001110000000000111111111111111100111000000001111111111111111110111000000001111111111111111111111100000001111111111111100111111100000011011111111101010011111100000011000111110010111011111100000011110111000001110001111100000011111111100001000011111100000011111101100000000011111110000111111100000000000011111111000111111100000000000011111111100111111100000110000011111111100111111110000000000011111111110111111110001111100011111111110111111111000111000111111111110001111111100000001111111111110001111111110000010111111111110000111111101111100111111111111000111111111000011111111111111111111110001111110111111111111111111100000000000111111111111111111100000000000011111111111111111110000000001111111111111111111011111111111011111111111111111000000000000111111111111111000000000000000111111111111111000000000000000111111111111"
|
||||||
77
demos/nonogram/data/db/qnonograms/collection1/107.non
Normal file
77
demos/nonogram/data/db/qnonograms/collection1/107.non
Normal file
@@ -0,0 +1,77 @@
|
|||||||
|
catalogue "qnonograms 107.jap"
|
||||||
|
title "Hair Everywhere"
|
||||||
|
by "Alexander Meshcheryakov <alexander.s.m@gmail.com>"
|
||||||
|
copyright "© 2008 Alexander Meshcheryakov <alexander.s.m@gmail.com>"
|
||||||
|
license GPL-2.0
|
||||||
|
width 30
|
||||||
|
height 35
|
||||||
|
|
||||||
|
columns
|
||||||
|
6
|
||||||
|
9
|
||||||
|
11
|
||||||
|
2,3,5
|
||||||
|
3,3,6
|
||||||
|
3,1,1,1,2,3
|
||||||
|
2,1,2,1,2,1,4
|
||||||
|
1,2,4,2,1,5,2
|
||||||
|
1,5,2,6,3,1,3
|
||||||
|
1,5,1,1,1,2,4
|
||||||
|
1,3,1,1,2,5
|
||||||
|
4,2,2,3,2
|
||||||
|
2,3,1,1,6,2
|
||||||
|
3,1,3,1,1,2,5,2
|
||||||
|
3,1,2,3,1,2,5,2
|
||||||
|
2,3,3,1,2,4,2
|
||||||
|
2,4,1,3,4,2
|
||||||
|
3,3,6,3,4,2
|
||||||
|
4,1,3,4,1,9,2
|
||||||
|
1,3,1,2,3,1,8,2
|
||||||
|
1,4,3,3,1,8,2
|
||||||
|
1,4,1,1,1,4,3,2
|
||||||
|
1,7,3,2,4,3,2
|
||||||
|
1,2,6,1,4,1,2
|
||||||
|
3,2,4,4,5
|
||||||
|
2,5,3,4
|
||||||
|
1,4,1,2,3
|
||||||
|
1,1,1,2,2
|
||||||
|
3,4
|
||||||
|
7
|
||||||
|
|
||||||
|
rows
|
||||||
|
4,4
|
||||||
|
1,1,1,1
|
||||||
|
1,2,1,2,4,1
|
||||||
|
1,16,1
|
||||||
|
1,8,9
|
||||||
|
1,3,1,1,4
|
||||||
|
4,1
|
||||||
|
1,2,2,1
|
||||||
|
4,1,1,1,1,2
|
||||||
|
3,2,1,2,1,2
|
||||||
|
3,4,4,3
|
||||||
|
3,2,2,6
|
||||||
|
6,1,3,1
|
||||||
|
3,2,3,3,8
|
||||||
|
5,3,9,3,2
|
||||||
|
7,1,7,3,1
|
||||||
|
5,2,3,3,1
|
||||||
|
3,1,1,1,2
|
||||||
|
8,2,1,2,4
|
||||||
|
5,12,2
|
||||||
|
4,2,3,2
|
||||||
|
8,2,3,7
|
||||||
|
6,14
|
||||||
|
4,11
|
||||||
|
7,5
|
||||||
|
6,3
|
||||||
|
9
|
||||||
|
10
|
||||||
|
12
|
||||||
|
12
|
||||||
|
2,3
|
||||||
|
2,2
|
||||||
|
3,3
|
||||||
|
21
|
||||||
|
21
|
||||||
|
goal "000000011110000000011110000000000000100001000000100001000000000000101101001100111100100000000001011111111111111110100000000001011111111011111111100000000001001110010001001111000000000000111100000000000010000000000000010000011000110010000000000000011110100101001011000000000000111000110101101011000000000011100000111101111001110000001110000000011000110011111100011111101000000000000111000010111000011000001110111011111111111110111000011111111100111011111111101000001111111000111001111110001100000011100000111001111000001000000001000000010011111111110011000001000011001111011111000001111111111110000011011110011000000000000001110110001111111100110011100111111100000111111000011111111111111000000011110000001111111111100000000000111111100000111110000000000000000111111000111000000000000000000000111111111000000000000000000000111111111100000000000000000001111111111110000000000000000001111111111110000000000000000011000000000011100000000000000110000000000000110000000000001110000000000000111000000000011111111111111111111100000000011111111111111111111100"
|
||||||
77
demos/nonogram/data/db/qnonograms/collection1/108.non
Normal file
77
demos/nonogram/data/db/qnonograms/collection1/108.non
Normal file
@@ -0,0 +1,77 @@
|
|||||||
|
catalogue "qnonograms 108.jap"
|
||||||
|
title "Nuts"
|
||||||
|
by "Alexander Meshcheryakov <alexander.s.m@gmail.com>"
|
||||||
|
copyright "© 2008 Alexander Meshcheryakov <alexander.s.m@gmail.com>"
|
||||||
|
license GPL-2.0
|
||||||
|
width 30
|
||||||
|
height 35
|
||||||
|
|
||||||
|
columns
|
||||||
|
3
|
||||||
|
5
|
||||||
|
6,2
|
||||||
|
7,3
|
||||||
|
2,5,2
|
||||||
|
9,3
|
||||||
|
3,6,3
|
||||||
|
5,4,4
|
||||||
|
10,6
|
||||||
|
17
|
||||||
|
23
|
||||||
|
12,3,2
|
||||||
|
9,4
|
||||||
|
10,5,3
|
||||||
|
10,7,3
|
||||||
|
9,11
|
||||||
|
8,12
|
||||||
|
21
|
||||||
|
6,20
|
||||||
|
9,19
|
||||||
|
11,1,19
|
||||||
|
15,18
|
||||||
|
16,17
|
||||||
|
18,16
|
||||||
|
19,12
|
||||||
|
22,2
|
||||||
|
6,12,5
|
||||||
|
2,18
|
||||||
|
14
|
||||||
|
9
|
||||||
|
|
||||||
|
rows
|
||||||
|
5
|
||||||
|
7
|
||||||
|
7
|
||||||
|
8
|
||||||
|
9
|
||||||
|
2,9
|
||||||
|
3,8
|
||||||
|
5,8
|
||||||
|
7,8
|
||||||
|
9,8
|
||||||
|
2,1,5,7
|
||||||
|
3,2,5,7
|
||||||
|
14,7
|
||||||
|
16,6
|
||||||
|
19,8
|
||||||
|
7,11,7
|
||||||
|
3,13,7
|
||||||
|
2,15,6
|
||||||
|
21,5
|
||||||
|
21,5
|
||||||
|
7,11,5
|
||||||
|
3,11,5
|
||||||
|
1,1,8,4
|
||||||
|
1,9,4
|
||||||
|
1,11,3
|
||||||
|
1,12,3
|
||||||
|
1,12,3
|
||||||
|
1,12,3
|
||||||
|
1,12,3
|
||||||
|
2,12,3
|
||||||
|
1,11,2
|
||||||
|
2,10,2
|
||||||
|
15
|
||||||
|
15
|
||||||
|
7,4
|
||||||
|
goal "000000000000000000000001111100000000000000000000000111111100000000000000000000001111111000000000000000000000011111111000000000000000000000111111111000000000001100000000111111111000000000011100000000111111110000000000111110000000111111110000000011111110000000111111110000000111111111000000111111110000001101011111000000011111110000011101101111100000011111110000111111111111110000001111111000111111111111111100000111111000111111111111111111101111111100011111110111111111110111111100000011101111111111111011111110001100011111111111111101111110001111111111111111111110111110000111111111111111111111011111000001111111011111111111011111000000001110011111111111011111000000000010001001111111101111000000000010000011111111101111000000000010001111111111100111000000000010011111111111100111000000000010011111111111100111000000000010011111111111100111000000000010011111111111101110000000000011011111111111101110000000000001001111111111101100000000000001100111111111101100000000000000111111111111111000000000000001111111111111110000000000000001111111001111000000"
|
||||||
77
demos/nonogram/data/db/qnonograms/collection1/122.non
Normal file
77
demos/nonogram/data/db/qnonograms/collection1/122.non
Normal file
@@ -0,0 +1,77 @@
|
|||||||
|
catalogue "qnonograms 122.jap"
|
||||||
|
title "Cheese"
|
||||||
|
by "Alexander Meshcheryakov <alexander.s.m@gmail.com>"
|
||||||
|
copyright "© 2008 Alexander Meshcheryakov <alexander.s.m@gmail.com>"
|
||||||
|
license GPL-2.0
|
||||||
|
width 30
|
||||||
|
height 35
|
||||||
|
|
||||||
|
columns
|
||||||
|
4
|
||||||
|
6
|
||||||
|
2,6
|
||||||
|
3,4,6
|
||||||
|
2,1,5,6
|
||||||
|
1,2,3,2,12
|
||||||
|
2,3,5,3,1,9
|
||||||
|
8,1,6,1,1,7
|
||||||
|
1,16,5,5
|
||||||
|
1,15,1,5,4
|
||||||
|
16,2,6,3
|
||||||
|
15,2,5,1
|
||||||
|
8,2,3,4,2,1
|
||||||
|
6,5,4,4,1
|
||||||
|
7,1,5,4,4,1
|
||||||
|
8,4,5,3,1
|
||||||
|
1,12,5,2,2
|
||||||
|
1,12,4,2,3
|
||||||
|
1,12,3,3,6
|
||||||
|
1,22,8
|
||||||
|
13,8,10
|
||||||
|
7,4,18
|
||||||
|
5,16
|
||||||
|
12
|
||||||
|
3,10
|
||||||
|
3,5
|
||||||
|
3,7
|
||||||
|
10
|
||||||
|
8
|
||||||
|
5
|
||||||
|
|
||||||
|
rows
|
||||||
|
3
|
||||||
|
1,2,4
|
||||||
|
6,1,2
|
||||||
|
10,5
|
||||||
|
10,6
|
||||||
|
16
|
||||||
|
17
|
||||||
|
18
|
||||||
|
16
|
||||||
|
1,5,7
|
||||||
|
1,5,7
|
||||||
|
1,4,1,6,2
|
||||||
|
6,6,2
|
||||||
|
8,7,3
|
||||||
|
16,3
|
||||||
|
9,5,2,4
|
||||||
|
1,3,4,3,3
|
||||||
|
1,3,3,5,3
|
||||||
|
3,5,6,3
|
||||||
|
8,3,4,4
|
||||||
|
1,5,4,3
|
||||||
|
9,4,3
|
||||||
|
12,4,3
|
||||||
|
2,8,2,3,3
|
||||||
|
3,4,3,6
|
||||||
|
5,3,6,7
|
||||||
|
5,1,5,7
|
||||||
|
5,4,7
|
||||||
|
4,2,8
|
||||||
|
9,9
|
||||||
|
25
|
||||||
|
11,7
|
||||||
|
11,7
|
||||||
|
8,6
|
||||||
|
4,4
|
||||||
|
goal "000000001110000000000000000000000000010011000001111000000000000000011111100010001100000000000000111111111100111110000000000000111111111101111110000000000000011111111111111110000000000000111111111111111110000000000001111111111111111110000000000000111111111111111100000000000001001111101111111000000000000001011111000111111100000000000000101111001011111100110000000000111111000011111100110000000001111111100111111100111000000011111111111111110000001110000111111111011111011000001111000100011100011110111000000111000100111000111001111100000111000011100011111011111100000111000001111111100111011110001111000000001000011111011110001110000000001111111110011110001110000001111111111110011110011100000011001111111100110111011100000111000111100001110111111000001111100111011111101111111000001111100010111110011111110000000111110000111100111111100000000001111000011001111111100000011111111100000011111111100000111111111111111111111111100000111111111110000000111111100000111111111110000000111111100000111111110000000000011111100000011110000000000000001111000000"
|
||||||
77
demos/nonogram/data/db/qnonograms/collection1/123.non
Normal file
77
demos/nonogram/data/db/qnonograms/collection1/123.non
Normal file
@@ -0,0 +1,77 @@
|
|||||||
|
catalogue "qnonograms 123.jap"
|
||||||
|
title "Charlie"
|
||||||
|
by "Alexander Meshcheryakov <alexander.s.m@gmail.com>"
|
||||||
|
copyright "© 2008 Alexander Meshcheryakov <alexander.s.m@gmail.com>"
|
||||||
|
license GPL-2.0
|
||||||
|
width 30
|
||||||
|
height 35
|
||||||
|
|
||||||
|
columns
|
||||||
|
7
|
||||||
|
7
|
||||||
|
7
|
||||||
|
1,8
|
||||||
|
3,8
|
||||||
|
6,8
|
||||||
|
11,9
|
||||||
|
13,4,9
|
||||||
|
2,5,13
|
||||||
|
1,3,1,4,6
|
||||||
|
1,4,2,1,2,2,2,3
|
||||||
|
7,3,1,2,2,1,1
|
||||||
|
7,4,1,1,1,2
|
||||||
|
12,4,1,2
|
||||||
|
12,3,1,5
|
||||||
|
12,4,1,2
|
||||||
|
11,1,1,1,2
|
||||||
|
11,1,2,2,1,1
|
||||||
|
10,1,2,2,2,2
|
||||||
|
11,1,4,6
|
||||||
|
11,13
|
||||||
|
13,4,9
|
||||||
|
11,9
|
||||||
|
5,8
|
||||||
|
3,8
|
||||||
|
1,8
|
||||||
|
8
|
||||||
|
7
|
||||||
|
7
|
||||||
|
7
|
||||||
|
|
||||||
|
rows
|
||||||
|
7
|
||||||
|
11
|
||||||
|
1,10
|
||||||
|
1,11
|
||||||
|
1,12
|
||||||
|
1,12
|
||||||
|
1,12
|
||||||
|
1,9
|
||||||
|
2,11
|
||||||
|
21
|
||||||
|
23
|
||||||
|
6,4,6
|
||||||
|
4,4
|
||||||
|
3,3
|
||||||
|
3,2,2,2
|
||||||
|
2,1,1,1,1,2
|
||||||
|
2,2,2,2
|
||||||
|
1,2,2,1
|
||||||
|
1,1
|
||||||
|
2,2
|
||||||
|
1,1,1,1
|
||||||
|
1,3,1
|
||||||
|
2,3,2
|
||||||
|
1,5,1
|
||||||
|
2,2
|
||||||
|
3,3
|
||||||
|
6,6
|
||||||
|
7,7,8
|
||||||
|
9,1,1,10
|
||||||
|
13,14
|
||||||
|
10,5,11
|
||||||
|
10,3,11
|
||||||
|
11,1,11
|
||||||
|
11,1,12
|
||||||
|
12,1,13
|
||||||
|
goal "000000000001111111000000000000000000000111111111110000000000000000001001111111111000000000000000001011111111111000000000000000010011111111111100000000000000010011111111111100000000000000010011111111111100000000000000010000011111111100000000000000011001111111111100000000000011111111111111111111100000000111111111111111111111110000000011111100111100011111100000000001111000000000001111000000000001110000000000000111000000000001110011000001100110000000000000110100100010010110000000000000110011000001100110000000000000100011000001100010000000000000100000000000000010000000000000110000000000000110000000000000010000010100000100000000000000010000011100000100000000000000011000011100001100000000000000001000111110001000000000000000001100000000011000000000000000001110000000111000000000000000111111000001111110000000000111111101111111011111111000111111111010000000101111111111111111111111100011111111111111111111111100111110011111111111111111111100011100011111111111111111111110001000011111111111111111111110001000111111111111111111111111001001111111111111"
|
||||||
77
demos/nonogram/data/db/qnonograms/collection1/125.non
Normal file
77
demos/nonogram/data/db/qnonograms/collection1/125.non
Normal file
@@ -0,0 +1,77 @@
|
|||||||
|
catalogue "qnonograms 125.jap"
|
||||||
|
title "Ant"
|
||||||
|
by "Alexander Meshcheryakov <alexander.s.m@gmail.com>"
|
||||||
|
copyright "© 2008 Alexander Meshcheryakov <alexander.s.m@gmail.com>"
|
||||||
|
license GPL-2.0
|
||||||
|
width 30
|
||||||
|
height 35
|
||||||
|
|
||||||
|
columns
|
||||||
|
2
|
||||||
|
4
|
||||||
|
6,6
|
||||||
|
7,10
|
||||||
|
7,11
|
||||||
|
8,14
|
||||||
|
12,10
|
||||||
|
5,5,8
|
||||||
|
4,4,7
|
||||||
|
3,4,7
|
||||||
|
3,2,4,6
|
||||||
|
3,2,4,1,5
|
||||||
|
3,5,1,6
|
||||||
|
1,4,6,1,5
|
||||||
|
3,5,7,2,5
|
||||||
|
4,17,3,5
|
||||||
|
11,7,2,5
|
||||||
|
5,1,6,1,5
|
||||||
|
2,5,1,6
|
||||||
|
1,2,4,1,6
|
||||||
|
1,2,4,7
|
||||||
|
1,4,7
|
||||||
|
2,4,8
|
||||||
|
2,5,9
|
||||||
|
9,10
|
||||||
|
20
|
||||||
|
18
|
||||||
|
14
|
||||||
|
12
|
||||||
|
6
|
||||||
|
|
||||||
|
rows
|
||||||
|
3
|
||||||
|
3
|
||||||
|
4
|
||||||
|
3
|
||||||
|
2
|
||||||
|
2
|
||||||
|
3
|
||||||
|
10
|
||||||
|
12
|
||||||
|
13,5
|
||||||
|
6,6,2
|
||||||
|
6,3,2
|
||||||
|
5,1,2
|
||||||
|
6,2,1,2,3
|
||||||
|
7,2,1,2,3
|
||||||
|
7,1,4
|
||||||
|
3,2,3,6
|
||||||
|
4,5,7
|
||||||
|
26
|
||||||
|
28
|
||||||
|
4,17,5
|
||||||
|
4,13,5
|
||||||
|
5,7,6
|
||||||
|
5,6
|
||||||
|
6,7
|
||||||
|
5,3,6
|
||||||
|
6,7,7
|
||||||
|
7,1,1,10
|
||||||
|
7,8
|
||||||
|
8,9
|
||||||
|
22
|
||||||
|
20
|
||||||
|
16
|
||||||
|
14
|
||||||
|
8
|
||||||
|
goal "000000000000011100000000000000000000000000001110000000000000000000000000001111000000000000000000000000000111000000000000000000000000000011000000000000000000000000000011000000000000000000000000000111000000000000000000011111111110000000000000000001111111111110000000000000000011111111111110111110000000000111111000011111100011000000001111110000001110000001100000001111100000000100000000110000011111100011000100011000111000111111100011000100011000111000111111100000000100000000111100011100110000001110000001111110000001111000011111000011111110000111111111111111111111111110001111111111111111111111111111001111011111111111111111011111001111000111111111111100011111001111100000111111100000111111001111100000000000000000111111001111110000000000000001111111000111110000001110000001111110000111111000111111100011111110000111111101000100011111111110000011111110000000001111111100000001111111100000111111111000000001111111111111111111111000000000111111111111111111110000000000001111111111111111000000000000000111111111111110000000000000000000111111110000000000"
|
||||||
77
demos/nonogram/data/db/qnonograms/collection1/127.non
Normal file
77
demos/nonogram/data/db/qnonograms/collection1/127.non
Normal file
@@ -0,0 +1,77 @@
|
|||||||
|
catalogue "qnonograms 127.jap"
|
||||||
|
title "Bark Like a Tree and Get Out of Here"
|
||||||
|
by "Alexander Meshcheryakov <alexander.s.m@gmail.com>"
|
||||||
|
copyright "© 2008 Alexander Meshcheryakov <alexander.s.m@gmail.com>"
|
||||||
|
license GPL-2.0
|
||||||
|
width 30
|
||||||
|
height 35
|
||||||
|
|
||||||
|
columns
|
||||||
|
22
|
||||||
|
15,7
|
||||||
|
25
|
||||||
|
13,12
|
||||||
|
15,10
|
||||||
|
6,6,1,7
|
||||||
|
8,7,1,6
|
||||||
|
8,1,1,2,8
|
||||||
|
2,4,3,1,7
|
||||||
|
4,1,1,2,8
|
||||||
|
4,4,1,3,2
|
||||||
|
9,1,3,2
|
||||||
|
11,9
|
||||||
|
13,10
|
||||||
|
3,10
|
||||||
|
2,2,10
|
||||||
|
1,3,9
|
||||||
|
2,5,5,3
|
||||||
|
2,1,1,5,3
|
||||||
|
2,1,9,3
|
||||||
|
1,12,3
|
||||||
|
14,3
|
||||||
|
13,2
|
||||||
|
13,2
|
||||||
|
11,2
|
||||||
|
12
|
||||||
|
10
|
||||||
|
2,4
|
||||||
|
2,3
|
||||||
|
4
|
||||||
|
|
||||||
|
rows
|
||||||
|
2,1
|
||||||
|
3,2
|
||||||
|
4,2
|
||||||
|
1,5
|
||||||
|
2,3
|
||||||
|
3,4
|
||||||
|
9
|
||||||
|
5,4
|
||||||
|
10
|
||||||
|
5,3
|
||||||
|
5,7
|
||||||
|
5,2,7
|
||||||
|
4,1,2,3
|
||||||
|
5,3,4
|
||||||
|
7,2
|
||||||
|
8,7
|
||||||
|
7,2,4
|
||||||
|
7,3,6
|
||||||
|
9,3,7
|
||||||
|
8,2,10
|
||||||
|
5,5,9
|
||||||
|
5,17
|
||||||
|
3,15,2
|
||||||
|
4,18,1
|
||||||
|
5,21
|
||||||
|
30
|
||||||
|
5,3,5,9
|
||||||
|
1,8,7,5
|
||||||
|
22,2
|
||||||
|
12,11
|
||||||
|
10,6
|
||||||
|
9
|
||||||
|
8
|
||||||
|
6
|
||||||
|
4
|
||||||
|
goal "000000000110010000000000000000000000001110110000000000000000000000011110110000000000000000000000010111110000000000000000000000110001110000000000000000000000111011110000000000000000000001111111110000000000000000000011111011110000000000000000000011111111110000000000000000000111110001110000000000000000001111100111111100000000000000001111101101111111000000000000011110001000011001110000000000111110111000000000111100000000111111100000000000000110000000111111110000000001111111000000111111100000000011001111000000111111100000000111011111100000111111111000000111011111110000111111110000011001111111111000111110000001111100011111111100111110000000111111111111111110111000000000111111111111111011111100000111111111111111111001111110000111111111111111111111111111111111111111111111111111111110011100111110001111111110101111111100111111100001111100111111111111111111111100011000111111111111000111111111110000111111111100000000011111100000111111111000000000000000000000111111110000000000000000000000111111000000000000000000000000111100000000000000000000000000"
|
||||||
77
demos/nonogram/data/db/qnonograms/collection1/130.non
Normal file
77
demos/nonogram/data/db/qnonograms/collection1/130.non
Normal file
@@ -0,0 +1,77 @@
|
|||||||
|
catalogue "qnonograms 130.jap"
|
||||||
|
title "Who Can? You Can!"
|
||||||
|
by "Alexander Meshcheryakov <alexander.s.m@gmail.com>"
|
||||||
|
copyright "© 2008 Alexander Meshcheryakov <alexander.s.m@gmail.com>"
|
||||||
|
license GPL-2.0
|
||||||
|
width 30
|
||||||
|
height 35
|
||||||
|
|
||||||
|
columns
|
||||||
|
15
|
||||||
|
17
|
||||||
|
6,6
|
||||||
|
8,2
|
||||||
|
3,3,3
|
||||||
|
3,1,3,2
|
||||||
|
3,3,3,1
|
||||||
|
4,1,3,2
|
||||||
|
5,4,1
|
||||||
|
11,2
|
||||||
|
12,1
|
||||||
|
12,4
|
||||||
|
12,5
|
||||||
|
18,6
|
||||||
|
11,8,1
|
||||||
|
11,5,4,1
|
||||||
|
11,6,4
|
||||||
|
11,7,3
|
||||||
|
10,7,2
|
||||||
|
10,6,2
|
||||||
|
9,5,3
|
||||||
|
8,5,3
|
||||||
|
7,6,2
|
||||||
|
6,6
|
||||||
|
5,4
|
||||||
|
4,4
|
||||||
|
4,3
|
||||||
|
3,3
|
||||||
|
3,2
|
||||||
|
3,1
|
||||||
|
|
||||||
|
rows
|
||||||
|
8
|
||||||
|
11
|
||||||
|
13
|
||||||
|
11,1
|
||||||
|
10
|
||||||
|
10,3
|
||||||
|
10,4
|
||||||
|
10,5
|
||||||
|
10,5
|
||||||
|
11,4
|
||||||
|
13,4
|
||||||
|
14,4
|
||||||
|
15,5
|
||||||
|
15,5
|
||||||
|
4,8,5
|
||||||
|
4,1,6,5
|
||||||
|
4,3,5,5
|
||||||
|
4,1,11
|
||||||
|
5,11
|
||||||
|
2,9,6
|
||||||
|
2,7,5
|
||||||
|
2,4,2
|
||||||
|
2,2
|
||||||
|
2,3
|
||||||
|
2,2
|
||||||
|
2,1
|
||||||
|
3,2
|
||||||
|
3,2
|
||||||
|
3,3
|
||||||
|
3,7
|
||||||
|
2,3,2
|
||||||
|
2,5,1
|
||||||
|
2,3,3,2
|
||||||
|
4,3,2
|
||||||
|
2,2,2
|
||||||
|
goal "000000000000000000000111111110000000000000000000011111111111000000000000000001111111111111000000000000000011111111111001000000000000000111111111100000000000000000001111111111000111000000000000011111111110011110000000000000111111111101111100000000000001111111111011111000000000000011111111111011110000000000011111111111110111100000000001111111111111101111000000000111111111111111011111000000001111111111111110111110000000011110001111111101111100000000111100100111111011111000000000111101110111110111110000000000111100100111111111110000000000111110001111111111100000000000110111111111011111100000000000110011111110011111000000000000110001111000011000000000000000110000000000011000000000000000110000000000011100000000000000110000000000001100000000000000110000000000000100000000000000111000000000000110000000000000111000000000000011000000000000111000000000000011100000000000111000000000011111110000000000011000000001110000011000000000001100000111110000001000000000000110011101110000001100000000000011110001110000000110000000000011000000110000000110000000"
|
||||||
77
demos/nonogram/data/db/qnonograms/collection1/132.non
Normal file
77
demos/nonogram/data/db/qnonograms/collection1/132.non
Normal file
@@ -0,0 +1,77 @@
|
|||||||
|
catalogue "qnonograms 132.jap"
|
||||||
|
title "Hoodie"
|
||||||
|
by "Alexander Meshcheryakov <alexander.s.m@gmail.com>"
|
||||||
|
copyright "© 2008 Alexander Meshcheryakov <alexander.s.m@gmail.com>"
|
||||||
|
license GPL-2.0
|
||||||
|
width 30
|
||||||
|
height 35
|
||||||
|
|
||||||
|
columns
|
||||||
|
11
|
||||||
|
4,12
|
||||||
|
19
|
||||||
|
26
|
||||||
|
28
|
||||||
|
8,14
|
||||||
|
7,8,12
|
||||||
|
6,11,11
|
||||||
|
6,3,1,4,9
|
||||||
|
6,3,1,5,7
|
||||||
|
6,2,1,2,8,6
|
||||||
|
5,3,1,2,2,5,5
|
||||||
|
4,6,1,3,5,4
|
||||||
|
3,6,3,4,1,6,4
|
||||||
|
2,7,4,8,1
|
||||||
|
3,6,3,4,1,6,4
|
||||||
|
3,5,3,3,5,4
|
||||||
|
4,4,1,2,2,5,5
|
||||||
|
5,3,1,2,9,6
|
||||||
|
5,2,1,1,6,7
|
||||||
|
5,3,1,6,9
|
||||||
|
6,3,9,10
|
||||||
|
6,11,10
|
||||||
|
6,12
|
||||||
|
28
|
||||||
|
26
|
||||||
|
22
|
||||||
|
17
|
||||||
|
12
|
||||||
|
11
|
||||||
|
|
||||||
|
rows
|
||||||
|
9
|
||||||
|
11
|
||||||
|
6,7
|
||||||
|
6,1,6
|
||||||
|
6,4,5
|
||||||
|
6,6,5
|
||||||
|
5,8,4
|
||||||
|
5,10,4
|
||||||
|
4,12,3
|
||||||
|
4,2,4,2,3
|
||||||
|
4,5,6,3
|
||||||
|
3,2,2,2,2
|
||||||
|
3,1,5,5,1,2
|
||||||
|
2,3,2,1,1,2,1,1,3
|
||||||
|
2,2,1,1,3
|
||||||
|
2,2,2,3
|
||||||
|
3,2,2,3
|
||||||
|
3,2,3,2,3
|
||||||
|
4,2,5,2,4
|
||||||
|
4,3,9,3,4
|
||||||
|
4,17,4
|
||||||
|
5,4,5,4
|
||||||
|
4,3,3,4,4
|
||||||
|
6,3,1,5,6
|
||||||
|
8,12,7
|
||||||
|
8,10,9
|
||||||
|
9,9,10
|
||||||
|
9,8,10
|
||||||
|
10,5,11
|
||||||
|
11,3,12
|
||||||
|
12,13
|
||||||
|
30
|
||||||
|
14,15
|
||||||
|
14,15
|
||||||
|
14,15
|
||||||
|
goal "000000000011111111100000000000000000000111111111110000000000000000001111110111111100000000000000011111101001111110000000000000111111011110111110000000000001111110111111011111000000000001111101111111101111000000000011111011111111110111100000000011110111111111111011100000000111101100111100001101110000000111101111100011111101110000000111011000000110000110110000000111010111110111110010110000000110111011010101101010111000000110110000010000000010111000000110110000000000000110111000001110110000000000000110111000001110110000011100000110111000011110110000111110000110111100011110111011111111101110111100011110111111111111111110111100011111011110000000111110111100001111001110011100111100111100011111100111001001111101111110111111110111111111111001111111111111110011111111110111111111111111111011111111101111111111111111111001111111101111111111111111111100111110011111111111111111111110011100111111111111111111111111000001111111111111111111111111111111111111111111111111111111110111111111111111111111111111110111111111111111111111111111110111111111111111"
|
||||||
77
demos/nonogram/data/db/qnonograms/collection1/133.non
Normal file
77
demos/nonogram/data/db/qnonograms/collection1/133.non
Normal file
@@ -0,0 +1,77 @@
|
|||||||
|
catalogue "qnonograms 133.jap"
|
||||||
|
title "Mill"
|
||||||
|
by "Alexander Meshcheryakov <alexander.s.m@gmail.com>"
|
||||||
|
copyright "© 2008 Alexander Meshcheryakov <alexander.s.m@gmail.com>"
|
||||||
|
license GPL-2.0
|
||||||
|
width 30
|
||||||
|
height 35
|
||||||
|
|
||||||
|
columns
|
||||||
|
4
|
||||||
|
1,1,3
|
||||||
|
1,1,1,4
|
||||||
|
3,1,1,2,2
|
||||||
|
2,2,2,1,2,2
|
||||||
|
2,2,1,1,2,2
|
||||||
|
2,2,1,3,2
|
||||||
|
2,4,2,2,5
|
||||||
|
2,3,12,2
|
||||||
|
2,10,2,3
|
||||||
|
10,1,2,10
|
||||||
|
1,2,12,4
|
||||||
|
1,2,1,3,4
|
||||||
|
1,11,2,4
|
||||||
|
13,2,9
|
||||||
|
3,1,1,3,2,10
|
||||||
|
3,1,1,1,2,2,10
|
||||||
|
3,2,1,1,2,2,9
|
||||||
|
3,2,1,2,2,1,4
|
||||||
|
7,3,1,1,3,4
|
||||||
|
2,8,1,1,4
|
||||||
|
2,7,1,1,5,4
|
||||||
|
1,6,4,1,3,4
|
||||||
|
1,5,1,1,4
|
||||||
|
4,5,4
|
||||||
|
7,4
|
||||||
|
16,4
|
||||||
|
19
|
||||||
|
9
|
||||||
|
3
|
||||||
|
|
||||||
|
rows
|
||||||
|
3
|
||||||
|
5
|
||||||
|
1
|
||||||
|
5,1
|
||||||
|
2,1,1,3
|
||||||
|
4,1,1,5
|
||||||
|
2,2,1,2,7
|
||||||
|
2,2,1,5,4
|
||||||
|
2,3,4,5
|
||||||
|
2,2,3,7
|
||||||
|
2,1,2,9
|
||||||
|
2,1,3,10
|
||||||
|
5,11,2
|
||||||
|
1,6,1,2,2
|
||||||
|
1,2,11,2
|
||||||
|
10,1,2,1,2
|
||||||
|
8,4,1,2
|
||||||
|
3,5,1,5,2
|
||||||
|
3,3,3,2,2
|
||||||
|
3,4,1,2,2,4,2
|
||||||
|
2,2,2,1,2,2,1,1,2
|
||||||
|
2,2,2,1,2,2,2,1,2
|
||||||
|
3,2,1,2,1,2,1,2
|
||||||
|
1,2,1,3,4,2
|
||||||
|
2,1,2
|
||||||
|
5,2,2
|
||||||
|
5,4,2
|
||||||
|
1,4,2
|
||||||
|
1,4,2
|
||||||
|
1,4,2
|
||||||
|
1,4,2
|
||||||
|
19
|
||||||
|
21
|
||||||
|
22
|
||||||
|
22
|
||||||
|
goal "000000000000000000011100000000000000000000000000011111000000000000000000000000010000000000000000000011111000010000000000000011000010001000111000000000000111100010001001111100000000001100110010011011111110000000000110011010011111001111000000000011001110011110001111100000000001100110011100011111110000000000110010011000111111111000000000011010111001111111111000111110011111111111000000011000100011111101011000000000011000100000000110111111111110011000111111111101011000000010011000000000111111110111100010001100000011101111100100111110001100000111011101110110000000001100011100111101011011000111101100011001101101001101100100101100011011001101000110110110101100001110011001000011010110101100000100011001000001110111101100000000011001000000000000001100000000011111000110000000001100000000011111001111000000000110000000000010001111000000000110000000000010001111000000000110000000000010001111000000000110000000000010001111000000000110000000000011111111111111111110000000000111111111111111111111000000001111111111111111111111000000001111111111111111111111"
|
||||||
77
demos/nonogram/data/db/qnonograms/collection1/54.non
Normal file
77
demos/nonogram/data/db/qnonograms/collection1/54.non
Normal file
@@ -0,0 +1,77 @@
|
|||||||
|
catalogue "qnonograms 54.jap"
|
||||||
|
title "Nosey"
|
||||||
|
by "Alexander Meshcheryakov <alexander.s.m@gmail.com>"
|
||||||
|
copyright "© 2008 Alexander Meshcheryakov <alexander.s.m@gmail.com>"
|
||||||
|
license GPL-2.0
|
||||||
|
width 30
|
||||||
|
height 35
|
||||||
|
|
||||||
|
columns
|
||||||
|
4
|
||||||
|
6
|
||||||
|
2,2
|
||||||
|
4,2,1
|
||||||
|
6,1,1
|
||||||
|
7,2,2
|
||||||
|
2,8,1,2,2
|
||||||
|
11,1,2,5
|
||||||
|
11,4,4,4
|
||||||
|
19,3,2,3
|
||||||
|
13,6,2,2,2
|
||||||
|
12,2,1,2,3
|
||||||
|
13,2,3,2,2
|
||||||
|
19,3,2,1
|
||||||
|
17,2,1
|
||||||
|
13,2,1
|
||||||
|
13,3,1
|
||||||
|
12,7,1
|
||||||
|
19,1
|
||||||
|
18,5,1
|
||||||
|
17,1,2,1
|
||||||
|
16,8,1
|
||||||
|
17,11,1
|
||||||
|
30,1
|
||||||
|
33
|
||||||
|
32
|
||||||
|
29
|
||||||
|
24
|
||||||
|
22
|
||||||
|
20
|
||||||
|
|
||||||
|
rows
|
||||||
|
14
|
||||||
|
17
|
||||||
|
21
|
||||||
|
22
|
||||||
|
22
|
||||||
|
24
|
||||||
|
25
|
||||||
|
26
|
||||||
|
27
|
||||||
|
27
|
||||||
|
27
|
||||||
|
27
|
||||||
|
3,2,5,12
|
||||||
|
1,2,12
|
||||||
|
3,2,12
|
||||||
|
3,2,13
|
||||||
|
6,2,4,8
|
||||||
|
3,3,1,3,7
|
||||||
|
2,5,2,7
|
||||||
|
2,3,1,7
|
||||||
|
2,1,2,8
|
||||||
|
2,2,1,1,9
|
||||||
|
2,5,2,1,9
|
||||||
|
3,9,11
|
||||||
|
5,2,11
|
||||||
|
2,8
|
||||||
|
2,7
|
||||||
|
9,1,6
|
||||||
|
10,6
|
||||||
|
2,2,5
|
||||||
|
2,5
|
||||||
|
1,2
|
||||||
|
3,2
|
||||||
|
3,2
|
||||||
|
14
|
||||||
|
goal "000000000111111111111110000000000000011111111111111111000000000000111111111111111111111000000000111111111111111111111100000000011111111111111111111110000000111111111111111111111111000001111111111111111111111111000011111111111111111111111111000111111111111111111111111111000111111111111111111111111111000111111111111111111111111111000111111111111111111111111111000011100110111110111111111111000000000100011000111111111111000000001110011000111111111111000000001110011001111111111111000001111110011001111011111111000111001110010001110001111111001100000111110001100001111111011000000011100001000001111111110000000000000001011011111111110000000000110001010111111111110000111110110000010111111111111001111111110000011111111111011111001100000000011111111111000000011000000000000111111110000000110000000000000111111100000000111111111010000111111000000000011111111110000111111000000000011000000110000011111000000000001100000000000011111000000000000100000000000000110000000000000111000000000000110000000000000011100000000000110000000000000001111111111111100000"
|
||||||
77
demos/nonogram/data/db/qnonograms/collection1/94.non
Normal file
77
demos/nonogram/data/db/qnonograms/collection1/94.non
Normal file
@@ -0,0 +1,77 @@
|
|||||||
|
catalogue "qnonograms 94.jap"
|
||||||
|
title "Artist"
|
||||||
|
by "Alexander Meshcheryakov <alexander.s.m@gmail.com>"
|
||||||
|
copyright "© 2008 Alexander Meshcheryakov <alexander.s.m@gmail.com>"
|
||||||
|
license GPL-2.0
|
||||||
|
width 30
|
||||||
|
height 35
|
||||||
|
|
||||||
|
columns
|
||||||
|
6
|
||||||
|
1,6
|
||||||
|
10
|
||||||
|
2,4,1,11
|
||||||
|
4,2,4,12
|
||||||
|
5,3,1,16
|
||||||
|
4,2,2,2,4,4
|
||||||
|
8,1,3,2,3
|
||||||
|
6,1,2,3,4,2
|
||||||
|
6,2,1,3,6,2
|
||||||
|
5,3,4,5,2
|
||||||
|
6,5,3,2
|
||||||
|
7,6,1,1,1
|
||||||
|
7,5,2,1
|
||||||
|
6,4,5,3,1
|
||||||
|
6,2,2,4,1,2,1
|
||||||
|
7,2,2,2,1,2,1
|
||||||
|
7,2,1,2,4
|
||||||
|
8,2,1,1,1,3
|
||||||
|
8,2,2,2,2
|
||||||
|
8,5,1,4
|
||||||
|
9,2,5
|
||||||
|
9,2,7
|
||||||
|
7,1,8
|
||||||
|
8,2,1,13
|
||||||
|
10,1,17
|
||||||
|
5,1,1,14
|
||||||
|
3,13
|
||||||
|
12
|
||||||
|
10
|
||||||
|
|
||||||
|
rows
|
||||||
|
9
|
||||||
|
13
|
||||||
|
16
|
||||||
|
19
|
||||||
|
21
|
||||||
|
23
|
||||||
|
7,2,11
|
||||||
|
2,2,9
|
||||||
|
1,7
|
||||||
|
4,3,6
|
||||||
|
2,2,5,1,3
|
||||||
|
1,1,2,2,2
|
||||||
|
1,1,1,1,1,1
|
||||||
|
4,1,1,1,1
|
||||||
|
3,2,1,2
|
||||||
|
2,2,2,1,1
|
||||||
|
1,4,2,1
|
||||||
|
1,1,1
|
||||||
|
2,4,3
|
||||||
|
2,6,1
|
||||||
|
13,1
|
||||||
|
14,2
|
||||||
|
1,9,4
|
||||||
|
2,7
|
||||||
|
4,2,5
|
||||||
|
6,4,3,6
|
||||||
|
11,3,6
|
||||||
|
5,10,7
|
||||||
|
4,3,2,8
|
||||||
|
6,3,2,8
|
||||||
|
6,1,2,9
|
||||||
|
7,2,10
|
||||||
|
8,2,10
|
||||||
|
12,13
|
||||||
|
30
|
||||||
|
goal "000000000001111111110000000000000000000111111111111100000000000000011111111111111110000000000001111111111111111111000000000011111111111111111111100000000111111111111111111111110000000111111100110011111111111000000011011000000000111111111000000000010000000000001111111000000000111100000011100111111000000001100110000111110010111000000001000010001100011000110000000001001010001000001000010000000000111100001000101000010000000011100000001100001000011000000110000000000110011000100100000100000000000011110000110100000100000000100000000000000100000110000001111000000000111000000011000011111100000000010000000011111111111110000000010000000111111111111110000000011000000001011111111100000000111100000011000000000000000011111110000111100000000000000110111110001111110111100000011100111111011111111111000001110000111111001111101111111111000001111111001111001110011000000011111111111111001110001100000011111111111111000100000110000111111111111111100000000011001111111111111111110000000001101111111111111111111111000001111111111111111111111111111111111111111111"
|
||||||
77
demos/nonogram/data/db/qnonograms/collection1/95.non
Normal file
77
demos/nonogram/data/db/qnonograms/collection1/95.non
Normal file
@@ -0,0 +1,77 @@
|
|||||||
|
catalogue "qnonograms 95.jap"
|
||||||
|
title "Kid"
|
||||||
|
by "Alexander Meshcheryakov <alexander.s.m@gmail.com>"
|
||||||
|
copyright "© 2008 Alexander Meshcheryakov <alexander.s.m@gmail.com>"
|
||||||
|
license GPL-2.0
|
||||||
|
width 30
|
||||||
|
height 35
|
||||||
|
|
||||||
|
columns
|
||||||
|
3
|
||||||
|
4
|
||||||
|
6
|
||||||
|
8,5
|
||||||
|
17,1,1
|
||||||
|
17,4
|
||||||
|
5,4,2,4
|
||||||
|
4,5,2,9,2
|
||||||
|
4,5,14,2
|
||||||
|
4,5,4,16
|
||||||
|
4,7,2,14
|
||||||
|
4,6,1,4,8
|
||||||
|
4,5,1,1,1,8
|
||||||
|
4,5,1,1,1,8
|
||||||
|
4,5,2,2,1,13
|
||||||
|
4,6,2,1,1,3
|
||||||
|
4,5,2,2,1,13
|
||||||
|
4,5,1,1,1,1,8
|
||||||
|
4,5,1,1,1,8
|
||||||
|
4,6,1,4,8
|
||||||
|
4,7,2,14
|
||||||
|
4,4,4,16
|
||||||
|
4,5,13,2
|
||||||
|
5,6,2,8,2
|
||||||
|
18,4
|
||||||
|
16,1,1
|
||||||
|
9,5
|
||||||
|
6,6
|
||||||
|
4
|
||||||
|
3
|
||||||
|
|
||||||
|
rows
|
||||||
|
20
|
||||||
|
22
|
||||||
|
22
|
||||||
|
22
|
||||||
|
3,3
|
||||||
|
2,16,2
|
||||||
|
2,16,2
|
||||||
|
2,16,2
|
||||||
|
2,16,2
|
||||||
|
18,5
|
||||||
|
4,2,1,2,4
|
||||||
|
4,2,1,1,2,5
|
||||||
|
4,1,2,2,1,5
|
||||||
|
3,1,1,1,5
|
||||||
|
3,2,3,2,5
|
||||||
|
3,5,5,4
|
||||||
|
4,4
|
||||||
|
1,2,2,1
|
||||||
|
2,4,2
|
||||||
|
1,2,2,1
|
||||||
|
2,3,2,2
|
||||||
|
11,10
|
||||||
|
4,20,4
|
||||||
|
4,7,1,1,6,4
|
||||||
|
12,1,1,11
|
||||||
|
4,1,1,1,1,4
|
||||||
|
4,1,1,4
|
||||||
|
8,8
|
||||||
|
8,8
|
||||||
|
7,7
|
||||||
|
7,7
|
||||||
|
14
|
||||||
|
13
|
||||||
|
17
|
||||||
|
8,8
|
||||||
|
goal "000001111111111111111111100000000011111111111111111111110000000011111111111111111111110000000011111111111111111111110000000011100000000000000001110000000011011111111111111110110000000011011111111111111110110000000011011111111111111110110000000011011111111111111110110000000111111111111111111011111000000111100011000100011001111000000111100110001010001101111100000111100100011011000101111100000111000100000100000101111100000111000110001110001101111100000111000011111011111000111100000111100000000000000000111100000010110000000000000001101000000000011000001111000011000000001000001100000000000110000100001100011100000000000110001100011111111111000000011111111110111101111111111111111111101111111101111111001010011111101111111111111111001010011111111111000000011110101010101111000000000000011110001010001111000000000000011111111011111111000000000000011111111011111111000000000000001111111011111110000000000000001111111011111110000000000000001111111111111100000000000000000111111111111100000000000000011111111111111111000000000000011111111011111111000000"
|
||||||
77
demos/nonogram/data/db/qnonograms/collection1/97.non
Normal file
77
demos/nonogram/data/db/qnonograms/collection1/97.non
Normal file
@@ -0,0 +1,77 @@
|
|||||||
|
catalogue "qnonograms 97.jap"
|
||||||
|
title "Singer"
|
||||||
|
by "Alexander Meshcheryakov <alexander.s.m@gmail.com>"
|
||||||
|
copyright "© 2008 Alexander Meshcheryakov <alexander.s.m@gmail.com>"
|
||||||
|
license GPL-2.0
|
||||||
|
width 30
|
||||||
|
height 35
|
||||||
|
|
||||||
|
columns
|
||||||
|
1,2,3
|
||||||
|
3,2,3
|
||||||
|
4,6,3
|
||||||
|
6,3,2,4
|
||||||
|
10,1,7
|
||||||
|
6,3,6,2
|
||||||
|
7,3,6,2
|
||||||
|
6,4,6,3
|
||||||
|
6,4,5,3
|
||||||
|
6,2,5,2,2
|
||||||
|
7,2,1,10,2,1
|
||||||
|
14,11,2,1
|
||||||
|
6,2,2,11,2,1
|
||||||
|
6,2,2,9,1,1
|
||||||
|
7,2,2,7,2,1
|
||||||
|
7,2,3,2,1
|
||||||
|
7,2,3,1
|
||||||
|
6,2,4,2
|
||||||
|
6,3,1,4,2
|
||||||
|
6,8,2
|
||||||
|
6,8,2
|
||||||
|
6,9,6
|
||||||
|
6,11,3,2
|
||||||
|
10,7,2,2
|
||||||
|
10,3,2
|
||||||
|
4,1,4,2
|
||||||
|
3,1,2,5
|
||||||
|
3,2,1,2
|
||||||
|
2,2,3
|
||||||
|
1,4
|
||||||
|
|
||||||
|
rows
|
||||||
|
5
|
||||||
|
11
|
||||||
|
15
|
||||||
|
19
|
||||||
|
24
|
||||||
|
25
|
||||||
|
19,7
|
||||||
|
15,8
|
||||||
|
9,11
|
||||||
|
4,15
|
||||||
|
1,10,5
|
||||||
|
9,5
|
||||||
|
9,1,5
|
||||||
|
9,1,5
|
||||||
|
1,5,6
|
||||||
|
1,4,7
|
||||||
|
1,6
|
||||||
|
2,1,2,2
|
||||||
|
10,2,2,2
|
||||||
|
14,3,1
|
||||||
|
1,14,1,1
|
||||||
|
2,15,2,2
|
||||||
|
15,1,1
|
||||||
|
7,5,3
|
||||||
|
3,5,3
|
||||||
|
1,5,3
|
||||||
|
1,4,2
|
||||||
|
1,4,2
|
||||||
|
1,2,1
|
||||||
|
2,1,1,2
|
||||||
|
2,2,2,1
|
||||||
|
2,5,1
|
||||||
|
2,2,1
|
||||||
|
2,7
|
||||||
|
15
|
||||||
|
goal "000000000000000000001111100000000000000000001111111111100000000000000011111111111111100000000000111111111111111111100000011111111111111111111111100000111111111111111111111111100000011111111111111111110001111111001111111111111110000111111110000111111111000001111111111100000111100001111111111111110000000010011111111110111110000000000111111111000000011111000000111111111001000000011111000000111111111001000000011111000000001000000011111000011111100000001000000001111000111111100000001000000000000000000011111100001100000000000000100011000110000111111111100001100000011011000001111111111111100000011101100001111111111111100000010001110111111111111111000000011011111111111111111000000000001010011111110011111000000000001110001110000011111000000000011100000010000011111000000000111000000010000011110000000001100000000010000011110000000011000000000001000001100000000010000000000001100100000100000110000000000000110110001100000100000000000000011011111000000100000000000000011001100000000100000000000000001100000001111111000000000000000111111111111111000000"
|
||||||
77
demos/nonogram/data/db/qnonograms/collection1/98.non
Normal file
77
demos/nonogram/data/db/qnonograms/collection1/98.non
Normal file
@@ -0,0 +1,77 @@
|
|||||||
|
catalogue "qnonograms 98.jap"
|
||||||
|
title "Belle"
|
||||||
|
by "Alexander Meshcheryakov <alexander.s.m@gmail.com>"
|
||||||
|
copyright "© 2008 Alexander Meshcheryakov <alexander.s.m@gmail.com>"
|
||||||
|
license GPL-2.0
|
||||||
|
width 30
|
||||||
|
height 35
|
||||||
|
|
||||||
|
columns
|
||||||
|
6,4
|
||||||
|
9,4
|
||||||
|
12,5
|
||||||
|
20,5
|
||||||
|
23,5
|
||||||
|
8,13,3
|
||||||
|
7,1,3,7,2
|
||||||
|
8,2,2,8
|
||||||
|
8,1,4,2,4
|
||||||
|
9,1,1,2,2
|
||||||
|
12,1,4
|
||||||
|
13,1,2
|
||||||
|
13,3,1
|
||||||
|
14,2,2
|
||||||
|
14,1,1
|
||||||
|
13,2,2
|
||||||
|
14,1,2
|
||||||
|
14,2
|
||||||
|
20,7
|
||||||
|
17,1,11
|
||||||
|
14,1,8
|
||||||
|
12,1,11
|
||||||
|
12,12,2
|
||||||
|
24,2
|
||||||
|
13,9,3
|
||||||
|
8,9,1
|
||||||
|
8,1
|
||||||
|
7,2
|
||||||
|
6,2
|
||||||
|
4,1
|
||||||
|
|
||||||
|
rows
|
||||||
|
6
|
||||||
|
9
|
||||||
|
11
|
||||||
|
13
|
||||||
|
16
|
||||||
|
19
|
||||||
|
23
|
||||||
|
25
|
||||||
|
25
|
||||||
|
26
|
||||||
|
26
|
||||||
|
26
|
||||||
|
6,16
|
||||||
|
4,1,7,10
|
||||||
|
4,1,8
|
||||||
|
3,3,6,3,4
|
||||||
|
3,1,1,2,1,2,3
|
||||||
|
3,1,1,1,2,4
|
||||||
|
3,1,1,1,3
|
||||||
|
3,1,3,3
|
||||||
|
3,1,1,3
|
||||||
|
3,7
|
||||||
|
3,2,9
|
||||||
|
4,1,1,10
|
||||||
|
4,1,1,11
|
||||||
|
5,1,2,11
|
||||||
|
4,3,12
|
||||||
|
5,3,12
|
||||||
|
8,12
|
||||||
|
6,1,1,6
|
||||||
|
4,2,1,1,2
|
||||||
|
5,1,1,1,3
|
||||||
|
8,2
|
||||||
|
7,5
|
||||||
|
6,3
|
||||||
|
goal "000000000000011111100000000000000000000001111111110000000000000000000011111111111000000000000000000111111111111100000000000000011111111111111110000000000001111111111111111111000000011111111111111111111111000000111111111111111111111111100000111111111111111111111111100000111111111111111111111111110000111111111111111111111111110000111111111111111111111111110000111111000011111111111111110000011110101111111011111111110000011110010000000000111111110000001110111001111110111011110000001110101000110100110001110000001110101000100000110111100000000111001000000000101011100000000111010000000001110011100000000111010000000001000111000000000111000000000000011111110000000111001100000000111111111000000111101010000000111111111100000111100100000010111111111110000111110100000110111111111110000011110000011100111111111111000011111001110000111111111111000011111111000000111111111111000001111110000000010100111111001111011010000000010110000000111110010010000000010011100000111111110000000000000001100000111111100000000000000000111110111111000000000000000000000111"
|
||||||
1
demos/nonogram/data/db/qnonograms/collection1/README.md
Normal file
1
demos/nonogram/data/db/qnonograms/collection1/README.md
Normal file
@@ -0,0 +1 @@
|
|||||||
|
These were taken from the `qnonograms` program's `Collections-may-2008.zip` file, offered on their project web site. Since no copyright or license information was included, I've assumed they have the same copyright and license as the main `qnonograms` program.
|
||||||
1
demos/nonogram/data/db/qnonograms/examples/README.md
Normal file
1
demos/nonogram/data/db/qnonograms/examples/README.md
Normal file
@@ -0,0 +1 @@
|
|||||||
|
These were taken from the `qnonograms` program source's `examples` directory. None had explicit copyright or license information, so I assumed they were covered by the same copyright and license as the rest of `qnonograms`.
|
||||||
57
demos/nonogram/data/db/qnonograms/examples/candle.non
Normal file
57
demos/nonogram/data/db/qnonograms/examples/candle.non
Normal file
@@ -0,0 +1,57 @@
|
|||||||
|
catalogue "qnonograms candle.jap"
|
||||||
|
title "Burning"
|
||||||
|
by "Alexander Meshcheryakov <alexander.s.m@gmail.com>"
|
||||||
|
copyright "© 2007 Alexander Meshcheryakov <alexander.s.m@gmail.com>"
|
||||||
|
license GPL-2.0
|
||||||
|
width 20
|
||||||
|
height 25
|
||||||
|
|
||||||
|
columns
|
||||||
|
1
|
||||||
|
1
|
||||||
|
2
|
||||||
|
3,1
|
||||||
|
2,4,2
|
||||||
|
4,15
|
||||||
|
2,17
|
||||||
|
5,15
|
||||||
|
3,4,2
|
||||||
|
3,1
|
||||||
|
2
|
||||||
|
2
|
||||||
|
7
|
||||||
|
3,1
|
||||||
|
1
|
||||||
|
2,3
|
||||||
|
1,1,2
|
||||||
|
2,1,1
|
||||||
|
2,2
|
||||||
|
5
|
||||||
|
|
||||||
|
rows
|
||||||
|
1
|
||||||
|
1
|
||||||
|
2
|
||||||
|
2
|
||||||
|
3
|
||||||
|
2,1
|
||||||
|
2,1
|
||||||
|
1
|
||||||
|
1
|
||||||
|
1
|
||||||
|
3
|
||||||
|
3,3
|
||||||
|
3,3,2
|
||||||
|
3,1,2
|
||||||
|
3,2,1
|
||||||
|
3,1,3,1
|
||||||
|
3,1,1,1
|
||||||
|
3,1,2,2
|
||||||
|
5,1,3
|
||||||
|
14
|
||||||
|
11
|
||||||
|
7
|
||||||
|
3
|
||||||
|
5
|
||||||
|
7
|
||||||
|
goal "00000000100000000000000000001000000000000000000110000000000000000011000000000000000001110000000000000000110100000000000000001101000000000000000001000000000000000000001000000000000000000010000000000000000001110000000000000000011100000001110000000111000001110110000001110000010000110000011100001100000100000111000010011101000001110000100100010000011100001001101100001111100010001110111111111111110000000011111111111000000000011111110000000000000001110000000000000000111110000000000000011111110000000000"
|
||||||
77
demos/nonogram/data/db/qnonograms/examples/flower.non
Normal file
77
demos/nonogram/data/db/qnonograms/examples/flower.non
Normal file
@@ -0,0 +1,77 @@
|
|||||||
|
catalogue "qnonograms flower.jap"
|
||||||
|
title "Not a Weed"
|
||||||
|
by "Alexander Meshcheryakov <alexander.s.m@gmail.com>"
|
||||||
|
copyright "© 2007 Alexander Meshcheryakov <alexander.s.m@gmail.com>"
|
||||||
|
license GPL-2.0
|
||||||
|
width 30
|
||||||
|
height 35
|
||||||
|
|
||||||
|
columns
|
||||||
|
2,2,2
|
||||||
|
2,2,2,1,1
|
||||||
|
6,3,5,1
|
||||||
|
5,2,2,6,1
|
||||||
|
3,10,9
|
||||||
|
4,2,5,9
|
||||||
|
6,3,10
|
||||||
|
3,1,1,9
|
||||||
|
6,3,9
|
||||||
|
4,2,5,8
|
||||||
|
3,10,11
|
||||||
|
5,2,3,10
|
||||||
|
6,3,2,7
|
||||||
|
2,2,2,5,4
|
||||||
|
3,2,15
|
||||||
|
1,2,4,4
|
||||||
|
2,2,2,11
|
||||||
|
6,3,8,3
|
||||||
|
5,2,2,8,4
|
||||||
|
4,10,9,4
|
||||||
|
4,2,5,6,3
|
||||||
|
6,3,1,1,3
|
||||||
|
4,1,1,5
|
||||||
|
6,3,8
|
||||||
|
4,2,5,7
|
||||||
|
5,10,8
|
||||||
|
5,2,2,5,1
|
||||||
|
6,3,6
|
||||||
|
2,2,2,4
|
||||||
|
2,2,2,1,1
|
||||||
|
|
||||||
|
rows
|
||||||
|
2,2
|
||||||
|
3,3,1,1
|
||||||
|
3,3,2,2
|
||||||
|
3,5,2,3,3
|
||||||
|
4,3,3,7
|
||||||
|
3,3,3,3,6,3
|
||||||
|
5,5,3,3,4
|
||||||
|
6,6,3,3,3
|
||||||
|
5,1,5,5,5
|
||||||
|
2,2,7,6
|
||||||
|
5,5,5,1,5
|
||||||
|
14,2,2
|
||||||
|
3,3,3,2,5,5
|
||||||
|
3,3,15
|
||||||
|
2,2,3,3,3,3
|
||||||
|
2,1,3,3
|
||||||
|
1,2,2,2
|
||||||
|
2
|
||||||
|
1
|
||||||
|
1
|
||||||
|
1,1,1,2
|
||||||
|
7,2,1
|
||||||
|
7,1,1,2
|
||||||
|
10,1,4,1,1,3
|
||||||
|
9,1,6,6
|
||||||
|
9,1,5,6
|
||||||
|
10,1,6,7
|
||||||
|
8,1,5,6
|
||||||
|
10,1,5,6
|
||||||
|
8,1,4,5
|
||||||
|
5,1,2,7
|
||||||
|
7,5
|
||||||
|
11
|
||||||
|
9
|
||||||
|
9
|
||||||
|
goal "000011000110000000000000000000000011101110000000010000010000000011101110000000011000110000111001111100110000011101110000111100111001110000011111110000001110111011100111001111110111001111101111100011100111001111111111000111111001110111011100111110010011111001111101111100000011000110001111111000111111001111101111100111110010011111111111111111110000011000110000111011101110110001111101111100000111000111000111111111111111000110000011000111011101110111000000000001100100111000111000000000000000101100110000011000000000000000011000000000000000000000000000010000000000000000000000000000010000000000000000001010100000011000000000000000011111110000011000010000000000001111111010001000110000000000011111111110001001111001010111001111111110001011111101111110000111111111001011111001111110001111111111001011111101111111000011111111001011111011111100000111111111101011111011111100000001111111101011110111110000000000001111101011001111111000000000000011111110111110000000000000000011111111111000000000000000000001111111110000000000000000000001111111110000000000"
|
||||||
47
demos/nonogram/data/db/qnonograms/examples/mouse.non
Normal file
47
demos/nonogram/data/db/qnonograms/examples/mouse.non
Normal file
@@ -0,0 +1,47 @@
|
|||||||
|
catalogue "qnonograms mouse.jap"
|
||||||
|
title "Not a Rat"
|
||||||
|
by "Alexander Meshcheryakov <alexander.s.m@gmail.com>"
|
||||||
|
copyright "© 2007 Alexander Meshcheryakov <alexander.s.m@gmail.com>"
|
||||||
|
license GPL-2.0
|
||||||
|
width 25
|
||||||
|
height 10
|
||||||
|
|
||||||
|
columns
|
||||||
|
2
|
||||||
|
2
|
||||||
|
2
|
||||||
|
3
|
||||||
|
1,1,2
|
||||||
|
3,5
|
||||||
|
10
|
||||||
|
9
|
||||||
|
8
|
||||||
|
5
|
||||||
|
7
|
||||||
|
8
|
||||||
|
8
|
||||||
|
8
|
||||||
|
7
|
||||||
|
7
|
||||||
|
5
|
||||||
|
4
|
||||||
|
3
|
||||||
|
1
|
||||||
|
1
|
||||||
|
1
|
||||||
|
1
|
||||||
|
1
|
||||||
|
2
|
||||||
|
|
||||||
|
rows
|
||||||
|
2
|
||||||
|
4
|
||||||
|
5,5
|
||||||
|
4,7
|
||||||
|
12
|
||||||
|
15
|
||||||
|
1,2,14
|
||||||
|
19,2
|
||||||
|
1,13,2,2
|
||||||
|
2,4,1
|
||||||
|
goal "0000001100000000000000000000001111000000000000000000001111100111110000000000000011110111111100000000000000111111111111000000000001111111111111110000001011011111111111111000000111111111111111111100110001011111111111110001100110000011000111100000000001"
|
||||||
62
demos/nonogram/data/db/qnonograms/examples/rhino.non
Normal file
62
demos/nonogram/data/db/qnonograms/examples/rhino.non
Normal file
@@ -0,0 +1,62 @@
|
|||||||
|
catalogue "qnonograms rhino.jap"
|
||||||
|
title "In Name Only"
|
||||||
|
by "Alexander Meshcheryakov <alexander.s.m@gmail.com>"
|
||||||
|
copyright "© 2007 Alexander Meshcheryakov <alexander.s.m@gmail.com>"
|
||||||
|
license GPL-2.0
|
||||||
|
width 30
|
||||||
|
height 20
|
||||||
|
|
||||||
|
columns
|
||||||
|
8
|
||||||
|
5
|
||||||
|
7,6
|
||||||
|
3,5,2
|
||||||
|
1
|
||||||
|
2
|
||||||
|
2,4,4
|
||||||
|
2,2,8
|
||||||
|
2,6,2
|
||||||
|
3,5
|
||||||
|
2,6
|
||||||
|
2,6
|
||||||
|
2,8
|
||||||
|
2,5,3
|
||||||
|
2,2
|
||||||
|
2
|
||||||
|
2,5
|
||||||
|
2,2,8
|
||||||
|
2,2,5,4
|
||||||
|
1,3,1,4,2
|
||||||
|
2,4,8
|
||||||
|
2,12
|
||||||
|
4,12
|
||||||
|
3,7,4
|
||||||
|
14
|
||||||
|
3,7
|
||||||
|
2,2,3
|
||||||
|
1,2
|
||||||
|
1
|
||||||
|
1
|
||||||
|
|
||||||
|
rows
|
||||||
|
3
|
||||||
|
12
|
||||||
|
11,3
|
||||||
|
7,3
|
||||||
|
2,3,2,2
|
||||||
|
3,1,3,5
|
||||||
|
3,1,3,2
|
||||||
|
3,1,1,1,5
|
||||||
|
3,3,1,1,1,4
|
||||||
|
3,5,2,1,5
|
||||||
|
1,2,7,1,5
|
||||||
|
1,1,6,1,8
|
||||||
|
1,1,6,10
|
||||||
|
1,2,6,10,1
|
||||||
|
2,2,3,2,4,5
|
||||||
|
1,2,1,2,9
|
||||||
|
1,2,1,3,7
|
||||||
|
1,2,2,3,5
|
||||||
|
2,2,1,3,3
|
||||||
|
1,2,1,3
|
||||||
|
goal "000000000000000011100000000000000000000111111111111000000000000001111111111100001110000000000111111100000000000111000000001100000000000000111011011000011100100000000000111011111000111000100000000000011100110000111000100000010001001111100000111000111000010001010111100000111000011111011000101111100000101100001111111000101111100000100100001111110000101111111100100100011111100001111111111000101100011111100011111111110001001100110011100011011110111110001000110000100011011111111100001000110000100011101111111000001000110000110011100111110000001100011000010001110011100000000100011000010001110000000000"
|
||||||
122
demos/nonogram/data/db/qnonograms/examples/sun.non
Normal file
122
demos/nonogram/data/db/qnonograms/examples/sun.non
Normal file
@@ -0,0 +1,122 @@
|
|||||||
|
catalogue "qnonograms sun.jap"
|
||||||
|
title "Brightly"
|
||||||
|
by "Alexander Meshcheryakov <alexander.s.m@gmail.com>"
|
||||||
|
copyright "© 2007 Alexander Meshcheryakov <alexander.s.m@gmail.com>"
|
||||||
|
license GPL-2.0
|
||||||
|
width 50
|
||||||
|
height 60
|
||||||
|
|
||||||
|
columns
|
||||||
|
1,2,2,3,1
|
||||||
|
4,2,2,1,1,3,1,2,2,2
|
||||||
|
2,1,2,2,1,3,2,2,2,3,4
|
||||||
|
2,1,3,3,1,5,2,1,3,2,1,1,2
|
||||||
|
1,1,1,6,1,7,1,1,3,2,2,1,2
|
||||||
|
1,3,1,17,1,7,2,1,3
|
||||||
|
2,3,1,27,3,5
|
||||||
|
4,3,2,8,15,4
|
||||||
|
2,3,1,4,11,4
|
||||||
|
2,4,4,8,2,3
|
||||||
|
11,1,5,3
|
||||||
|
9,2,8,2
|
||||||
|
3,7,1,3,2,1,6,5
|
||||||
|
1,10,2,4,5,2,11
|
||||||
|
2,5,2,2,2,1,6,2,9
|
||||||
|
9,3,2,1,1,1,8,3,7
|
||||||
|
8,3,1,1,2,2,12,6
|
||||||
|
7,3,1,7,4,8,4,4
|
||||||
|
3,5,5,2,4,5,9,5,1
|
||||||
|
1,7,7,4,5,10,3,2
|
||||||
|
2,4,11,5,1,6,6
|
||||||
|
3,3,4,4,5,2,2,3,4
|
||||||
|
7,2,2,3,1,4,1,2,5
|
||||||
|
6,1,3,3,1,2,1
|
||||||
|
5,3,3,2,1,4,1
|
||||||
|
4,6,10,2,6
|
||||||
|
2,2,13,2,3,2,2,5
|
||||||
|
1,3,24,3,3,4
|
||||||
|
1,5,2,6,4,7,3,8,4
|
||||||
|
1,7,3,5,2,3,7,2,8,3
|
||||||
|
9,4,5,1,5,6,1,9,4
|
||||||
|
4,5,5,5,7,7,9,6
|
||||||
|
1,2,3,4,5,2,1,2,6,10,4,2
|
||||||
|
1,4,5,4,1,2,1,16,5,1
|
||||||
|
1,5,11,2,1,17,6,1
|
||||||
|
2,7,11,1,17,8,2
|
||||||
|
2,9,12,18,10
|
||||||
|
1,11,31,3,9
|
||||||
|
6,7,29,4,5
|
||||||
|
3,9,25,5
|
||||||
|
1,12,21,8,3
|
||||||
|
16,17,10,4
|
||||||
|
6,11,7,13,4
|
||||||
|
4,16,11,6,5
|
||||||
|
1,33,5,4
|
||||||
|
24,8,5,4
|
||||||
|
3,6,5,5,4,7,4,2
|
||||||
|
3,4,4,4,4,6,4,1
|
||||||
|
3,4,3,3,4,5,4
|
||||||
|
3,2,2,4,4,3
|
||||||
|
|
||||||
|
rows
|
||||||
|
1,4,3
|
||||||
|
1,3,1,2,4
|
||||||
|
3,1,4,1,3,2,2,1
|
||||||
|
1,3,1,4,1,3,2,2,3,2
|
||||||
|
3,1,3,1,6,3,2,3,3,3
|
||||||
|
3,1,6,4,6,4,3,2
|
||||||
|
1,3,1,17,4,4,1,1
|
||||||
|
2,1,3,1,23,4,2
|
||||||
|
3,1,13,15,2
|
||||||
|
1,2,1,10,11,3
|
||||||
|
1,2,1,8,9,4
|
||||||
|
5,7,13
|
||||||
|
3,6,4,12
|
||||||
|
1,5,7,10
|
||||||
|
1,4,8,9
|
||||||
|
7,2,8,7
|
||||||
|
2,4,8,6,2
|
||||||
|
4,2,6,10
|
||||||
|
6,5,6,8
|
||||||
|
10,5,13,7
|
||||||
|
8,8,15,6
|
||||||
|
6,10,15,5
|
||||||
|
4,5,17,3
|
||||||
|
3,8,4,8,7
|
||||||
|
5,2,3,3,5,7,7
|
||||||
|
1,3,2,5,5,2,1,6,6
|
||||||
|
1,4,2,1,2,2,4,2,3,5,5
|
||||||
|
1,5,4,2,4,9,6,3
|
||||||
|
7,13,6,1,6,2
|
||||||
|
5,5,2,5,7,2
|
||||||
|
4,5,2,3,7,3
|
||||||
|
3,5,1,3,8,6
|
||||||
|
3,2,4,9,6
|
||||||
|
2,2,4,16,6
|
||||||
|
4,1,3,15,2,3
|
||||||
|
4,2,4,1,15,2
|
||||||
|
3,25,4
|
||||||
|
1,2,6,19,6
|
||||||
|
2,2,7,2,1,13,7
|
||||||
|
2,4,7,1,2,1,8,8
|
||||||
|
1,6,5,9,9,8
|
||||||
|
9,4,12,9,9
|
||||||
|
10,7,7,10,7
|
||||||
|
5,6,1,1,11,6
|
||||||
|
1,4,5,16,4
|
||||||
|
2,4,2,5,14,4
|
||||||
|
1,5,9,10,6
|
||||||
|
1,7,9,8,8
|
||||||
|
2,9,6,7,10
|
||||||
|
1,6,4,5,6,13
|
||||||
|
4,6,4,7,4,9
|
||||||
|
2,2,8,2,3,7,8
|
||||||
|
4,10,10,2,5
|
||||||
|
4,1,25,4,2
|
||||||
|
1,3,1,25,5
|
||||||
|
1,3,1,5,1,3,5,2,5,5
|
||||||
|
1,3,1,4,1,3,4,2,4,4
|
||||||
|
4,1,3,1,2,1,2,2,3,4
|
||||||
|
3,1,3,1,1,1,1,2,2,3
|
||||||
|
2,1,2,2,1,1,2
|
||||||
|
goal "000000000000000000100000000001111000001110000000000000000000001000001110000000101100001111000000000000000000000011100010111100010111000110110000000010000000000000101110010111101001110011011000111001100000011100000101110101111110111011001110011100111000000011100001011111101111011111100111100111001100010000011100010111111111111111110011110011110010010110000101110101111111111111111111111101111000001101110000101111111111111000001111111111111110000011010110001011111111110000000000011111111111000011100010011010111111110000000000000001111111110001111000011111011111110000000000000000000111111111111100000001110111111000000000000011110000111111111111000000000101111100000000000000111111100111111111100001000000011110000000000000000111111110111111111000011111110011000000000000000000111111110111111100000011000111100000000000000000000111111110111111001100011110011000000000000000000000011111101111111111000011111100000000000000000011111011111101111111101111111111000001111100000001111111111111011111110001111111100001111111100000111111111111111011111100000111111000111111111100001111111111111110111110000000111100000000001111100111111111111111110111000000000111000000011111111001111000001111111101111111000111110000001100011100011101111101111111011111110010011100000110111110000111110110101111110111111001011110000011010110110001111011011101111101111100101111100001111011011110011111111100011111101110001111111000111111111111100011111100100111111011000000111110000000000111110000110111110011111110110000000111100000000011111000001100111000111111101110000000111000000011111000100011100000011111111011111100001110000000000000011000111100001111111110111111110001100000000000001111000111111111111111101111111111001000000000000111000001111111111111110110011101111011000000000011110100011111111111111101100000000001110000000001111111111111111111111111011110000000101100000001111110011111111111111111110111111000110011000001111111000011010111111111111101111111011001111000111111100000010110010111111110111111111001111110001111100000111111111011111111101111111111111111100001111011111111111101111111110111111111111111111100011111110111111100111111111101111111000000011111000011111100100100111111111110111111000000000101111000011111000111111111111111101111000000000011011110110011111000111111111111110111100000000000100111110111111111000001111111111011111100000000010011111110111111111000001111111101111111100000001101111111110111111000000011111110111111111100000010111111011110011111000001111110011111111111110001111000000111111001111011111110011110001111111110110000001101111111100110011100011111110000111111110000001111011111111110000000111111111100110001111100000111100101111111111111111111111111001111000011000010111010011111111111111111111111110011111000000001011100101111101011101111101100111110011111000000101110001011110100111011110001100111100011110000001111000100111001011010011000001100111000011110000111000001011100010100010100000000110110000001110001100000010110000110000010000000000101100000000000"
|
||||||
137
demos/nonogram/data/db/qnonograms/examples/tiger.non
Normal file
137
demos/nonogram/data/db/qnonograms/examples/tiger.non
Normal file
@@ -0,0 +1,137 @@
|
|||||||
|
catalogue "qnonograms tiger.jap"
|
||||||
|
title "Burning Brightly"
|
||||||
|
by "Alexander Meshcheryakov <alexander.s.m@gmail.com>"
|
||||||
|
copyright "© 2007 Alexander Meshcheryakov <alexander.s.m@gmail.com>"
|
||||||
|
license GPL-2.0
|
||||||
|
width 75
|
||||||
|
height 50
|
||||||
|
|
||||||
|
columns
|
||||||
|
7,2
|
||||||
|
12,2
|
||||||
|
3,1,4,3,2
|
||||||
|
3,5,1,1,2
|
||||||
|
3,1,2,1,3,2
|
||||||
|
4,3,1,1,1,5,3,1
|
||||||
|
7,2,6,5,4,2,1
|
||||||
|
3,3,4,3,8,2,3,2
|
||||||
|
1,2,4,7,2,2,1,1,3,2
|
||||||
|
2,2,3,7,2,3,1,1,2
|
||||||
|
1,5,3,3,1,4,2,2,2
|
||||||
|
2,3,8,2,6,2,2,2
|
||||||
|
3,2,1,22,2
|
||||||
|
3,21,1,8
|
||||||
|
4,2,4,1,8,5,3,1,3,1
|
||||||
|
3,13,7,6,2,3,2
|
||||||
|
4,4,1,21,5,2
|
||||||
|
4,21,4,4,1,2
|
||||||
|
6,1,5,13,2,2,2
|
||||||
|
12,7,1,3,3,3
|
||||||
|
9,1,3,3,2,1,2,1,2
|
||||||
|
6,5,5,3,4,1,9
|
||||||
|
4,3,2,4,6,2,1,1,3
|
||||||
|
3,5,5,9,2,4
|
||||||
|
2,3,1,5,9,1,1,3
|
||||||
|
7,2,3,1,8,1,7
|
||||||
|
8,2,1,1,8,1,1,3
|
||||||
|
2,5,1,4,3,4,2,2,1
|
||||||
|
3,7,3,7,1,1,2
|
||||||
|
2,1,4,1,3,7,2,3,1
|
||||||
|
1,10,8,1,4,2
|
||||||
|
12,2,10,5,1
|
||||||
|
14,3,5,3,1,2,1
|
||||||
|
6,1,4,3,1,1,9,3,1,2
|
||||||
|
7,6,9,3,3,4,4
|
||||||
|
6,4,5,8,1,1,1,4,1,2
|
||||||
|
20,6,4,5,2,1
|
||||||
|
13,9,2,11,1,1
|
||||||
|
4,11,9,11,1,1
|
||||||
|
5,3,10,3,2,2,1,5,2,1
|
||||||
|
6,4,1,9,2,1,1,1,4,4
|
||||||
|
32,3,4
|
||||||
|
3,3,1,2,1,2,4,3,5,1
|
||||||
|
4,6,1,3,2,2,3,4,1
|
||||||
|
6,2,2,2,10,4,1
|
||||||
|
1,10,2,3,2,1,4,2
|
||||||
|
4,4,1,3,7,1,3,1
|
||||||
|
9,3,3,3,2,1,2
|
||||||
|
2,7,4,8,1,1,2,1
|
||||||
|
8,1,2,1,8,2,1,1,3
|
||||||
|
7,2,1,8,9
|
||||||
|
3,6,5,9,2,2,2
|
||||||
|
3,1,2,1,4,3,1,2,6
|
||||||
|
8,4,2,4,1,2,1,1
|
||||||
|
11,4,3,4,1,3,2
|
||||||
|
6,2,1,3,6,1,1,2,2,2
|
||||||
|
12,3,3,1,2,1,3
|
||||||
|
6,1,1,3,4,8,2,3
|
||||||
|
4,2,2,12,1,7,1,5
|
||||||
|
4,25,5,3,2
|
||||||
|
3,8,1,4,6,2,5,1,1,2
|
||||||
|
3,2,14,6,10,2
|
||||||
|
2,2,1,7,5,2,2,4,2
|
||||||
|
2,3,5,2,6,1,1,2,1
|
||||||
|
1,7,4,1,4,1,3,1
|
||||||
|
1,4,5,2,1,4,1,4,2
|
||||||
|
2,3,5,2,1,4,1,2,2,1
|
||||||
|
2,3,2,5,1,5,4,2,2
|
||||||
|
7,2,7,6,4,1
|
||||||
|
4,8,8,2,2
|
||||||
|
6,6,1,4,2
|
||||||
|
15,2,2
|
||||||
|
4,4,2,1
|
||||||
|
7,2
|
||||||
|
4,2
|
||||||
|
|
||||||
|
rows
|
||||||
|
4,4
|
||||||
|
3,4,3,2
|
||||||
|
2,5,4,2
|
||||||
|
3,6,5,2
|
||||||
|
2,8,7,2
|
||||||
|
2,8,12,9,1,2
|
||||||
|
2,1,42,2,2
|
||||||
|
2,2,12,14,12,1,2
|
||||||
|
3,2,5,2,1,12,5,2,5,2,3
|
||||||
|
3,3,3,3,9,4,13,3,3
|
||||||
|
2,6,5,9,6,5,2,5,3
|
||||||
|
1,5,14,1,4,16,3,3
|
||||||
|
2,3,17,7,1,21
|
||||||
|
7,3,3,7,16,1,1,1,7
|
||||||
|
14,3,11,2,6,2,4,1,1,2
|
||||||
|
3,1,1,3,3,4,14,1,2,6,3
|
||||||
|
3,9,1,1,7,4,2,3,3,2,4
|
||||||
|
4,2,1,3,12,3,4,4
|
||||||
|
1,1,8,1,3,2,2,5,2,2
|
||||||
|
2,2,7,2,1,7,1,2,6,2,2
|
||||||
|
2,8,2,6,10,2,6,6,1,5
|
||||||
|
16,8,7,5,8,2,3,7
|
||||||
|
3,12,5,2,2,1,8,3,4,7,6
|
||||||
|
2,2,2,8,4,3,9,3,3,8,6
|
||||||
|
1,1,2,8,7,8,7,7,1,1,5
|
||||||
|
3,17,2,3,2,2,3,7,3,3,3
|
||||||
|
2,2,2,3,10,2,8,2,13,1,4
|
||||||
|
4,3,21,8,13,4,3,1,2
|
||||||
|
4,9,4,15,2,2,9,5,8,2,2
|
||||||
|
8,24,4,12,5,1,3,10
|
||||||
|
17,9,17,1,26
|
||||||
|
2,14,14,1,1,2,8,2,5,2,7
|
||||||
|
7,1,2,7,9,3,2,8,7,5,5
|
||||||
|
2,1,1,8,8,3,4,7,2,4,5
|
||||||
|
3,1,1,1,6,7,14,14,1,1,1
|
||||||
|
11,1,2,4,4,3,6,1,2,2
|
||||||
|
3,3,3,3,3,6,2,2,2,5,5
|
||||||
|
2,4,1,4,2,4,3,2,7,1,1
|
||||||
|
3,4,4,1,3,2,3,5,4,7
|
||||||
|
13,2,3,2,4,2,3,11
|
||||||
|
3,4,3,3,4,3,1,1,4,3
|
||||||
|
3,4,3,3,9,6,1,2,2,2
|
||||||
|
2,2,3,5,22,1,1,10,2
|
||||||
|
2,2,8,3,14,9,3,1
|
||||||
|
2,2,3,2,3,7,5,2,2,3
|
||||||
|
2,2,2,2,3,4,2,2,3
|
||||||
|
1,2,2,1,12,1,2,2
|
||||||
|
2,2,3,1,1,3,3,2,2
|
||||||
|
2,2,3,3,2,3,2,2
|
||||||
|
2,16,2
|
||||||
|
goal "000000000111100000000000000000000000000000000000000000000000000111100000000000000011101111000000000000000000000000000000000000000000000011100110000000000000110000111110000000000000000000000000000000000000000001111000011000000000001110000011111100000000000000000000000000000000000000111110000001100000000001100000001111111100000000000000000000000000000000111111100000001100000000001100000000011111111000000001111111111110000000111111111010000001100000000001100000001001111111111111111111111111111111111111111110110000001100000000000110000001100111111111111011111111111111011111111111100100000011000000000000111000000110111110011010111111111111011111011001111101100000111000000000000011100000111011100011101111111110111101111111111111011100001110000000000000000110000111111000111110111111111011111101111101101111100011100000000000000000010011111011111111111111010111101111111111111111001110111000000000000000000011011101111111111111111101111111010111111111111111111111000000000000000000111111101110111001111111011111111111111110100101011111110000000000000000001111111111111101110011111111111011011111100110111101010011000000000000000011100010101110111011110111111111111110100110000001111110011100000000000000111011111111100010001011111110111101101110000000000111011011110000000000001111011010111000000000000111111111111011100000000000011110001111000000000001010011111111000000000000001011101101100000000000000011111001101100000000011001101111111001100000000000101111111001000000000110011111100110110000000110011111111011001111110000001111111111011000001111110011111101011111000001111111111111111001111111100011111110111110000111111110011011101111111000011100111111111111000111110110011010111111110001110111100011111110111111000011001101101111111100111100111000111111111000011100111000111111110011111100010000101100111111110001111111000011111111000111111100001111111010101111100111001111111111111111100000001100111011011001110000000111111100111011101110110110110001110111111111100000110011111111011000000111111111111100001001111111100011100111111111111111111111011111111011111111111110001111001110001011111100111111111011110011111111111111101101101111111110011111011111111011011111111110011111111111111111111111101111011111111111101111101011101111111111111111111111111110111111111011111111111111111010111111111111111111111111110110001111111111111100111111111111110100101101111111101100111110110011111110011111110101100111111101111111110111000011001111111101111111001111101111100011001001001111111100011111111011100000001111011111110000110011110011111000001110010010101111110111111100011111111111111000111111111111110000010101000000011111111111010110000000000011110111101110000000000001111110010110110000000011100001110111011101110000000111111011000000110000110011111001111100000000001100000111101001111000001100000111100000000011100110001111111001010000000000111011110011110100000111000000011000000111001111100011110011111110000000000011111111111110110011100000000011000000001111011011100011111111111000000000111000011110011101110000000000111100000000001110010101111000000011100000011100000011110000111011100000111111111000000111111001011011000000000110000110000000110011100111110111111111111111111111101010111111111100000000011001100000001100000111111110001110111111111111110001111111110000111000000001011000000011000000011100110001110011111110111110001100000110000001110000000110000000110000000110000011000111000000000111100011000000011000000011100000100000001100000001100000001000011111111111100000010000000001100000000110000000000011000000011000000001110000010100111000001110000000000110000000011000000000110000000110000000000011100111000011000111000000000000011000000001100000000000000001100000000000000111111111111111100000000000000001100000000000"
|
||||||
28
demos/nonogram/data/db/webpbn/1.non
Normal file
28
demos/nonogram/data/db/webpbn/1.non
Normal file
@@ -0,0 +1,28 @@
|
|||||||
|
catalogue "webpbn.com #1"
|
||||||
|
title "Dancer"
|
||||||
|
by "Jan Wolter"
|
||||||
|
copyright "© 2004 Jan Wolter"
|
||||||
|
license CC-BY-3.0
|
||||||
|
width 5
|
||||||
|
height 10
|
||||||
|
|
||||||
|
rows
|
||||||
|
2
|
||||||
|
2,1
|
||||||
|
1,1
|
||||||
|
3
|
||||||
|
1,1
|
||||||
|
1,1
|
||||||
|
2
|
||||||
|
1,1
|
||||||
|
1,2
|
||||||
|
2
|
||||||
|
|
||||||
|
columns
|
||||||
|
2,1
|
||||||
|
2,1,3
|
||||||
|
7
|
||||||
|
1,3
|
||||||
|
2,1
|
||||||
|
|
||||||
|
goal "01100011010010101110101001010000110010100101111000"
|
||||||
81
demos/nonogram/data/db/webpbn/16.non
Normal file
81
demos/nonogram/data/db/webpbn/16.non
Normal file
@@ -0,0 +1,81 @@
|
|||||||
|
catalogue "webpbn.com #16"
|
||||||
|
title "Probably Not"
|
||||||
|
by "Jan Wolter"
|
||||||
|
copyright "© 2004 Jan Wolter"
|
||||||
|
license CC-BY-3.0
|
||||||
|
width 34
|
||||||
|
height 34
|
||||||
|
|
||||||
|
rows
|
||||||
|
1,1
|
||||||
|
2,2
|
||||||
|
3,3
|
||||||
|
2,1,1,2
|
||||||
|
2,1,1,2
|
||||||
|
1,1,1,1
|
||||||
|
1,1,1,1
|
||||||
|
18
|
||||||
|
2,1,1,1,1,2
|
||||||
|
1,1,1,1,1,1
|
||||||
|
1,1,1,1,1,1
|
||||||
|
26
|
||||||
|
2,1,1,1,1,1,1,2
|
||||||
|
2,1,1,2,2,1,1,2
|
||||||
|
2,1,1,2,2,1,1,2
|
||||||
|
14,14
|
||||||
|
1,1,1,1
|
||||||
|
1,1,1,1
|
||||||
|
14,14
|
||||||
|
2,1,1,2,2,1,1,2
|
||||||
|
2,1,1,2,2,1,1,2
|
||||||
|
2,1,1,1,1,1,1,2
|
||||||
|
26
|
||||||
|
1,1,1,1,1,1
|
||||||
|
1,1,1,1,1,1
|
||||||
|
2,1,1,1,1,2
|
||||||
|
18
|
||||||
|
1,1,1,1
|
||||||
|
1,1,1,1
|
||||||
|
2,1,1,2
|
||||||
|
2,1,1,2
|
||||||
|
3,3
|
||||||
|
2,2
|
||||||
|
1,1
|
||||||
|
|
||||||
|
columns
|
||||||
|
1,1
|
||||||
|
2,2
|
||||||
|
3,3
|
||||||
|
2,1,1,2
|
||||||
|
2,1,1,2
|
||||||
|
1,1,1,1
|
||||||
|
1,1,1,1
|
||||||
|
18
|
||||||
|
2,1,1,1,1,2
|
||||||
|
1,1,1,1,1,1
|
||||||
|
1,1,1,1,1,1
|
||||||
|
26
|
||||||
|
2,1,1,1,1,1,1,2
|
||||||
|
2,1,1,2,2,1,1,2
|
||||||
|
2,1,1,2,2,1,1,2
|
||||||
|
14,14
|
||||||
|
1,1,1,1
|
||||||
|
1,1,1,1
|
||||||
|
14,14
|
||||||
|
2,1,1,2,2,1,1,2
|
||||||
|
2,1,1,2,2,1,1,2
|
||||||
|
2,1,1,1,1,1,1,2
|
||||||
|
26
|
||||||
|
1,1,1,1,1,1
|
||||||
|
1,1,1,1,1,1
|
||||||
|
2,1,1,1,1,2
|
||||||
|
18
|
||||||
|
1,1,1,1
|
||||||
|
1,1,1,1
|
||||||
|
2,1,1,2
|
||||||
|
2,1,1,2
|
||||||
|
3,3
|
||||||
|
2,2
|
||||||
|
1,1
|
||||||
|
|
||||||
|
goal "0000000000000001001000000000000000000000000000001100110000000000000000000000000001110011100000000000000000000000001101001011000000000000000000000001100100100110000000000000000000000100010010001000000000000000000000010001001000100000000000000000001111111111111111110000000000000001100100010010001001100000000000000100010001001000100010000000000000010001000100100010001000000000001111111111111111111111111100000001100100010001001000100010011000001100010001001100110010001000110001100001000101100001101000100001101111111111111100000011111111111111000000010001000000000010001000000000000001000100000000001000100000001111111111111100000011111111111111011000010001011000011010001000011000110001000100110011001000100011000001100100010001001000100010011000000011111111111111111111111111000000000001000100010010001000100000000000000100010001001000100010000000000000011001000100100010011000000000000000111111111111111111000000000000000000010001001000100000000000000000000001000100100010000000000000000000000110010010011000000000000000000000001101001011000000000000000000000000011100111000000000000000000000000000110011000000000000000000000000000001001000000000000000"
|
||||||
52
demos/nonogram/data/db/webpbn/21.non
Normal file
52
demos/nonogram/data/db/webpbn/21.non
Normal file
@@ -0,0 +1,52 @@
|
|||||||
|
catalogue "webpbn.com #21"
|
||||||
|
title "Slippery Conditions"
|
||||||
|
by "Jan Wolter"
|
||||||
|
copyright "© 2004 Jan Wolter"
|
||||||
|
license CC-BY-3.0
|
||||||
|
width 14
|
||||||
|
height 25
|
||||||
|
|
||||||
|
rows
|
||||||
|
9
|
||||||
|
1,1
|
||||||
|
1,1,1
|
||||||
|
1,3,1
|
||||||
|
13
|
||||||
|
13
|
||||||
|
13
|
||||||
|
13
|
||||||
|
2,2
|
||||||
|
2,2
|
||||||
|
0
|
||||||
|
2,2
|
||||||
|
2,2
|
||||||
|
2,2
|
||||||
|
2,2
|
||||||
|
2,2
|
||||||
|
2,2
|
||||||
|
2,2
|
||||||
|
2,2
|
||||||
|
2,2
|
||||||
|
2,2
|
||||||
|
2,2
|
||||||
|
2,2
|
||||||
|
2,2
|
||||||
|
2,2
|
||||||
|
|
||||||
|
columns
|
||||||
|
2
|
||||||
|
4,6
|
||||||
|
9,4,4,2
|
||||||
|
1,6,2,6
|
||||||
|
1,5,2
|
||||||
|
1,6
|
||||||
|
1,5
|
||||||
|
1,4
|
||||||
|
1,4
|
||||||
|
1,4,2
|
||||||
|
1,4,6
|
||||||
|
1,6,4,4,2
|
||||||
|
9,2,6
|
||||||
|
4,2
|
||||||
|
|
||||||
|
goal "00011111111100001000000000100010010000001000101110000010011111111111110111111111111101111111111111011111111111110011000000011000110000000110000000000000000011000000011000110000000110011000000011000110000000110011000000011000110000000110000110000000110001100000001100001100000001100011000000011000011000000011000110000000110011000000011000110000000110"
|
||||||
33
demos/nonogram/data/db/webpbn/26167.non
Normal file
33
demos/nonogram/data/db/webpbn/26167.non
Normal file
@@ -0,0 +1,33 @@
|
|||||||
|
catalogue "webpbn.com #26167"
|
||||||
|
title "Bloop Bloop"
|
||||||
|
by "Michael Terry"
|
||||||
|
copyright "© 2015 Michael Terry"
|
||||||
|
license CC-BY-SA-4.0
|
||||||
|
width 10
|
||||||
|
height 10
|
||||||
|
|
||||||
|
rows
|
||||||
|
3,2
|
||||||
|
3
|
||||||
|
2,2
|
||||||
|
4
|
||||||
|
4
|
||||||
|
2,2
|
||||||
|
4,1
|
||||||
|
4,2
|
||||||
|
2,2
|
||||||
|
1
|
||||||
|
|
||||||
|
columns
|
||||||
|
3
|
||||||
|
3,2
|
||||||
|
2,4
|
||||||
|
4
|
||||||
|
2
|
||||||
|
2
|
||||||
|
4
|
||||||
|
1,4
|
||||||
|
1,2,2
|
||||||
|
4
|
||||||
|
|
||||||
|
goal "1110000110111000000011000011000000011110000001111000110011000111100001011110001100110000110000000001"
|
||||||
103
demos/nonogram/data/db/webpbn/529.non
Normal file
103
demos/nonogram/data/db/webpbn/529.non
Normal file
@@ -0,0 +1,103 @@
|
|||||||
|
catalogue "webpbn.com #529"
|
||||||
|
title "Swing"
|
||||||
|
by "Jan Wolter"
|
||||||
|
copyright "© 2006 Jan Wolter"
|
||||||
|
license CC-BY-3.0
|
||||||
|
width 45
|
||||||
|
height 45
|
||||||
|
|
||||||
|
rows
|
||||||
|
7,1,1,1,1,1
|
||||||
|
3,1,3,1,4,1,4,1,5,1,5,1,2
|
||||||
|
1,1,1,3,1,4,1,4,1,5,1,5,1,2
|
||||||
|
2,1,2,1,1,1,1,6,2
|
||||||
|
3,30,1,5
|
||||||
|
1,5,8,1,1,7,1,1,3
|
||||||
|
3,4,8,1,5,1,2
|
||||||
|
3,20,6,6
|
||||||
|
3,3,7,2,5,1
|
||||||
|
3,3,1,1,9,1,1,5,6
|
||||||
|
2,3,8,1,3,4,2
|
||||||
|
5,3,1,10,4,5,2
|
||||||
|
1,2,3,8,4,6
|
||||||
|
2,2,3,11,10
|
||||||
|
2,2,3,10,7
|
||||||
|
2,3,1,7,12,2
|
||||||
|
2,3,1,4,11,2
|
||||||
|
4,1,2,1,11,2
|
||||||
|
9,1,2,9
|
||||||
|
6,2,1,4,11
|
||||||
|
2,5,1,2,6,6
|
||||||
|
6,2,4,8,4
|
||||||
|
4,2,16,1
|
||||||
|
2,2,15,2
|
||||||
|
3,2,15,4
|
||||||
|
3,3,13,4
|
||||||
|
4,12,9
|
||||||
|
1,9,10
|
||||||
|
2,1,17,7,2
|
||||||
|
2,2,8,3,8,2
|
||||||
|
2,3,6,3,8,2
|
||||||
|
2,4,5,4,7,2
|
||||||
|
2,5,5,4,6
|
||||||
|
4,4,5,4,9
|
||||||
|
1,4,6,4,4
|
||||||
|
4,3,6,4,3,2
|
||||||
|
2,1,2,7,4,4,2
|
||||||
|
2,2,2,9,5,5,2
|
||||||
|
2,2,2,10,6,6
|
||||||
|
3,2,1,9,18
|
||||||
|
8,4,23
|
||||||
|
1,2,1,2,2,1,1,1,2
|
||||||
|
2,1,4,2,1,4,1,5,1,3,1,2
|
||||||
|
2,1,5,4,4,1,5,1,3,1,2
|
||||||
|
1,10,1,1,1
|
||||||
|
|
||||||
|
columns
|
||||||
|
7,1,1,1,1,1
|
||||||
|
2,2,4,1,4,1,5,1,4,1,4,1,2
|
||||||
|
3,1,4,1,4,1,14,4,1,2
|
||||||
|
1,1,5,1,2,3,4,1
|
||||||
|
3,13,1,10
|
||||||
|
1,9,4
|
||||||
|
6,7,2,2
|
||||||
|
8,4,1,4
|
||||||
|
2,8,3,2,5,3
|
||||||
|
10,1,3,7,2
|
||||||
|
8,6,2,8,1,2
|
||||||
|
1,1,2,2,8,1,1
|
||||||
|
2,1,1,1,2,1,3,1,3,3,1
|
||||||
|
2,1,1,1,5,4,2,1
|
||||||
|
2,1,1,1,1,7,2,1
|
||||||
|
2,1,1,2,9,1,2,1
|
||||||
|
4,6,12,1,3
|
||||||
|
16,13,3,2
|
||||||
|
12,21,2
|
||||||
|
2,13,23
|
||||||
|
2,14,19
|
||||||
|
2,14,20,2
|
||||||
|
2,13,7,2,8,2
|
||||||
|
12,8,1,7,2
|
||||||
|
5,1,1,1,2,8,1,5,2
|
||||||
|
2,1,1,1,9,1,1,4
|
||||||
|
2,1,1,1,6,1,3,5
|
||||||
|
2,2,1,5,6,2
|
||||||
|
2,1,3,1,3,7,3,2
|
||||||
|
2,3,2,1,1,2,4,4,2
|
||||||
|
2,2,1,1,2,3,1,8,2
|
||||||
|
9,3,1,7,2
|
||||||
|
12,4,1,6,2
|
||||||
|
7,4,1,2,5
|
||||||
|
2,6,6,5,6
|
||||||
|
8,8,6,3
|
||||||
|
3,10,8,4,2
|
||||||
|
5,11,9,5,2
|
||||||
|
3,1,12,16,2
|
||||||
|
3,1,12,16
|
||||||
|
5,2,13,21
|
||||||
|
6,1,3,3,1,1
|
||||||
|
5,1,3,1,3,1,1,2,1,4,1,3,1,3
|
||||||
|
5,1,3,1,3,1,4,1,4,1,3,1,3
|
||||||
|
1,1,1,1,1,1
|
||||||
|
|
||||||
|
goal "111111100010000001000000100000001000000010000111010111010111101011110101111101011111010110101010111010111101011110101111101011111010110110100110010000001000000100000001001111110110111000111111111111111111111111111111010111110100000111110000011111111010101111111010101110111000011110000011111111000001011111001011000011100011111111111111111111000111111000111111011100011100000001111111000110011111000001000011100001110101011111111101010111110001111110000110001110000011111111000010011100011110110111110001110100011111111110001111000111110110000010000110111011111111000011110001111110000011011000111000111111111110000000001111111111011011000011100111111111100000000011111110000011011100000010001111111000001111111111110110011011100000010000011110000000111111111110110000011110000010000001100010000111111111110110111111111000010000000000110000001111111110000000011111100110010000001111000000011111111111011011111000100011000011111100000000111111000011111100001100111100111111110000000000011110011110000011001111111111111111000000000000010011000000110001111111111111110000000000000110011100001100011111111111111100000000000011110001110011100011111111111110000000000001111000111100000000111111111111000000000000111111111001000000000011111111100000000011111111110000011000001000001111111111111111100011111110110011000001100000111111110000111000111111110110011000001110000011111100001110000111111110110011000001111000001111100011110000011111110110001100001111100001111100001111000001111110000111100000111100000111110000111100000111111111000100000111100000111111000011110000011110000011110000111000000111111000001111000001110110011010000011000000111111100000111100011110110011011000011000001111111110001111100111110110011011000001100011111111110011111101111110000000011100000110101111111110111111111111111111111111110001111000111111111111111111111110000000010011010001100110000001000000010000010110011010111100000110010111101011111010111010110011010111110000011110111101011111010111010110000010000011111111110000001000000010000010000"
|
||||||
53
demos/nonogram/data/db/webpbn/6.non
Normal file
53
demos/nonogram/data/db/webpbn/6.non
Normal file
@@ -0,0 +1,53 @@
|
|||||||
|
catalogue "webpbn.com #6"
|
||||||
|
title "Scardy Cat"
|
||||||
|
by "Jan Wolter"
|
||||||
|
copyright "© 2004 Jan Wolter"
|
||||||
|
license CC-BY-3.0
|
||||||
|
width 20
|
||||||
|
height 20
|
||||||
|
|
||||||
|
rows
|
||||||
|
2
|
||||||
|
2
|
||||||
|
1
|
||||||
|
1
|
||||||
|
1,3
|
||||||
|
2,5
|
||||||
|
1,7,1,1
|
||||||
|
1,8,2,2
|
||||||
|
1,9,5
|
||||||
|
2,16
|
||||||
|
1,17
|
||||||
|
7,11
|
||||||
|
5,5,3
|
||||||
|
5,4
|
||||||
|
3,3
|
||||||
|
2,2
|
||||||
|
2,1
|
||||||
|
1,1
|
||||||
|
2,2
|
||||||
|
2,2
|
||||||
|
|
||||||
|
columns
|
||||||
|
5
|
||||||
|
5,3
|
||||||
|
2,3,4
|
||||||
|
1,7,2
|
||||||
|
8
|
||||||
|
9
|
||||||
|
9
|
||||||
|
8
|
||||||
|
7
|
||||||
|
8
|
||||||
|
9
|
||||||
|
10
|
||||||
|
13
|
||||||
|
6,2
|
||||||
|
4
|
||||||
|
6
|
||||||
|
6
|
||||||
|
5
|
||||||
|
6
|
||||||
|
6
|
||||||
|
|
||||||
|
goal "0011000000000000000001100000000000000000010000000000000000000100000000000000000001000001110000000000110000111110000000001000011111110001000110000111111110011011100011111111100111111100111111111111111101011111111111111111011111110111111111110011111000111110111000111110001111000000000111000001110000000001100000011000000000110000000010000000001000000000100000000011000000001100000000110000000011000000"
|
||||||
10
demos/nonogram/data/db/webpbn/README.md
Normal file
10
demos/nonogram/data/db/webpbn/README.md
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
I downloaded these puzzles from webpbn.com, a wonderful site run by the late Jan Wolter.
|
||||||
|
|
||||||
|
While most of the puzzles on that site have unclear licensing terms, these specific puzzles were granted CC-BY-3.0 by Jan himself on his [survey][survey] page:
|
||||||
|
|
||||||
|
> Note however that the copyrights for all puzzles on webpbn are retained by the designers of the puzzles, so though you can download puzzles for your own use, you can not redistribute them.
|
||||||
|
>
|
||||||
|
> However, the authors of a few of these puzzles have given permission for their puzzles to be freely redistributed as long as the original attribution and copyright message is retained. These puzzles are marked with a * in the table below. You can consider those marked puzzles to be under something like a [Creative Commons attribution license][cc].
|
||||||
|
|
||||||
|
[survey]: http://webpbn.com/survey/
|
||||||
|
[cc]: http://creativecommons.org/licenses/by/3.0/
|
||||||
62
demos/nonogram/example.cpp
Normal file
62
demos/nonogram/example.cpp
Normal file
@@ -0,0 +1,62 @@
|
|||||||
|
#include "nonogram.h"
|
||||||
|
#include <iostream>
|
||||||
|
|
||||||
|
int main() {
|
||||||
|
// Load a nonogram from file
|
||||||
|
auto nonogram = NonogramLoader::fromFile("/home/connor/repos/nd-wfc/demos/nonogram/data/db/webpbn/1.non");
|
||||||
|
|
||||||
|
if (!nonogram) {
|
||||||
|
std::cout << "Failed to load nonogram!" << std::endl;
|
||||||
|
return 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
std::cout << "Loaded nonogram: " << nonogram->getWidth() << "x" << nonogram->getHeight() << std::endl;
|
||||||
|
|
||||||
|
// Display row hints
|
||||||
|
std::cout << "\nRow hints:" << std::endl;
|
||||||
|
for (size_t i = 0; i < nonogram->getRowCount(); ++i) {
|
||||||
|
const auto& hints = nonogram->getRowHints(i);
|
||||||
|
std::cout << "Row " << i << ":";
|
||||||
|
for (uint8_t hint : hints) {
|
||||||
|
std::cout << " " << static_cast<int>(hint);
|
||||||
|
}
|
||||||
|
std::cout << std::endl;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Display column hints
|
||||||
|
std::cout << "\nColumn hints:" << std::endl;
|
||||||
|
for (size_t i = 0; i < nonogram->getColumnCount(); ++i) {
|
||||||
|
const auto& hints = nonogram->getColumnHints(i);
|
||||||
|
std::cout << "Col " << i << ":";
|
||||||
|
for (uint8_t hint : hints) {
|
||||||
|
std::cout << " " << static_cast<int>(hint);
|
||||||
|
}
|
||||||
|
std::cout << std::endl;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Display solution if available
|
||||||
|
if (nonogram->hasSolution()) {
|
||||||
|
std::cout << "\nSolution:" << std::endl;
|
||||||
|
for (size_t row = 0; row < nonogram->getHeight(); ++row) {
|
||||||
|
for (size_t col = 0; col < nonogram->getWidth(); ++col) {
|
||||||
|
std::cout << (nonogram->getSolutionCell(row, col) ? "1" : "0");
|
||||||
|
}
|
||||||
|
std::cout << std::endl;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// Load all nonograms from a directory
|
||||||
|
std::cout << "\nLoading all nonograms from directory..." << std::endl;
|
||||||
|
auto puzzles = NonogramLoader::fromDirectory("/home/connor/repos/nd-wfc/demos/nonogram/data/db/webpbn");
|
||||||
|
|
||||||
|
std::cout << "Loaded " << puzzles.size() << " puzzles:" << std::endl;
|
||||||
|
for (size_t i = 0; i < puzzles.size(); ++i) {
|
||||||
|
std::cout << " Puzzle " << i << ": " << puzzles[i].getWidth() << "x" << puzzles[i].getHeight();
|
||||||
|
if (puzzles[i].hasSolution()) {
|
||||||
|
std::cout << " (with solution)";
|
||||||
|
}
|
||||||
|
std::cout << std::endl;
|
||||||
|
}
|
||||||
|
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
302
demos/nonogram/nonogram.cpp
Normal file
302
demos/nonogram/nonogram.cpp
Normal file
@@ -0,0 +1,302 @@
|
|||||||
|
#include "nonogram.h"
|
||||||
|
#include <iostream>
|
||||||
|
#include <fstream>
|
||||||
|
#include <filesystem>
|
||||||
|
#include <algorithm>
|
||||||
|
#include <cctype>
|
||||||
|
#include <sstream>
|
||||||
|
|
||||||
|
Nonogram::Nonogram() : width_(0), height_(0) {}
|
||||||
|
|
||||||
|
Nonogram::Nonogram(uint16_t w, uint16_t h) : width_(w), height_(h) {}
|
||||||
|
|
||||||
|
void Nonogram::clear() {
|
||||||
|
width_ = 0;
|
||||||
|
height_ = 0;
|
||||||
|
row_hints_.clear();
|
||||||
|
col_hints_.clear();
|
||||||
|
solution_.reset();
|
||||||
|
}
|
||||||
|
|
||||||
|
bool Nonogram::loadFromFile(const std::string& filename) {
|
||||||
|
std::ifstream file(filename);
|
||||||
|
if (!file.is_open()) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string content((std::istreambuf_iterator<char>(file)),
|
||||||
|
std::istreambuf_iterator<char>());
|
||||||
|
return loadFromString(content);
|
||||||
|
}
|
||||||
|
|
||||||
|
bool Nonogram::loadFromString(const std::string& content) {
|
||||||
|
clear();
|
||||||
|
|
||||||
|
std::istringstream iss(content);
|
||||||
|
std::string line;
|
||||||
|
int section = 0; // 0: header, 1: rows, 2: columns
|
||||||
|
|
||||||
|
while (std::getline(iss, line)) {
|
||||||
|
if (!parseLine(line, section)) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// Validate that we have all required data
|
||||||
|
if (width_ == 0 || height_ == 0) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (row_hints_.size() != height_ || col_hints_.size() != width_) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
bool Nonogram::parseLine(const std::string& line, int& section) {
|
||||||
|
std::string trimmed = trim(line);
|
||||||
|
|
||||||
|
// Skip empty lines and comments
|
||||||
|
if (trimmed.empty() || trimmed[0] == '#') {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Skip lines we don't recognize (as per format spec)
|
||||||
|
if (startsWith(trimmed, "catalogue") ||
|
||||||
|
startsWith(trimmed, "title") ||
|
||||||
|
startsWith(trimmed, "by") ||
|
||||||
|
startsWith(trimmed, "copyright") ||
|
||||||
|
startsWith(trimmed, "license") ||
|
||||||
|
startsWith(trimmed, "color")) {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (startsWith(trimmed, "width")) {
|
||||||
|
return parseDimensions(trimmed);
|
||||||
|
}
|
||||||
|
|
||||||
|
if (startsWith(trimmed, "height")) {
|
||||||
|
return parseDimensions(trimmed);
|
||||||
|
}
|
||||||
|
|
||||||
|
if (startsWith(trimmed, "rows")) {
|
||||||
|
section = 1; // Enter rows section
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (startsWith(trimmed, "columns")) {
|
||||||
|
section = 2; // Enter columns section
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (startsWith(trimmed, "goal")) {
|
||||||
|
return parseGoalLine(trimmed);
|
||||||
|
}
|
||||||
|
|
||||||
|
// Check if this is a hints line (contains numbers)
|
||||||
|
if (std::any_of(trimmed.begin(), trimmed.end(), ::isdigit)) {
|
||||||
|
if (section == 1) {
|
||||||
|
return parseHintsLine(trimmed, true); // Parse as row hints
|
||||||
|
} else if (section == 2) {
|
||||||
|
return parseHintsLine(trimmed, false); // Parse as column hints
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
return true; // Ignore unrecognized lines
|
||||||
|
}
|
||||||
|
|
||||||
|
bool Nonogram::parseDimensions(const std::string& line) {
|
||||||
|
size_t space_pos = line.find(' ');
|
||||||
|
if (space_pos == std::string::npos) return false;
|
||||||
|
|
||||||
|
std::string key = line.substr(0, space_pos);
|
||||||
|
std::string value = line.substr(space_pos + 1);
|
||||||
|
|
||||||
|
try {
|
||||||
|
int dim = std::stoi(value);
|
||||||
|
if (dim <= 0 || dim > 65535) return false;
|
||||||
|
|
||||||
|
if (key == "width") {
|
||||||
|
width_ = static_cast<uint16_t>(dim);
|
||||||
|
} else if (key == "height") {
|
||||||
|
height_ = static_cast<uint16_t>(dim);
|
||||||
|
}
|
||||||
|
return true;
|
||||||
|
} catch (const std::exception&) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
bool Nonogram::parseHintsLine(const std::string& line, bool is_rows) {
|
||||||
|
std::vector<uint8_t> hints = parseHintSequence(line);
|
||||||
|
if (hints.empty()) return true; // Empty line is OK
|
||||||
|
|
||||||
|
if (is_rows) {
|
||||||
|
row_hints_.addHints(hints);
|
||||||
|
return true;
|
||||||
|
} else {
|
||||||
|
col_hints_.addHints(hints);
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
bool Nonogram::parseGoalLine(const std::string& line) {
|
||||||
|
size_t space_pos = line.find(' ');
|
||||||
|
if (space_pos == std::string::npos) return false;
|
||||||
|
|
||||||
|
std::string goal_str = line.substr(space_pos + 1);
|
||||||
|
goal_str = trim(goal_str);
|
||||||
|
|
||||||
|
// Remove quotes if present
|
||||||
|
if (goal_str.length() >= 2 && goal_str[0] == '"' && goal_str[goal_str.length() - 1] == '"') {
|
||||||
|
goal_str = goal_str.substr(1, goal_str.length() - 2);
|
||||||
|
}
|
||||||
|
|
||||||
|
if (goal_str.empty()) return false;
|
||||||
|
|
||||||
|
solution_ = std::make_unique<NonogramSolutionStorage>();
|
||||||
|
return solution_->loadFromGoalString(goal_str, width_, height_);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::vector<uint8_t> Nonogram::parseHintSequence(const std::string& hint_str) {
|
||||||
|
std::vector<uint8_t> result;
|
||||||
|
std::string cleaned = hint_str;
|
||||||
|
|
||||||
|
// Remove spaces and handle comma-separated values
|
||||||
|
cleaned.erase(std::remove_if(cleaned.begin(), cleaned.end(), ::isspace), cleaned.end());
|
||||||
|
|
||||||
|
std::istringstream iss(cleaned);
|
||||||
|
std::string token;
|
||||||
|
|
||||||
|
while (std::getline(iss, token, ',')) {
|
||||||
|
// Skip empty tokens
|
||||||
|
if (token.empty()) continue;
|
||||||
|
|
||||||
|
// Remove any non-digit characters from the end (like color codes)
|
||||||
|
size_t first_non_digit = 0;
|
||||||
|
for (; first_non_digit < token.size() && std::isdigit(token[first_non_digit]); ++first_non_digit) {}
|
||||||
|
token = token.substr(0, first_non_digit);
|
||||||
|
|
||||||
|
if (token.empty() || !std::isdigit(token[0])) continue;
|
||||||
|
|
||||||
|
try {
|
||||||
|
int num = std::stoi(token);
|
||||||
|
if (num > 0 && num <= 255) { // Max hint value
|
||||||
|
result.push_back(static_cast<uint8_t>(num));
|
||||||
|
}
|
||||||
|
} catch (const std::exception&) {
|
||||||
|
// Skip invalid numbers
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
return result;
|
||||||
|
}
|
||||||
|
|
||||||
|
// NonogramLoader implementation
|
||||||
|
std::optional<Nonogram> NonogramLoader::fromFile(const std::string& filename) {
|
||||||
|
Nonogram nonogram;
|
||||||
|
if (nonogram.loadFromFile(filename)) {
|
||||||
|
return nonogram;
|
||||||
|
}
|
||||||
|
return std::nullopt;
|
||||||
|
}
|
||||||
|
|
||||||
|
std::optional<Nonogram> NonogramLoader::fromString(const std::string& content) {
|
||||||
|
Nonogram nonogram;
|
||||||
|
if (nonogram.loadFromString(content)) {
|
||||||
|
return nonogram;
|
||||||
|
}
|
||||||
|
return std::nullopt;
|
||||||
|
}
|
||||||
|
|
||||||
|
std::vector<Nonogram> NonogramLoader::fromDirectory(const std::string& dirname) {
|
||||||
|
std::vector<Nonogram> puzzles;
|
||||||
|
|
||||||
|
try {
|
||||||
|
for (const auto& entry : std::filesystem::directory_iterator(dirname)) {
|
||||||
|
if (entry.is_regular_file()) {
|
||||||
|
std::string filename = entry.path().string();
|
||||||
|
std::string extension = ".non";
|
||||||
|
if (filename.size() >= extension.size() &&
|
||||||
|
filename.substr(filename.size() - extension.size()) == extension) {
|
||||||
|
if (auto nonogram = fromFile(filename)) {
|
||||||
|
puzzles.push_back(std::move(*nonogram));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
} catch (const std::filesystem::filesystem_error&) {
|
||||||
|
// Directory doesn't exist or can't be read
|
||||||
|
}
|
||||||
|
|
||||||
|
return puzzles;
|
||||||
|
}
|
||||||
|
|
||||||
|
std::vector<std::string> NonogramLoader::splitContent(const std::string& content) {
|
||||||
|
std::vector<std::string> puzzles;
|
||||||
|
std::istringstream iss(content);
|
||||||
|
std::string line;
|
||||||
|
std::string current_puzzle;
|
||||||
|
|
||||||
|
while (std::getline(iss, line)) {
|
||||||
|
if (trim(line) == "====") {
|
||||||
|
if (!current_puzzle.empty()) {
|
||||||
|
puzzles.push_back(current_puzzle);
|
||||||
|
current_puzzle.clear();
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
current_puzzle += line + "\n";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
if (!current_puzzle.empty()) {
|
||||||
|
puzzles.push_back(current_puzzle);
|
||||||
|
}
|
||||||
|
|
||||||
|
return puzzles;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Utility functions
|
||||||
|
std::string trim(const std::string& str) {
|
||||||
|
size_t first = str.find_first_not_of(" \t\r\n");
|
||||||
|
if (first == std::string::npos) return "";
|
||||||
|
size_t last = str.find_last_not_of(" \t\r\n");
|
||||||
|
return str.substr(first, last - first + 1);
|
||||||
|
}
|
||||||
|
|
||||||
|
bool startsWith(const std::string& str, const std::string& prefix) {
|
||||||
|
return str.substr(0, prefix.length()) == prefix;
|
||||||
|
}
|
||||||
|
|
||||||
|
std::vector<std::string> split(const std::string& str, char delimiter) {
|
||||||
|
std::vector<std::string> result;
|
||||||
|
std::istringstream iss(str);
|
||||||
|
std::string token;
|
||||||
|
|
||||||
|
while (std::getline(iss, token, delimiter)) {
|
||||||
|
result.push_back(trim(token));
|
||||||
|
}
|
||||||
|
|
||||||
|
return result;
|
||||||
|
}
|
||||||
|
|
||||||
|
std::vector<uint8_t> parseNumberSequence(const std::string& str, char delimiter) {
|
||||||
|
std::vector<uint8_t> result;
|
||||||
|
std::vector<std::string> tokens = split(str, delimiter);
|
||||||
|
|
||||||
|
for (const std::string& token : tokens) {
|
||||||
|
if (!token.empty()) {
|
||||||
|
try {
|
||||||
|
int num = std::stoi(token);
|
||||||
|
if (num > 0 && num <= 255) {
|
||||||
|
result.push_back(static_cast<uint8_t>(num));
|
||||||
|
}
|
||||||
|
} catch (const std::exception&) {
|
||||||
|
// Skip invalid numbers
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
return result;
|
||||||
|
}
|
||||||
180
demos/nonogram/nonogram.h
Normal file
180
demos/nonogram/nonogram.h
Normal file
@@ -0,0 +1,180 @@
|
|||||||
|
#pragma once
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <optional>
|
||||||
|
#include <cstdint>
|
||||||
|
#include <array>
|
||||||
|
#include <memory>
|
||||||
|
#include <utility>
|
||||||
|
|
||||||
|
// Forward declarations
|
||||||
|
struct NonogramHints;
|
||||||
|
struct NonogramSolution;
|
||||||
|
|
||||||
|
// Compact storage for nonogram hints
|
||||||
|
// Stores each hint as a uint8_t (max hint value 255)
|
||||||
|
class NonogramHintsStorage {
|
||||||
|
public:
|
||||||
|
// Each hint group is stored as: [count, hint1, hint2, ..., hintN]
|
||||||
|
std::vector<uint8_t> data;
|
||||||
|
std::vector<uint16_t> offsets; // Start position of each row/column in data
|
||||||
|
|
||||||
|
void clear() {
|
||||||
|
data.clear();
|
||||||
|
offsets.clear();
|
||||||
|
}
|
||||||
|
|
||||||
|
// Add a new row/column's hints
|
||||||
|
void addHints(const std::vector<uint8_t>& hints) {
|
||||||
|
offsets.push_back(static_cast<uint16_t>(data.size()));
|
||||||
|
data.push_back(static_cast<uint8_t>(hints.size())); // Store count first
|
||||||
|
for (uint8_t hint : hints) {
|
||||||
|
data.push_back(hint);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// Get hints for a specific row/column
|
||||||
|
std::vector<uint8_t> getHints(size_t index) const {
|
||||||
|
if (index >= offsets.size()) return {};
|
||||||
|
|
||||||
|
size_t start = offsets[index];
|
||||||
|
if (start >= data.size()) return {};
|
||||||
|
|
||||||
|
uint8_t count = data[start];
|
||||||
|
std::vector<uint8_t> result(count);
|
||||||
|
for (size_t i = 0; i < count; ++i) {
|
||||||
|
result[i] = data[start + 1 + i];
|
||||||
|
}
|
||||||
|
return result;
|
||||||
|
}
|
||||||
|
|
||||||
|
size_t size() const { return offsets.size(); }
|
||||||
|
};
|
||||||
|
|
||||||
|
// Compact bit storage for nonogram solution
|
||||||
|
// Each cell is 1 bit (filled=1, empty=0)
|
||||||
|
class NonogramSolutionStorage {
|
||||||
|
public:
|
||||||
|
std::vector<uint8_t> data; // 8 bits per byte
|
||||||
|
uint16_t width = 0;
|
||||||
|
uint16_t height = 0;
|
||||||
|
|
||||||
|
void resize(uint16_t w, uint16_t h) {
|
||||||
|
width = w;
|
||||||
|
height = h;
|
||||||
|
size_t total_bits = static_cast<size_t>(w) * h;
|
||||||
|
size_t total_bytes = (total_bits + 7) / 8; // Ceiling division
|
||||||
|
data.resize(total_bytes, 0);
|
||||||
|
}
|
||||||
|
|
||||||
|
void clear() {
|
||||||
|
data.clear();
|
||||||
|
width = 0;
|
||||||
|
height = 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Get cell value at (row, col) - true if filled, false if empty
|
||||||
|
bool get(size_t row, size_t col) const {
|
||||||
|
if (row >= height || col >= width) return false;
|
||||||
|
size_t bit_index = row * width + col;
|
||||||
|
size_t byte_index = bit_index / 8;
|
||||||
|
size_t bit_offset = bit_index % 8;
|
||||||
|
return (data[byte_index] & (1 << (7 - bit_offset))) != 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Set cell value at (row, col)
|
||||||
|
void set(size_t row, size_t col, bool filled) {
|
||||||
|
if (row >= height || col >= width) return;
|
||||||
|
size_t bit_index = row * width + col;
|
||||||
|
size_t byte_index = bit_index / 8;
|
||||||
|
size_t bit_offset = bit_index % 8;
|
||||||
|
if (filled) {
|
||||||
|
data[byte_index] |= (1 << (7 - bit_offset));
|
||||||
|
} else {
|
||||||
|
data[byte_index] &= ~(1 << (7 - bit_offset));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// Load from goal string (sequence of 0s and 1s)
|
||||||
|
bool loadFromGoalString(const std::string& goal, uint16_t w, uint16_t h) {
|
||||||
|
size_t expected_size = static_cast<size_t>(w) * h;
|
||||||
|
if (goal.length() != expected_size) return false;
|
||||||
|
|
||||||
|
resize(w, h);
|
||||||
|
for (size_t i = 0; i < expected_size; ++i) {
|
||||||
|
if (goal[i] == '1') {
|
||||||
|
size_t row = i / w;
|
||||||
|
size_t col = i % w;
|
||||||
|
set(row, col, true);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
// Memory-efficient nonogram class
|
||||||
|
class Nonogram {
|
||||||
|
public:
|
||||||
|
Nonogram();
|
||||||
|
explicit Nonogram(uint16_t w, uint16_t h);
|
||||||
|
|
||||||
|
// Dimensions
|
||||||
|
uint16_t getWidth() const { return width_; }
|
||||||
|
uint16_t getHeight() const { return height_; }
|
||||||
|
|
||||||
|
// Hints access
|
||||||
|
std::vector<uint8_t> getRowHints(size_t row) const {
|
||||||
|
return row_hints_.getHints(row);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::vector<uint8_t> getColumnHints(size_t col) const {
|
||||||
|
return col_hints_.getHints(col);
|
||||||
|
}
|
||||||
|
|
||||||
|
size_t getRowCount() const { return row_hints_.size(); }
|
||||||
|
size_t getColumnCount() const { return col_hints_.size(); }
|
||||||
|
|
||||||
|
// Solution access (if available)
|
||||||
|
bool hasSolution() const { return solution_ != nullptr; }
|
||||||
|
bool getSolutionCell(size_t row, size_t col) const {
|
||||||
|
return solution_ ? solution_->get(row, col) : false;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Load from various formats
|
||||||
|
bool loadFromFile(const std::string& filename);
|
||||||
|
bool loadFromString(const std::string& content);
|
||||||
|
|
||||||
|
void clear();
|
||||||
|
|
||||||
|
private:
|
||||||
|
uint16_t width_ = 0;
|
||||||
|
uint16_t height_ = 0;
|
||||||
|
NonogramHintsStorage row_hints_;
|
||||||
|
NonogramHintsStorage col_hints_;
|
||||||
|
std::unique_ptr<NonogramSolutionStorage> solution_;
|
||||||
|
|
||||||
|
// Parser helpers
|
||||||
|
bool parseLine(const std::string& line, int& section);
|
||||||
|
bool parseHintsLine(const std::string& line, bool is_rows);
|
||||||
|
bool parseGoalLine(const std::string& line);
|
||||||
|
bool parseDimensions(const std::string& line);
|
||||||
|
std::vector<uint8_t> parseHintSequence(const std::string& hint_str);
|
||||||
|
};
|
||||||
|
|
||||||
|
// Fast nonogram loader
|
||||||
|
class NonogramLoader {
|
||||||
|
public:
|
||||||
|
static std::optional<Nonogram> fromFile(const std::string& filename);
|
||||||
|
static std::optional<Nonogram> fromString(const std::string& content);
|
||||||
|
static std::vector<Nonogram> fromDirectory(const std::string& dirname);
|
||||||
|
|
||||||
|
private:
|
||||||
|
static std::vector<std::string> splitContent(const std::string& content);
|
||||||
|
};
|
||||||
|
|
||||||
|
// Utility functions
|
||||||
|
std::string trim(const std::string& str);
|
||||||
|
bool startsWith(const std::string& str, const std::string& prefix);
|
||||||
|
std::vector<std::string> split(const std::string& str, char delimiter);
|
||||||
|
std::vector<uint8_t> parseNumberSequence(const std::string& str, char delimiter);
|
||||||
118
demos/nonogram/test_nonogram.cpp
Normal file
118
demos/nonogram/test_nonogram.cpp
Normal file
@@ -0,0 +1,118 @@
|
|||||||
|
#include "nonogram.h"
|
||||||
|
#include <iostream>
|
||||||
|
#include <vector>
|
||||||
|
#include <fstream>
|
||||||
|
|
||||||
|
void printNonogram(const Nonogram& nonogram) {
|
||||||
|
std::cout << "Nonogram: " << nonogram.getWidth() << "x" << nonogram.getHeight() << std::endl;
|
||||||
|
|
||||||
|
std::cout << "Row hints:" << std::endl;
|
||||||
|
for (size_t i = 0; i < nonogram.getRowCount(); ++i) {
|
||||||
|
const auto& hints = nonogram.getRowHints(i);
|
||||||
|
std::cout << " Row " << i << ":";
|
||||||
|
for (uint8_t hint : hints) {
|
||||||
|
std::cout << " " << static_cast<int>(hint);
|
||||||
|
}
|
||||||
|
std::cout << std::endl;
|
||||||
|
}
|
||||||
|
|
||||||
|
std::cout << "Column hints:" << std::endl;
|
||||||
|
for (size_t i = 0; i < nonogram.getColumnCount(); ++i) {
|
||||||
|
const auto& hints = nonogram.getColumnHints(i);
|
||||||
|
std::cout << " Col " << i << ":";
|
||||||
|
for (uint8_t hint : hints) {
|
||||||
|
std::cout << " " << static_cast<int>(hint);
|
||||||
|
}
|
||||||
|
std::cout << std::endl;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (nonogram.hasSolution()) {
|
||||||
|
std::cout << "Solution:" << std::endl;
|
||||||
|
for (size_t row = 0; row < nonogram.getHeight(); ++row) {
|
||||||
|
for (size_t col = 0; col < nonogram.getWidth(); ++col) {
|
||||||
|
std::cout << (nonogram.getSolutionCell(row, col) ? "1" : "0");
|
||||||
|
}
|
||||||
|
std::cout << std::endl;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
int main() {
|
||||||
|
std::cout << "Testing Nonogram Loader..." << std::endl;
|
||||||
|
|
||||||
|
// Test loading from file
|
||||||
|
std::string filepath = "/home/connor/repos/nd-wfc/demos/nonogram/data/db/webpbn/1.non";
|
||||||
|
std::cout << "Attempting to load from: " << filepath << std::endl;
|
||||||
|
|
||||||
|
std::ifstream test_file(filepath);
|
||||||
|
if (test_file.is_open()) {
|
||||||
|
std::cout << "File exists and can be opened." << std::endl;
|
||||||
|
std::string content((std::istreambuf_iterator<char>(test_file)),
|
||||||
|
std::istreambuf_iterator<char>());
|
||||||
|
std::cout << "File content length: " << content.length() << std::endl;
|
||||||
|
std::cout << "File content:\n" << content << std::endl;
|
||||||
|
test_file.close();
|
||||||
|
|
||||||
|
// Try to load from this content
|
||||||
|
auto nonogram = NonogramLoader::fromString(content);
|
||||||
|
if (nonogram) {
|
||||||
|
std::cout << "Successfully loaded nonogram from file content!" << std::endl;
|
||||||
|
printNonogram(*nonogram);
|
||||||
|
} else {
|
||||||
|
std::cout << "Failed to load nonogram from file content." << std::endl;
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
std::cout << "Cannot open file!" << std::endl;
|
||||||
|
}
|
||||||
|
|
||||||
|
auto nonogram = NonogramLoader::fromFile(filepath);
|
||||||
|
if (nonogram) {
|
||||||
|
std::cout << "Successfully loaded nonogram from file!" << std::endl;
|
||||||
|
printNonogram(*nonogram);
|
||||||
|
} else {
|
||||||
|
std::cout << "Failed to load nonogram from file." << std::endl;
|
||||||
|
}
|
||||||
|
|
||||||
|
std::cout << "\nTesting with sample data..." << std::endl;
|
||||||
|
|
||||||
|
// Test with sample data
|
||||||
|
std::string sample_data =
|
||||||
|
"width 5\n"
|
||||||
|
"height 10\n"
|
||||||
|
"\n"
|
||||||
|
"rows\n"
|
||||||
|
"2\n"
|
||||||
|
"2,1\n"
|
||||||
|
"1,1\n"
|
||||||
|
"3\n"
|
||||||
|
"1,1\n"
|
||||||
|
"1,1\n"
|
||||||
|
"2\n"
|
||||||
|
"1,1\n"
|
||||||
|
"1,2\n"
|
||||||
|
"2\n"
|
||||||
|
"\n"
|
||||||
|
"columns\n"
|
||||||
|
"2,1\n"
|
||||||
|
"2,1,3\n"
|
||||||
|
"7\n"
|
||||||
|
"1,3\n"
|
||||||
|
"2,1\n"
|
||||||
|
"\n"
|
||||||
|
"goal 01100011010010101110101001010000110010100101111000\n";
|
||||||
|
|
||||||
|
auto sample_nonogram = NonogramLoader::fromString(sample_data);
|
||||||
|
if (sample_nonogram) {
|
||||||
|
std::cout << "Successfully loaded nonogram from string!" << std::endl;
|
||||||
|
printNonogram(*sample_nonogram);
|
||||||
|
} else {
|
||||||
|
std::cout << "Failed to load nonogram from string." << std::endl;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Test loading from directory
|
||||||
|
std::cout << "\nTesting directory loading..." << std::endl;
|
||||||
|
auto puzzles = NonogramLoader::fromDirectory("/home/connor/repos/nd-wfc/demos/nonogram/data/db/webpbn");
|
||||||
|
std::cout << "Loaded " << puzzles.size() << " puzzles from directory." << std::endl;
|
||||||
|
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
1
prompts/3-nonogram
Normal file
1
prompts/3-nonogram
Normal file
@@ -0,0 +1 @@
|
|||||||
|
inside the demos/nonogram directory, please implement a nonogram loader that stores the nonogram solution and instructions in a seperate class. Use as little memory as possible for storing the solution and instructions. Only store important info, we don't need the name of the author.
|
||||||
Reference in New Issue
Block a user