The Database menu

This menu contains an interface to the Thor database which contains more than 70'000 games. These databases can be downloaded from the FFO download page.

Many of the menu choices listed below are only active when one player database, one tournament, and at least one game database have been loaded. These menu choices are marked with asterisks (*) below.

Look up this position *
Query the database about the current position. This operation can only be performed if player, tournament and game databases have been loaded. Database search results are displayed in a separate window.

Sample window:

Database window

The header contains information summarizing the position: In this example, there are 48 games in the loaded databases that match the current position. 33.3% of these are black wins, 2.1% are draws, and the remaining 64.6% are white wins. The average final score is 28.2 discs for black and 35.8 for white. f2 has been played the most, 31 times, and the win rate for this move is 34%. d2 has been played 15 times with a win rate of 33% and d1 has been played 2 times with a win rate of 50%.

Each row in the list contains one game matching the current position. From left to name, the columns contain black player, white player, tournament, year, black final score, and white final score. By double-clicking on a game, that game is transferred onto the board and made the current game.

Look up all positions *
An automatic version of Look up this position above: For every position that occurs on the board in game, practice or replay mode, a database lookup is performed.

Load game database
Load a database of games played, usually corresponding to the games played during a particular year. The standard name is e.g. wth_2002.wtb. Several game databases can be loaded, but only one for each year.

Load player database
Load a database of player names. This can only be performed once in a session, and the standard name of this database is wthor.jou. Make sure that the player database you load is up-to-date; if a newer game database is loaded, odds are that it contains players not found in the player database.

Load tournament database
Load a database of tournament names. This can only be performed once in a session, and the standard name of this database is wthor.trn. Make sure that the tournament database you load is up-to-date; if a newer game database is loaded, odds are that it contains tournaments not found in the tournament database.

Load database configuration
Load a previously saved database configuration. All databases in the configuration will be loaded automatically.

Save database configuration
Save the current database configuration, containing a list of what player, tournament and game databases are loaded. This configuration will come in handy the next time you want to access the databases; all you have to do is load that configuration using Load database configuration above and the current database environment will be restored.

Display loaded databases
Display a list of all databases (player, tournament and game) that are currently loaded.

Player restrictions *
Choose what players to restrict the attention to. Only games played by those players are considered in database lookups. There are two possible modes: Either it suffices for a game to contain one selected player, or else it is required that both are selected. The first mode is useful when preparing against a particular opponent; by selecting one single player is is possible to list all games by that player containing the current position. The second mode can be used for analyzing the games played within a small number of players; e.g. choosing a group of world-class players gives a chance to see what variations are played when strong players play other strong players.

Tournament restrictions *
Choose what tournaments to restrict the attention to. Only games played in the selected tournaments are considered in database lookups.

Year restrictions *
Select a time interval to restrict the attention to. Games outside that interval are not considered but remain in memory and can become active if the time interval is changed.

Display frequencies *
Toggles display of frequencies for the database moves on/off. This function is only active in game and practice mode. The frequencies always add up to 100% (except for rounding errors).

Cannot be combined with Display win rates.

Display win rates *
Toggles display of win rates for the database moves on/off. This function is only active in game and practice mode. The win rates need not add up to 100%.

Can not be combined with Display frequencies.

Display human-human games *
Toggles display of games where both players are humans on/off.

Display human-program games *
Toggles display of games where one player is a human and the other a program on/off.

Display program-program games *
Toggles display of games where both players are programs on/off.

Specify sorting order *
Specify how the games containing the current position are sorted. Choices include date, name of black player, name of tournament etc.

List first 100 matches *
If there are more than 100 games containing the current position, only the first 100 are listed.

List first 1000 matches *
If there are more than 1000 games containing the current position, only the first 1000 are listed.