KrossWordPuzzle/Brug af KrossWordPuzzle

From KDE Wiki Sandbox
Revision as of 15:17, 29 November 2010 by Claus chr (talk | contribs) (Importing a new version from external source)

Løs krydsogtværser, download nye opgaver og design dine egne

Bibliotek

Biblioteket vises når spillet starter op. Hvis det ikke vises, så kan du altid komme tilbage til biblioteket ved at bruge fanebladet Library for oven:

Biblioteket viser alle dine krydsogtværser. I bibliotekets værktøjslinje har du nogle muligheder for at fylde dit bibliotek: Download, Import, New Crossword. Du kan også organisere dit bibliotek: Delete and New Folder. Nogle knapper forudsætter, at en opgave er blevet valgt.


Download krydsogtværser

I biblioteket klikker du på Download for at åbne download-dialogen. Vælg en udbyder fra listen Provider for at få vist en liste af udbudte krydsogtværser. For at finde en specifik krydsogtværs kan du bruge søgelinjen. Du kan angive, hvilken mappe de downloadede krydsogtværser skal gemmes i nederst i download-dialogen. Klik OK for at downloade den valgte krydsogtværs.

Download-dialogen


Import af krydsogtværser

I biblioteket klikker du på Import for at importere lokale krydsogtværsfiler til dit bibliotek. Du kan også tilføje opgaver til biblioteket ved at trække filerne ind fx fra Dolphin. De følgende formater understøttes:

  • .puz (AcrossLite)
  • .kwp (for kross-word-puzzle)
  • .kwpz (komprimerede .kwp-files)


Eksport af krydsogtværser

I biblioteket klikker du på Export eksport for at eksportere den valgte opgave. Følgende filformater understøttes:

  • .puz (AcrossLite)
  • .kwp (for kross-word-puzzle)
  • .kwpz (komprimerede .kwp-files)
  • .pdf (Acrobat Reader, Okular, ...)
  • .ps (Post script)
  • .png (billedformat)
  • .jpg (billedformat)


Lav nye krydsogtværser

I biblioteket klikker du på New Crossword, hvorefter en dialog åbnes. I fanebladet General kan du vælge, hvilken type opgave, du vil lave og du kan angive nogle informationer som forfatternavn (dig) eller opgavens størrelse. Du kan også lave brugerdefinerede opgavetyper. Se Krydsogtværs-typer for et overblik over de tilgængelige opgavetyper. Alle indstillinger kan ændres senere via Edit -> Crossword Properties....

Fanebladet General i dialogen Create new


I fanebladet Template kan du vælge en skabelon, som du vil bruge. Skabeloner er færdige opgaver uden ordforklaringer og løsningsbogstaver. Du kan bruge dem til hurtigt at lave en ny opgave ved blot at udfylde ordforklaringerne. Hvis du har en god ordbog, så kan det være ret let.

Du kan let lave nye skabeloner ved at gemme en opgave med tilvalget Save As Template aktiveret. Hvis du ønsker, at den nye skabelon skal optræde i dialogen Create New, så skal du gemme den i standardmappen til Templates (den optræder i dialogen Save As).

Fanebladet Template i dialogen Create New

Efter at du har klikket på OK laves den nye opgave, og den vises i editor-tilstanden. Se Editing Crosswords for at se, hvordan du redigerer en ny opgave.


Organize your library

To delete the selected crossword from the library click Delete. You can also delete a folder from the library. This will delete all contained crosswords in that folder. To create new folders click New Folder, which will ask you for a name for the new folder.

You can also drag and drop crosswords from one folder of the library to another.


Printing

You can view a print preview using Game -> Print Preview. To print a crossword use Game -> Print.... Besides all the default printing options, you can choose a color for empty cells in Options -> Crossword tab.


Playing Crosswords

Choose a crossword to play from the library and then click Open in the toolbar or double click that crossword. See Library for instructions on how to add crosswords to your library.

This is how the main window will look after opening the crossword:

The crossword tab with an opened crossword

You can click each letter cell to set the focus to that cell. When you press a letter key, that letter will be put into the focused cell and the next letter cell of the current clue will be focused. Normally you will start with focusing the first letter cell of a clue and then just write the answer using the keyboard.

In the statusbar there is a progress bar, showing you the percentage of filled letter cells, the solving progress. When you filled in all letter cells you can check your solution using Move -> Check or the corresponding button in the toolbar. If you want to start again, ie. clearing all answers, use Move -> Clear Answers. You can also clear answers / letters using the context menu or using the Eraser Tool. The Eraser Tool can be enabled using Move -> Eraser or by the corresponding toolbar button. When it's enabled you can clear letter cells by clicking them or clear answers by clicking clue cells (that obviously only works, when clue cells are visible).

Navigation

There are many ways to navigate through the crossword. First you can use the arrow keys to move the focus.

There are other actions for navigation (some have default shortcuts):

  • Select First Letter (default shortcut Home), selects the first letter of the current clue
  • Select Last Letter (default shortcut End), selects the last letter of the current clue
  • Select Clue With Switched Orientation (default shortcut Tab), selects the clue with a different orientation without selecting another letter
  • Select First Clue, selects the first clue
  • Select Previous Clue, selects the previous clue
  • Select Next Clue (default shortcut Return), selects the next clue
  • Select Last Clue, selects the last clue

All those actions are listed in the Move menu:

The move menu

To change the zoom level you can use the zoom slider in the status bar, use the View menu or hold Ctrl and zoom in/out with the mouse wheel. You can show the whole crossword in the window using View -> Fit to page.

To pan the view you can enable the pan mode using View -> Pan or the pan button in the toolbar. In pan mode you can use the mouse to drag the view. You can also pan when not in pan mode by pressing and holding Ctrl.

You can always Save your current work with all currently filled letters.


Hints, Solving

When you're stuck while trying to solve a crossword you can get help. There are different actions for getting help:

  • Solve the whole crossword (using Move -> Solve)
  • Solve a whole clue (using the context menu on a letter cell and then choose Solve Across Clue or Solve Down Clue)
  • Solve a single letter (using Move -> Hint or the context menu on a letter cell and then choose Hint For This Cell)


Clue List

The clue list isn't shown for all crossword types by default (eg. not for Swedish crosswords). You can show/hide it via Settings -> Clue List. It shows a list of all clues of the current crossword with it's current answers. You can click each clue in the list to pan the view to that clue. After clicking a clue you can directly start writing the answer.


Solution Toolbar

The solution toolbar is only shown for crosswords that have a solution word. Such crosswords have some special letter cells, namely solution letter cells. Those solution letter cells are marked by parenthesized numbers, indicating their position in the solution word. All solution letters together form the solution word.

You can change the solution letters either in the solution toolbar or in the crossword, they synchronize themselves. You can toggle the solution toolbar via Settings -> Toolbars Shown -> Solution.

Editing Crosswords

To edit crosswords you first need to enable the edit mode using Edit -> Edit Mode or the corresponding button in the toolbar. When you have just created a new crossword using the Create New dialog the edit mode is enabled automatically. In edit mode all correct letters are shown and empty cells are visible and focusable. You can navigate through the crossword in the same way it's done when the edit mode isn't enabled. Changes to letter cells will change their correct letters (indicated by the blue color of the letters).

Note
You should fill all correct letters, so that no letter stays blank, otherwise solving won't work correctly.


When you created a new crossword using a template you just need to fill in the letters and clues and you're done. Otherwise you first need to add clues and images if you want (not all crossword types allow images!).

Different crossword types have different rules, allow different sets of cell types. You can convert your crossword to any type you want, see Converting Crosswords.


Adding Clues, Images

To add new clues or images, select an empty cell and then use Edit -> Add Clue or Edit -> Add Image (which won't be shown if the current crossword type doesn't allow image cells). If the current crossword type allows Double Clue Cells, you can also select a clue cell and then choose Edit -> Add Clue. This will immediatly add the clue or image into the crossword with default settings. Read the next sections to see how to change the newly created clue or image.


Changing Clues

You can change clues using the Current Cell Dock. If it's not shown you can enable it with Settings -> Show Current Cell Dock.

When you have selected a clue it will look like this:

The current cell dock

You can change the clue text and insert special characters using the button on the right of the clue input line.

The orientation of the clue can be changed to Horizontal or Vertical if that's possible. When it's not possible, it's because the clue is too long for the other orientation or because there are other cells preventing the orientation to be changed (eg. a clues answer can't cross other clue cells).

When you have set up a dictionary the dictionary group box is shown in the Current Cell dock. See Using The Dictionary to see how to use it.

When the current crossword type allows or requires clue cells to be shown the Current Cell dock includes a group of buttons to change the answer offset. The answer offset is the offset of the first letter cell of the answer to it's clue cell (topleft, top, topright, left, on clue cell, right, bottomleft, bottom, bottomright). American crosswords disallow clue cells, ie. the answer offset is always 'on clue cell'. Swedish crosswords require clue cells, ie. the answer offset can't be 'on clue cell'.

Answer lengths can be changed interactively by dragging the bar after the last letter cell of a clue. The answer length is changed by adding / removing letter cells from the clue. You can't make an answer shorter than the minimum allowed answer length of the current crossword type.


Changing images

TODO

Converting Crosswords

You can convert every crossword to every other crossword type. To do this, use Edit -> Crossword Properties..., click the Crossword Type section and then click the Convert... button. This will open the conversion dialog, where you can choose the crossword type to convert to. On the bottom of the dialog an info line is shown which informs you about cells, that will get removed by the conversion. You can undo each conversion.

See Crossword Types for a list of available crossword types.

Managing the Dictionary

First you need to have a MySQL server installed and running.

TODO: More text here...

You can open the dictionary dialog via Settings -> Dictionary....

The dictionary dialog

On the right of the dialog you can see a list of all words in your dictionary. Each word can have an associated clue text.

On the left you can see a toolbox with three sections: Fill Dictionary, Edit and Backup.

To add words with their clue texts from existing crosswords you can use Extract From Library, which extracts all words from all crosswords in your library or Extract From Crosswords..., which lets you choose crossword files to extract words from. You can also add words (without clue texts) from plain text dictionary files using Add Words From Dictionary.... Normally the directories /usr/dict or /usr/share/dict contains such dictionaries.

To add single words use Add Entry from the Edit section. Change the word directly in the list. To remove all selected words from the dictionary use Remove Selected, to clear the dictionary use Clear Dictionary.

The Backup section contains two buttons: Import (CSV)... and Export (CSV).... These can be used to import/export the dictionary to/from comma separated files (CSV). CSV-Files can also be imported into spread sheet applications. You can use those files as backup or to share your dictionary with others.

Using the Dictionary

TODO: More description of adding clues using the dictionary

In the Current Cell dock, you can search for matching answers using wildcard patterns (? for one arbitrary letter, * for any number of arbitrary letters). Those patterns are automatically generated based on the letters that are already in the crossword. Therefore matching answers are automatically offered when adding new clues.