Sokoban: Map selection

Previous page Next page

File menu map selection

The File menu can be used to: select a map set by name, select a map by name, read a new map set from a file, read a solution from a file, read a saved map position from an earlier attempt, save the current position, give information about the current map, show an animation of your best solution, edit a map or create a new one, save a map, set the skin, set the animation speed, set the font size, set the mode in which maps are selected.

Your solutions database

From version v0.03, Sourkoban uses a file to store your best solutions for each map. This file is named .sourkoban_results.txt and is saved in the directory/folder from which the program is launched. This database of results is used in several ways: in the map selector; to inform you about your progress; to show animations of your best solutions; to automatically select the next map you have not completed, or which you have not completed in the same number of moves (or less) as the built-in solution.

Each time you complete a map the program looks up your previous result. If it is the first time you have solved this map, or if your solution is shorter than before, the new path will be saved. Appropriate pop-up messages will be displayed: "Well done again", "Well done! New map solved!", "Well done! New personal best!", "Whoopee! You matched the built-in!", "Whoopee! Whoopee! You beat the built-in!".

Selecting a map set from the File menu

As shown in the Figure, a map set can be selected using a cascading menu in the File menu. The name of the current map set will be greyed out. Any map sets read in or any edited maps will be appended to the list of map sets. In the example shown, there is one of each: map sets are listed by their file name and edited maps are named "Editor".

Sourkoban: selecting a map set using the file menu
Figure 1. The cascading menu used to select a map set. The current map set is named "Mas Sasquatch". The list also includes a map set read from a file (named by its file name) and an edited map (named "Editor"). These can be selected just like the built-in maps.




Selecting a map from the File menu

The "Select map" option in the File menu will bring up the window shown in Figure 2. This map selector shows the map index, the number of moves in the built-in solution, the number of moves in your solution (0 if you have not completed it) and the map or level name. To select a map the user double clicks on the corresponding line and then clicks "OK".

Sourkoban: selecting a map using the map selector window
Figure 2. The window used to select a map. Here the user has selected the map with index 150, which has a solution with 129 moves, has not been completed by the user, and is named "151 from original 47".

Last updated: 2010-01-20    Sitemap