This page features a simple front-end to the database of chess problems. This project is designed to be a proof of concept that complex searches for chess problems can be fast and served online. The primary purpose of such searches is finding anticipations. Another purpose is being a beta testing facility for the `theme checker'. I'll gladly share the whole source code and the data with anyone interested in it.
Currently there are 355217 problems in the database (1615 added in last 30 days). Duplicates and incorrect positions are many.
I'd like to thank all the people who collect chess problems and don't mind sharing their collections.Currently, this database comprises the following sources:
Of course all new contrubutions are very welcome. I'm not promising i'll add them overnight, but i'll try to do my best.
Also i'd like to thank developers and maintainers of the Popeye - a free solving program which was used to solve many problems in the database.
|Problem||Edited by||When||View changes|
|40389.||Janček, Ján #2||Gabriel Torok||2 minutes ago||2080 bytes|
|11327.||Janček, Ján #2||Gabriel Torok||4 minutes ago||388 bytes|
|11324.||Janček, Ján #2||Gabriel Torok||7 minutes ago||1124 bytes|
|11309.||Janček, Ján #2||Gabriel Torok||8 minutes ago||892 bytes|
|11326.||Janček, Ján #2||Gabriel Torok||10 minutes ago||872 bytes|
|11325.||Janček, Ján #2||Gabriel Torok||13 minutes ago||728 bytes|
|11333.||Janček, Ján #2||Gabriel Torok||16 minutes ago||1276 bytes|
|11318.||Janček, Ján & Formánek, B ... #2||Gabriel Torok||20 minutes ago||832 bytes|
|265879.||Janček, Ján #3||Gabriel Torok||32 minutes ago||2288 bytes|
|11321.||Janček, Ján #2||Gabriel Torok||36 minutes ago||312 bytes|
|11323.||Janček, Ján #2||Gabriel Torok||39 minutes ago||892 bytes|
|380943.||Janček, Ján =||Gabriel Torok||54 minutes ago||12 bytes|
|11319.||Janček, Ján #2||Gabriel Torok||56 minutes ago||1080 bytes|
|380942.||Јаневски, Живко h#2||Gabriel Torok||13 hours ago||12 bytes|
|380941.||Јаневски, Живко h#2||Gabriel Torok||13 hours ago||12 bytes|
|318924.||Јаневски, Живко #2||Gabriel Torok||13 hours ago||1144 bytes|
|380940.||Јаневски, Живко #2||Gabriel Torok||13 hours ago||12 bytes|
|380939.||Јаневски, Живко h#2||Gabriel Torok||13 hours ago||12 bytes|
|380938.||Јаневски, Живко s#3||Gabriel Torok||13 hours ago||12 bytes|
|380937.||Јаневски, Живко h#3||Gabriel Torok||13 hours ago||12 bytes|
--- authors : - Valuska, Ján source : Al Hamishmar date: 1987 distinction: Special HM algebraic : white: [Kc4, Bf8, Be6, Sg3, Se1, Pf2, Ph5, Pf6] black: [Kg5, Pf3] stipulation : "#2" twins : b : Stipulation =2 solution : | "a) 1.Kd5! zz 1...Kxf6 2.Se4# 1...Kh4 2.Sxf3# 1...Kf4 2.Bh6# b) =2 1.Kd5! zz 1...Kxf6 2.Sxf3= 1...Kh4 2.Bh6= 1...Kf4 2.Se4=" keywords : - Lacny comments : - This is an example comment, it is not actually in the database. - | "This is a multi-line comment, It also includes a # sign and thus must be quoted." - Check also >>83064As you see, the document is actually a dictionary of key : value pairs where key is a string and value is either a string, or a list (each entry starts with '-') or another dictionary. Currently there are 14 keys (or fields) recognized by the YACPDB (in the example there are just 8: fen, options, intended-solutions and source-id are not used).
---This is not a field, this is a record separator in YAML. Here it is used to indicate the beginning of a new entry.
authors : - Valuska, JánThis is a list of people who composed this problem. If there was more than one of them it would go like this:
authors : - Doe, John - Doe, JaneNote: not "- DOE John and Jane". The automatic unification of all composer names is currently under development. The canonical name representation will be:
authors : - Last-Or-Family Name, Given And Patronymic Names And Disambiguationsin author's original language, however database search facilities will accept "Loshinski" and fetch you "Лошинский, Лев Ильич". Future tense. Not ready yet.
source : Al HamishmarName of the periodical/book or tourney in which this problem has first featured. This field is not a list, please use comments field if you want to list the reproductions.
source : ProblemOnline source-id : A0036Sources often use their own enumeration/labeling for original materials. Supplying these may help future inquirers. Also source-id can be used to indicate the issue number:
source : MatPlus source-id : 36/1486 # i.e. problem number 1486 published in the 36th issue of the MatPlus
date : 1987When this problem first appeared in source. In case of tourneys that run for several years (like WCCT) please indicate only the beginning year. You can also optionally provide month and date in this format: YYYY[-MM[-DD]] (attention, american friends). The benefit of putting numbers in this way is that chronological order matches lexicographical order.
distinction: Special HMHow this problem was awarded. The general format is
algebraic : white: [Kc4, Bf8, Be6, Sg3, Se1, Pf2, Ph5, Pf6] black: [Kg5, Pf3]Note S for the knights as N is reserverd for Nightriders. Fairy pieces are suported and use the same syntax as in Popeye solving program. Popeye reference manual can be found within the popeye distribution or at the Joost de Heer website here.
algebraic : white: [Ka1, Pag7] # white pao (chinese rook) g7 black: [Royal Zf3, Qh8] # black royal zebra (2,3-leaper) f3 neutral: [Pa2, HurdleColourChanging Ga5] # neutral grasshopper at a5 that changes the color of the piece it hops overFor convenience lists of supported fairy pieces, specifications and conditions are available at the edit form via the `Insert' pulldown menu.
fen : 5B2/8/4BP2/6kP/2K5/5pS1/5P2/4S3The diagram may be specified in Forsyth-Edwards Notation as well.
stipulation : "#2"If possible, stipulation should be given in the same notation as used by the Popeye solving program (english input). Please also note the double-quotes around the #2. The reason they are there is that # (number sign) is used for comments in YAML, and to keep it as the part of the content it should be escaped by surrounding the whole stipulation string in double-quotes.
intended-solutions: 3 intended-solutions: 184.108.40.206 intended-solutions: 4.1.1...When author intended more than one solution to his problem, this can be indicated under the diagram using one of these three example formats.
options : - SetPlay - CirceThe list of extra options and conditions. Allowed is everything that can be used with the Popeye directives Option and Condition except options that do not make sense in the database context (e.g. NoBoard or StopOnShortSolutions).
twins : b : Stipulation =2Twins use the Popeye syntax too, with one little difference: in case of Zero-positions first twin must be labeled 'a', the second - 'b' etc, and in case of normal twins the first is 'b', the second - 'c' and so on. Please note that Popeye is aware of fairy pieces, so it is "Add white Sa1", not "Add white Na1" to add a white knight. Here's a Popeye twins memo written by Rainer Staudte:
solution : | "a) 1.Kd5! zz 1...Kxf6 2.Se4# 1...Kh4 2.Sxf3# 1...Kf4 2.Bh6# b) =2 1.Kd5! zz 1...Kxf6 2.Sxf3= 1...Kh4 2.Bh6= 1...Kf4 2.Se4="Note: the blank line between the solutions of the twins is not actually empty, there are 2 whitespace characters on it because YAML is all about indentation. To make copying and pasting the solution from other programs easier, YAML edit form has indent buttons. So you copy the solution, paste it into the edit form, select it again and click the 'Indent Right' button. This will add 2 spaces to the beginning of every line and solution will be properly indented. 'Indent Left' button strips 2 spaces from the beginning of every line, it can be used if you accidentaly clicked 'Indent Right' too many times for example.
keywords : - LacnyThe list of the keywords associated with the problem. Anything will do as keywords, but if the keyword can be found in the general YACPDB search form then it is advised that you use that exact spelling. This way the problem will become a subject to the keyword search. However feel free to add any keywords, eventually they'll get to the search form, it is just not an automated process (keywords need to be categorized, they may have dependencies etc).
comments : - This is an example comment, it is not actually in the database. - | "This is a multi-line comment, It also includes a # sign and thus must be quoted." - Check also >>83064 - Visit http://example.com/This will be rendered as: