# Het handboek van &kajongg;

Wolfgang Rohdewald wolfgang@rohdewald.de
&ged.vertaald;&Freek.de.Kruijf;
&FDLNotice;
2014-02-20
&kappversion; (&kde; 4.13)

Deze documentatie beschrijft het spel van &kajongg; versie &kappversion;

KDE kdegames spel kajongg bord arcade spel met stenen stenen vier spelers

## Inleiding

Speltype:

Bord, Arcade

Aantal mogelijke spelers:

Vier

&kajongg; is een bordspel gemaakt volgens het beroemde oosterse spel Mah Jong (in Chinees 麻將). Het wordt gespeeld door vier spelers. Wereldwijd zijn er verschillende spelregels in gebruik. Op dit moment ondersteunt &kajongg; de klassieke Chinese spelregels zoals deze gespeeld worden in Duitsland, mogelijk kunnen andere spelregels volgen. Het is mogelijk om deze aan te passen of nieuwe spelregels toe te voegen. Doe dat en stuur deze naar de auteur van het programma voor integratie!

&kajongg; kan op twee verschillende manieren worden gebruikt: de score bijhouden van een handmatig spel waar u speelt zoals u gewend bent zonder de hulp van een computer en gebruikt u &kajongg; voor het berekenen van de scores en voor bijhouden van de boeken. Of u kunt &kajongg; gebruiken om tegen elke combinatie van andere menselijke spelers of computerspelers te spelen.

## De indeling van het scherm

Een schermafdruk van &kajongg;

Schermafdruk

Een korte uitleg van de onderdelen van het speelveld.

Werkbalk

  De werkbalk bevindt zich onder de menubalk en bevat knoppen voor de meest vaak gebruikte acties. De inhoud van de werkbalk kan worden beweerkt. U kunt deze ook onzichtbaar maken, waardoor er meer ruimte is voor het bord.

  Afhankelijk van de afmetingen van uw scherm wilt u de werkbalk onzichtbaar maken of het naar de linkerkant van het venster verplaatsen. Dat kan door met de muis rechts te klikken op de werkbalk.

Bord

  Het bord is het grootste gedeelte van het venster. U ziet de vier muren met een lengte van 18 stenen (het exacte aantal hangt af van de regels zoals het gebruik van bonusstenen of niet). De namen van de spelers staan op de muur, samen met de huidige waarde van de hand (voor zover bekend) en hun winden-stenen. De wind van de ronde heeft een gekleurde achtergrond, Oost in de bovenstaande schermafdruk.

  When playing, the interior of the walls holds the tiles discarded by the players. They are randomly placed. The last discarded tile has a blue focus frame.

  When scoring manual games, the interior of the walls has a selection of all available tiles, the central selector. You can assign them to the players using the mouse or the keyboard.

Speelgebied

  Every player has a screen range for her tiles. The upper row contains exposed tiles, the lower row concealed tiles. When scoring manual games, concealed tiles are shown with a shadow over the entire tile. Bonus tiles go to the right end.

Dialoog

  De dialoog presenteert keuzes die de speler heeft. Vaak heeft het een timeout met een voortgangsbalk die de overblijvende tijd aangeeft.

Statusbalk

  De statusbalk bevindt zich onderaan het scherm en bevat de huidige totalen van de spelers.

## Scores van een handmatig spel

In this mode, &kajongg; is only used to do the scoring. You play as usual with real people on a real table and at the end of a game you can tell &kajongg; the tiles a player has in her hand and everything else &kajongg; needs to know for calculating the scores - which is what the program will do. Alternatively you can calculate the hand scores manually and enter them. &kajongg; will then make the payments amongst the players and write the results into a data base. It is possible to suspend a game, start another game with other players and resume old games. All rules will be saved together with the games, so different games can be played with different rules.

- Selecteer uit het menu Spel / Scores van een handmatig spel of druk op &Ctrl;C.

- Now you can either select an existing unfinished game or start a new game. If you start a new game, you will be asked for the players and the ruleset. &kajongg; will propose the same values used for the previous game. If there was no previous game, it will propose the first four defined players. Please note that you cannot change the ruleset or any of its rules after this selection. You can do that beforehand in the ruleset editor.

- U krijgt nu een nieuw venster met de titel "Voer de handmatige resultaten in". Lees Laat &kajongg; de score berekenen voor een gedetailleerde beschrijving.

- Na het opslaan van handmatige resultaten, doorgaan met de volgende hand.

### Handmatige resultaten invoeren

#### Scores

Een schermafdruk van &kajongg;
Schermafdruk

This is the window for entering hand results. It automatically shows itself when &kajongg; thinks you might need it. You can always show or hide it by pressing &Ctrl;S or by selecting the corresponding menu entry.

Zoals altijd heeft de wind van de ronde een gekleurde achtergrond.

Here you can manually enter scores for all players. Alternatively you can exactly define which tiles a player had in her hand. If you choose to do that, the corresponding field for the manual score value will be grayed out. &kajongg; will automatically compute the score.

After having entered all relevant data for a hand, press the button Save Hand. The hand values will be entered in the data base, and they are also shown in the score table. You might be prompted to change the seating positions of the players but you can choose not to change seats. The proposed changes are currently not customizable - if a ruleset needs something different, we will change that.

If the player might have won, the check box in the column "Winner" will be enabled - click this for the winner.

The status bar will now show the updated balances for the players, and you can continue with the next hand.

##### Score handmatig invoeren

A good player will probably prefer to compute her score himself. In that case you can directly enter it. This is only possible when no tiles are selected for this player.

If you enter a manual score, it must already contain everything except penalties, you will have no optional rules to choose from. There is one exception: "Dangerous Game". This does not influence any scores, it is no offense either. It only means the payment between players is different: The offender pays all for all to the winner. The other two players do not exchange payments. This is currently not customizable.

##### Laat &kajongg; de score bereken

If you explicitly tell &kajongg; what tiles a player holds, entering scores will be grayed out for that player in this window. While associating tiles with a player you will see how her score will grow - but as soon as you add the 14th tile the score goes to zero. That might surprise you but unless you declare this as the winner hand, it is recognized as a long hand which always has zero points. This behaviour is defined by the Classical Chinese ruleset, it might be different if you change the rules or use a different ruleset.

You can associate tiles and melds with a player using either the mouse or the keyboard or both. With the mouse simply move tiles by dragging/dropping them to the player region. When dropping the tile, you will be asked what you want to move: Single, Pair, Pung, Kong, Claimed Kong or Chow. The upper row is for exposed tiles, the lower row for concealed tiles. The bonus tiles will appear to the far right. You can also move tiles and melds between rows, between players and back to the central selector.

If you prefer using the keyboard, you can use to move between the central selector and the player regions. The keys eswnESWN move a tile to the players East, South, West and North. The keys xX move it back to the central selector. ESWN moves to the concealed row, eswn moves to the exposed row. You can move the cursor between tiles or melds using the arrow keys, the currently selected tile or meld has a blue frame. Since the key arrows are far away from letters on the keyboard, you can also use the letters hjkl or HJKL for moving the cursor. hH move left, jJ move down, kK move up, lL move right. This is how the unix editor "vi" does it. The &kde; browser konqueror and even this help program also support those keys in the same way. Those keys may differ if you use a language other than English but it is currently not possible to configure them.

The options "Last Tile" and "Last Meld" are needed by some rules like "last tile completes pair". They can only be used for the winner hand.

In the right part of the window you can manually apply some rules. What rules appear in this list depends on the current ruleset and on the tiles. In the example of the above screen shot, the losing players might have an option "dangerous game" - again depending on the ruleset and on their tiles. It is the aim of the developers to keep this list of manually selectable rules as short as possible. Optimally &kajongg; should always be able to automatically determine whether a rule applies, but sometimes &kajongg; does not have enough information or knowledge to decide.

#### Strafpunten

Een schermafdruk van &kajongg;
Schermafdruk

In the window for entering hand results, the Penalties button will bring up this window where you can enter penalties. This can be done at any point in time independent of the normal scoring mechanism.

The Offense selection shows all offenses that might be applicable to the hands the players hold. Choose among them.

Now you can adapt the Total Penalty. This is the total sum that is moved from payers to payees. It will be evenly split between them.

Depending on the type of offense, the number of payers and payees varies. The right number of players is displayed. If you select a player, &kajongg; ensures that this player only occurs once by adapting the other players.

## Speelt

At any time, you can enable or disable the Demo Mode. In Demo Mode, the computer will play for you. If no game is currently played, a new game will be started with the last used ruleset.

### Tegen de computer spelen

First you will get a login dialog. Enter the game server you want to connect to and your user name. If you choose the special entry "Local Game", you only need to enter your name (or accept the proposed name) and the wanted ruleset. This will immediately start a local game where you play against 3 robot players. However if suspended games exist, they will be displayed in a list. You can then select the game you want to continue with or start a new game.

### Met vrienden spelen

If you want to play against other real people, you need a game server to which all players, including yourself, need to connect. Do that by selecting any other host or by manually entering a new host name and by specifying your password for that host. The last used password will be proposed.

The easiest way is to use the game server at kajongg.org. &kajongg; will show this one in the list of possible game servers. Please note that for now kajongg.org only offers a game server but no web page or any other services.

If you do not have an account on the game server with the name you entered, you will be asked if you want to open an account. If you say yes, you will get a new dialog where you can enter the wanted password twice. Your account will be created automatically.

After a successful login onto the game server, you will get a list of tables with available seats on that game server. Join a table or allocate a new table. If you allocate a new table, wait until more seats are taken by other players. You can start the game on a table you allocated at any time, the seats not taken will be filled by robot players.

The table list also shows the name of the ruleset played on that table. The ruleset and its name are sent to the game server by the player initiating the table. If you have an identical ruleset, the table shows your name for the ruleset - this might be helpful if the table initiator speaks another language and named the ruleset differently. Also, if the name of your local ruleset is displayed, it is displayed in black. If however you have no identical ruleset, the name appears in red, and you can use the button Compare to compare it with your own rulesets.

If you do not use kajongg.org or any other existing game server, you can start your own &kajongg; game server in two different ways:

- connect to the server "localhost". This is your own computer. If you do this and no game server is running, it will be started automatically. And when you stop playing, the server will be stopped too.

- manually start a server on any computer you want. All you need to do is go to a command line and start the program `kajonggserver`. Entering `kajonggserver --help` will show you all available options like changing the default port. This server will run until you kill it.

In both cases you need to tell the other players how they can reach your game server. They need the &URL; or simply an IP address and the port your server is listening on. This might be something like `mypc.dyndns.org:8409` where `8409` is the port. Of course you need to configure your firewall such that the remote player can reach that port. The communication will be encrypted.

The server computes its default port from its version number. If &kajongg; has version 4.9.5, port 8409 will be used: 8000 plus first version digit * 100 plus middle version digit. If the player enters no port for the wanted game server, the client computes the port in the same way. So if a computer runs several game servers with different program versions, you should normally reach the correct game server automatically. Anyway the game server and the client will make sure that their versions are compatible and warn you otherwise.

If you encounter possible bugs, you might want to use the option `--debug=traffic`. This will show you, on the console where the game server has been started, what messages are flowing between the game server and the clients.

#### Notities

- If you want to make sure nobody can cheat none of the human players should have access to the computer the game server is running on. Of course you can never avoid that two players help each other because you cannot know what they really are doing. Two players might even be one and the same person.

### Spelregels

Worldwide, many different game variants exist. Currently, &kajongg; supports two variants of Classical Chinese, one as played in Germany and one as played in Great Britain.

This description does not go into details and as such matches both variants.

However most of the basic rules are the same in most variants.

Since the program &kajongg; knows how to play, this description only contains things that might not be obvious.

If you want to learn Mah Jong in more detail, please consult the bibliography.

#### Het doel van het spel

Each player tries to collect tiles such that she has a winning hand. On achieving this, she calls "Mah Jong". In a winning hand, the tiles are normally grouped into five melds: Four melds with three or four tiles each and a fifth meld consisting of two equal tiles. A normal meld has three or four identical tiles (called Pung and Kong respectively) or three successive tiles like Bamboo 3, Bamboo 4, Bamboo 5 (called Chow).

#### Het verloop van het spel

Initially, the player with the East wind (as indicated on the wall) has one more tile than the other players. East begins by discarding an unwanted tile.

Whenever a tile has been discarded, other players can claim it by saying what they can complete with that tile (Chow, Pung, Kong, Mah Jong). Only the next player can claim a Chow - the other claims are possible for all players. A meld completed by a claim will be exposed - made visible to all players.

If nobody claims the discarded tile, the next player, South (and then West and North) gets a tile from the wall and discards an unwanted tile.

There are several rules about when a Pung can be extended to a Kong (by claiming the forth tile or by getting it from the wall) - these rules are not explained here. But &kajongg; of course knows them and makes sure they are respected. If a Kong is declared, the player automatically gets a replacement tile from the wall - otherwise it would not be possible to build the five melds as mentioned above.

#### Jaar, ronde en hand

When a player claims Mah Jong or we end up in a draw, a hand is completed. Now, except for draws, the winds rotate among the players. This is repeated until every player once had every wind. This entire unit is called a round. An entire game, also called year, consists of four such rounds: East wind round, South wind round, West wind round, North wind round. The wind of a round is also called prevailing wind, it can result in higher scores.

So a full game (a year) consists of at least 16 hands. Since the winds do not rotate for draws or when the East player says Mah Jong, a higher number of hands is normally needed for a full game.

#### Bonusstenen

A game can contain eight bonus tiles (unless the rules exclude them). They are exposed separately on the right side of the player region as they are never used for building melds. They do however generate bonus points.

Als een speler een bonussteen ontvangt, zal deze automatisch ook een vervangende steen van de muur ontvangen.

#### Scoren

Aan het eind van een hand wordt de score voor elke speler berekend. Eerst worden de basispunten geteld zoals 2 punten voor een eenvoudige open pung of 20 punten voor het winnen. Vervolgens wordt een andere set regels toegepast - deze regels kunnen de punten verdubbelen zoals een verdubbeling voor een melding van draken. Wanneer de score voor elke hand bekend is, worden de verschillen tussen de spelers afgerekend - terwijl de winnaar zijn volledige score van alle andere spelers krijgt betaald. Oost krijgt en betaalt altijd twee keer zijn score.

Of course &kajongg; knows about all applicable rules but a good player knows what combinations get what score so she can optimize. While learning it is recommended to activate the window Explain Scores.

The exact scoring rules often vary - in &kajongg; you are free to change them with the the ruleset editor.

The ruleset editor also shows you all available rules and their meaning. Place the mouse over them and for the more exotic rules help text will appear.

### Hoe met &kajongg; te spelen

You will be prompted for what you want to do. This is a little dialog which appears either on the right or at the bottom depending on the size of the window. If you make it broader than high, the dialog appears on the right. Sometimes the dialog will have a timeout - when it is over, the first possible answer is automatically selected for you. This timeout is configurable in the Ruleset Editor, under Options, Claim Timeout. All players should have the same timeout, that is why this is part of the ruleset.

If you need to select a tile from your hand, you can move between tiles using the right and left arrow keys or the letters h and l on your keyboard. Of course you can use the mouse too.

You can discard a tile by using the keyboard the same way as for all actions. Alternatively, you can use the mouse and move the tile from your hand into the discard area (the interior of the walls). The placement of the tile in the discard area will still be done by the computer - because the placement should be the same for players.

Often, the dialogs will offer choices which are not really applicable like calling Pung when you do not have the needed tiles. This is intended - just like in a real game. But you can configure impossible choices away: Disable Show only possible actions on the Play page of the settings dialog.

Discarded tiles are placed randomly between the walls. Some game variants define where the tiles should be placed, this is not yet configurable however. When it becomes configurable, it will be part of the ruleset.

## Overzicht van het interface

### Menu-items

&Ctrl;C Spel Score van handmatig spel

  Hou de score bij van een handmatig gespeeld spel.

  You can load an old game or start a new game. By default only pending (i.e. unfinished) games are shown in the selection list. You can optionally show all games including finished games. Here you can also delete games.

&Ctrl;N Spel Spelen

  Spelen met anderen (mensen en computers)

&Ctrl;W Spel Spel afbreken

  Abort the current game. If it was a manual game with scoring only, you can resume it later. If you played using &kajongg;, the game is not yet resumable.

&Ctrl;Q Spel &kajongg; verlaten

  Beëindigt &kajongg;.

&Ctrl;S Beeld Bewerker van score tonen

  Scoring Dialog: Show or hide the scoring dialog. This dialog is explained here.

&Ctrl;T Beeld Scoretabel

  Score Table Score Table

  Screenshot
  Show the score table. Round/Hand are the current round (East, South, West, North) followed by a count of the hands played in that round. The winner has a green background for her values. The Payments show how much the player paid to or received from all other players with this hand. The Balance shows the current balance for all players. The Chart shows the development of the balance values. The hints give you more details: They show all rules that have been applied to this hand. Just move the mouse over the value you are interested in.

  The lower part shows the used ruleset. Between the score table and the used ruleset you can find a splitter letting you change the relative sizes of both parts.

&Ctrl;E Beeld Scores verklaren

  Scores uitleggen

  Scoretabel
  Scoretabel

  Legt uit hoe de score van de huidige hand is berekend.

&Ctrl;H Beeld Chat

  Chat

  Chatsvenster
  Chatvenster

  Laat u chatten met de andere spelers.

Instellingen Spelers

  Spelers toevoegen, wijzigen en verwijderen.

  The passwords in this table are those used by default when logging onto a game server. Changing the password you initially chose for a game server is not yet really helpful because there is no way yet for you to also change your password on the game server. You would have to ask the administrator of the game server to do that for you directly in the data base.

Instellingen Spelregelsets

  Spelregelsets aanpassen

  Gebruik de bewerker voor spelregelsets om spelregelsets aan te passen. Voor details zie hier.

&Ctrl;G Instellingen Zichthoek wijzigen

  Wijzigt de blikrichting van de stenen tegen de klok in.

&Ctrl;D Instellingen Modus Demo

  Enables or disables the Demo Mode. See here for details.

&Ctrl;F Instellingen Modus Volledig scherm

  Schakelt tussen volledig scherm en normale modus.

Additionally &kajongg; has the common &kde; Settings and Help menu items, for more information read the sections about the Settings Menu and Help Menu of the &kde; Fundamentals.

## Spelconfiguratie

Dialoog voor instellen
Dialoog voor instellen

The menu entry Settings Configure &kajongg;... opens the Configure - &kajongg; dialog.

If you press the Cancel button here, all of your configuration changes will be reverted, including everything you did with the ruleset editor.

You can also select the different tabs with the keyboard: &Ctrl;1 selects the first tab Play options, &Ctrl;2 selects the second tab, and so on.

### Opties voor spelen

Schaduw van stenen tonen

  This shows tiles with borders and shadows. Also there is some space between tile rows, and the wall tiles are shown such that you can see that the wall is two or three tiles high. So if you disable this option, you have a simpler display with slightly larger tiles. This may be helpful for small screens.

Blinde stenen naar meldingen herschikken

  This groups melds in the hand. Sometimes the grouping might not be like you want it, so you might prefer to have no grouping at all, just like in a real world game.

Alleen nog mogelijke acties tonen

  When playing, show only possible actions like "No claim" or "Pung".

Propose what to do

  Whenever you have a choice of actions like claiming a tile or not or like choosing which tile to discard, &kajongg; can help you by making a proposal.

Geluid gebruiken indien beschikbaar

  This lets you hear discards and claims. If other players recorded sound files with their own voice, you can hear them.

Laat anderen mijn stem horen

  If you recorded sound files with your voice this option will let the other players hear your discards and claims with your voice.

Animatiesnelheid

  Define how fast the tiles should move around. If you move the slider to the rightmost position, tile movement is not animated: the tiles will simply change place.

#### Geluid

Playing gives you a much nicer experience if you hear players claim tiles and announce discards. It also makes playing easier because you can concentrate on your own tiles, you do not have to watch what others discard.

&kajongg; comes with voices for different players. It automatically assigns voices to players. For every language there should be four voices, preferably two male and two female. &kajongg; tries to use voices in the same language &kajongg; runs in. If it finds no voices in that language, &kajongg; will fallback to other languages, using the same fallback languages you defined for &kajongg; (see Help Switch Application Language). If no voice files exist yet for your language, you are invited to record and contribute them to &kajongg;.

- This is how you can generate voices yourself. There is a separate folder for every voice. There are two groups of voices with different places in the file system:

  - Predefined voices for every language. They live in a folder like `/usr/share/kde4/apps/kajongg/voices/LANG` where LANG is the code for your language. The voice directories directly under `.../kajongg/voices/` are the US-english versions. Predefined voices are randomly assigned to players. Those voices have names like `"male1 male2 female1 female2"` but those names do not matter, the user will never see them. Also, it makes no sense to define more than four predefined voices per language.

  - User voices can be defined for a specific user. If &kajongg; makes use of such a voice, it can automatically be transferred to other players over the internet. Those voices live in a folder like `~/.kde/share/apps/kajongg/voices/`. So if your login name is joe, this might be `/home/joe/.kde/share/apps/kajongg/voices/joe/`. The folder `voices/` might not yet exist - if so, create it.

- Now that you know where to place your new voice, generate a new folder for it.

- In that subfolder, you can place the sound files. They have to be encoded with the Ogg Vorbis audio compressor, the file names need to have the extension `.ogg`. A single file has a name like `s3.ogg` - this is Stone 3. You should define such files for all tiles and for all claims and announcements. But if a sound file is missing, nothing bad happens - you just will not hear that sound. Fallback to other voices or languages only works for entire voices, not for single sound files.

- After having defined all sound files for a predefined voice, please make sure that the &kajongg; process has write permission in the new voice folder. Start &kajongg; and test the voice. After everything is OK, you can revoke write permission (and you should do so for predefined voices). &kajongg; will automatically generate a file named `md5sum` containing a checksum over all sound files. Whenever you change, add or delete a sound file for a voice, &kajongg; will try to rewrite that file.

Please make the length of the sound short but speak clearly - this game can be played very fast when you get used to it. It is easier if you first write down a list with everything that should be spoken. Do not read it as a sequence of items, try to pronounce each item as if it were the only one and as you would when playing. Leave room between the items. Reading this needs a little practicing.

This is just one possibility to create the sound files:

- Record a sound file with the program `qarecord`, save it in the `WAV` format. In this single sound file, speak all of the sounds.

- Edit that file with the sound editor `audacity`. In that editor, use the mouse to mark a range of the sound waves. The editor will play that part. Repeat until you have the correct part selected. This may be easier if you View Zoom In. Use the menu command File Export Selection and save in the ogg format. Under Options, choose low quality - this is sufficient and even wanted because this reduces the time to transfer the sounds to the other players.

The following are the names of the files that you should generate. Always append `.ogg` to them:

Sound file names

&s1; .. &s9; | Stone 1 to Stone 9
&b1; .. &b9; | Bamboo 1 to Bamboo 9
&c1; .. &c9; | Character 1 to Character 9
&we; &ws; &ww; &wn; | The winds East, South, West, North
&db; &dr; &dg; | The dragons blue/white, red, green
&chow; &pung; &kong; &mahjongg; | The major claims
&originalcall; &violatesoriginalcall; | Original Call and its violation
&dangerousgame; | A player lets off a cannon (dangerous game)
&nochoice; | A player declares he has no choice but to play dangerous game

### Opties voor stenen

Tileset selector
Tileset selector

Use the Tiles selector to select graphics for the tiles.

### Opties voor de achtergrond

Achtergrond kiezen
Achtergrond kiezen

Use the Background selector to select a background graphic for the game.

Some backgrounds like the Chinese Landscape need some time to load. If you feel that the program should start faster or that resizing the main window takes too long, you might try some other background.

### Ruleset Editor

Ruleset Editor
Ruleset Editor

Use the Ruleset Editor to customize rulesets. Predefined rulesets are shown in an italic font, customized rulesets have a normal font. Predefined rulesets cannot be changed by the user in any way, however an update of &kajongg; might. Customized rulesets will never be affected by an update.

When starting a new game, you will be able to select a ruleset for that game. All rulesets defined in the ruleset editor can be used. The ruleset is saved together with the game, so you can always change rulesets here - your changes will only affect future games.

#### Rule, Points, x2, Limits

Simply double click on whatever you want to change. If all values are cleared, this rule will have no influence on the game. Rules cannot be deleted.

#### Copy and Remove

You can copy and remove entire rulesets.

Again this can even be done if existing games use this ruleset since every game has its own ruleset copy. You can view rulesets for old games: Load the old game and show its score table.

#### Vergelijken

Ruleset Comparator

Ruleset Comparator
You can select this command when an entire ruleset is selected. It lets you compare the selected ruleset against any other ruleset.

### Standaard sneltoetsen

The menu entry Settings Configure ... allows you to change the default keyboard bindings.

De standaard sneltoetsen zijn als volgt:

F1

  Hierdoor wordt dit handboek geopend.

&Ctrl;C

  Score van handmatig spel.

&Ctrl;N

  Play a game with friends or computer players.

&Ctrl;W

  Het huidige spel afbreken.

&Ctrl;Q

  Beëindig het programma

&Ctrl;T

  Show the score table.

&Ctrl;H

  Een chatvenster tonen.

&Ctrl;G

  Change the viewing angle.

&Ctrl;D

  Enables or disables the Demo Mode.

&Shift;F1

  Wat is dit? Hulp

&Ctrl;&Shift;F

  Volledig scherm modus

## Known problems

- It is not yet possible for the player herself to open an account on the game server.

- In playing mode, penalties are not yet possible.

- The computer players are still rather stupid.

## Possible future features

- Add more rulesets. This should optionally be done by people using those rulesets regularly.

## Veel voorkomende vragen

Ik wil het uiterlijk van dit spel wijzigen. Kan dat?

Ja. Om het uiterlijk van &kajongg; te wijzigen gebruikt u de menubalk om het configuratieprogramma te openen.

Can I use the keyboard to assign tiles to players?

Yes. See Have &kajongg; compute the score

## Dankbetuigingen en licentie

&kajongg; voor &kde;

Programma Copyright © 2009, 2010, 2011, 2012 Wolfgang Rohdewald wolfgang@rohdewald.de

Documentatie copyright © 2009, 2010, 2011, 2012 Wolfgang Rohdewald wolfgang@rohdewald.de

&meld.fouten;&vertaling.freek; &underFDL; &underGPL;

## Bibliografie

- Das Chinesische Mah-Jongg-Spiel by Uwe Martens 2005, Books on Demand GmbH, Norderstedt. Dit boek is een uitstekende Duitse referentie die alles bevat wat u wilt weten over de spelregels die in Duitsland worden gebruikt en vele andere aspecten van het spel.

- The Complete Book of Mah-Jongg door A. D. Millington, 1977 (met verschillende paperback edities tot 2003), Weidenfeld & Nicolson, London. Dit is de beste referentie voor Klassiek Chinees Mah Jong zoals het gespeeld wordt in de Westerse wereld. Het kan u waardevolle aanwijzingen geven over spelstrategieën.

- Mah-Jong by Gwyn Headley and Yvonne Seeley, 3rd edition, 2008, A & C Black Publishers Ltd., London. This book is a very easy to use reference, concentrating on the rules as used in Great Britain, defined by the BMJA (The British Mah Jong Association).

## Installatie

Use the .deb package from . If it does not work for you, you can download kajongg-x-y.tar.gz from the same address and then do:

    tar xfz kajongg-x-y.tar.gz
    cd kajongg-x-y
    ./setup.py install

In both cases you will manually have to make sure that some other required packages are installed. The debian package does not yet contain these requirements. &kajongg; needs: (corresponding debian packages in parentheses)

- the KDE4 games library (libkdegames5)

- Python 2.6 or higher (python)

- QT4.4 or higher (libqt4-core, libqt4-gui, libqt4-svg, libqt4-sql, libqt4-sql-sqlite)

- De python bindings voor QT4 (python-qt4, python-qt4-sql)

- de python bindings voor KDE4 (python-kde4)

- de bibliotheek python twisted (python-twisted-core)

- sqlite3 (libsqlite3-0)

&documentation.index;