The KBackgammon Handbook

The KBackgammon Handbook

The KBackgammon Handbook

Jens Hoefkens

Developer: Bo Thorsen

Revision 1.96.01

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.1 or any later version published by the Free Software Foundation; with no Invariant Sections, with no Front-Cover Texts, and with no Back-Cover Texts. A copy of the license is included in the section entitled "GNU Free Documentation License".

KBackgammon is a graphical backgammon program for KDE. It supports backgammon games with other players, games against computer engines like GNU bg and even on-line games on the First Internet Backgammon Server.


Chapter 1. Introduction

Introduction

Chapter 1. Introduction

KBackgammon is a graphical backgammon program. The objective of backgammon is to move your checkers off the board before your opponent does. While the rules of backgammon are moderately difficult (the most difficult part apparently being the initial positioning of the checkers), this document does not try to teach these rules: please refer to the Web, a book, or (probably best) a friend for this.

KBackgammon offers you a graphical backgammon board that can be used almost entirely by using the mouse (although textual commands are also available and it should be possible to play backgammon without the mouse, too). Therefore, KBackgammon is easy to use and allows you to concentrate on the important aspects of playing backgammon.

In order to play backgammon, you usually need an opponent. KBackgammon offers you to play against hundreds of different opponents of various strength on the First Internet Backgammon Server. If you prefer, you may also use the Offline Engine which allows you to play against yorself or friends that are with you at your computer.

In the near future KBackgammon will allow you to play against GNU Backgammon, which is a powerful backgammon program that usually runs without a graphical frontend. It plays on FIBS with a rating of about 2000 (which is quite high).

Additionally, plans are on the way that will allow games over the Internet between two KBackgammon programs (and their respective users). Finally, the architecture of KBackgammon is quite open and it is possible to include support for other engines easily (if you are interested in this, please contact the author).

KDE Logo
Chapter 2. How to use the Board

How to use the Board

Chapter 2. How to use the Board

KBackgammon is centered around a graphical backgammon board. This board consists of the checkers, the dice, and the cube. All these game elements can be conviniently manipulated with the mouse.

The following image shows a typical game situation with the white player moving from 1 to 24 and the black player moving from 24 to 1. Currently, the white player owns the cube and has just rolled 3 and 4.

The Board

If it is their turn, players can roll the dice by double clicking on the squares representing the dice or by using the corresponding menu entry or toolbar icon (if the toolbar is visible and rolling has been included in the toolbar).

If they own the cube, players can double the cube by either double clicking on the square representing the cube or by using the corresponding menu entry or toolbar icon (if the toolbar is visible and the cube has been included in the toolbar).

If it is their turn to move, players can move checkers by clicking on them and moving the mouse pointer to the desired location (while holding the mouse button continuously pressed). This is called dragging the checker. Depending on the selection made in the current engine's configuration, the move will be finished once the maximum number of checkers has been moved (this may be anywhere between 1 and 4 checkers, although it will usually be 2 checkers).

In addition to dragging the checkers, the board offers a feature called short move feature. If this has been enabled in the board's configuration menu, checkers can be moved by simply clicking on them. The board will then automatically make the shortest move possible away from the current field. If the short move feature is enabled, it may be set to single or double click. This option is very useful for users of touchpads that are sometimes difficult to use for dragging.

Finally, the board has a certain smartness: it will only accept moves that are allowed (based on the current dice). While the offline engine allows this to be switched off (for the Edit Mode), this is usually very helpful for unexperienced users (and advanced players will probably never notice this). This featue can also be used to cancel a move in progress: just drop it over an illegal field.

KDE Logo
Chapter 3. Backgammon Engines

Backgammon Engines

Chapter 3. Backgammon Engines

KBackgammon is built around the backgammon board, which doesn't know anything about how to play backgammon. The whole infrastructure (rolling the dice, etc.) that allows backgammon games is handled by backgammon engines.

The Offline Engine

The offline engine allows you to play against yourself, or probably more fun, another person sitting with you.

The FIBS Engine

The FIBS Engine

The FIBS Engine

FIBS is the “First Internet Backgammon Server”, a 24-hour international online community of backgammon players of all ages and experience from Beginner to Experts.

As well as playing the game, FIBS allows you to save games, chat with other players, and has a complex rating system.

There is also a large website well worth some of your time, if you are a backgammon fan.

KDE Logo
The GNU Backgammon Engine

The GNU Backgammon Engine

The GNU Backgammon Engine

The GNUbg engine does not yet exist (although it already has an entry in the Engine menu). Therefore, the remainder of this section should be taken with a grain of salt.

Use of the GNUbg engine requires a working installation of the actual GNUbg program. KBackgammon then starts GNUbg in the background and communicates with it. All this is transparent to the user (i.e. it is hidden from the user) and all interaction with GNUbg is through the GUI elements of KBackgammon.

If there are other enhancements that can help using GNUbg from KBackgammon, please contact the author of KBackgammon (or better: send a patch). Some of the more advanced features will probably be position analysis and save/restore functions. However, playing is the most pressing issue.

The one thing that will never happen is a combination of the GNUbg and the FIBS engine! Using computer programs to enhance user ratings is cheating!

KDE Logo
KDE Logo
Chapter 4. Game options

Game options

Chapter 4. Game options

The options to KBackgammon are set by selecting Settings->Configure KBackgammon... from the menubar. This will bring up a dialog box.

KDE Logo
Chapter 5. Commands/Keyboard Shortcuts

Commands/Keyboard Shortcuts

Chapter 5. Commands/Keyboard Shortcuts

The following sections briefly describe each menubar option.

File Menu

Game->New Game (Ctrl+N)

Start a new game

Game->Load Game (Ctrl+O)

Load a previously saved game.

Game->Save Game (Ctrl+S)

Save a game so you can finish or replay it later.

Game->Print... (Ctrl+P)

Print a picture of the board.

Game->Quit (Ctrl+Q)

Quit and close KBackgammon

Move Menu

Move Menu

Move Menu

Move->Engine

Choose from the various game engines here.

Move->Undo (Ctrl+Z)

Undo the last move you made.

Move->Redo (Ctrl+Shift+Z)

If you have previously undone a move, you can redo it here.

Move->Redisplay

Redraw the board.

Move->Roll Dice

As you may expect, roll the dice.

Move->Done Moving

Let the other player know you have finished moving.

Move->Double Cube

KDE Logo
Command Menu

Command Menu

Command Menu

Information missing...

Command->New Game

Command->Edit Mode

Command->Swap Colors

KDE Logo
Settings Menu

Settings Menu

Settings Menu

Settings->Show Menubar (Ctrl+M)

Toggle on and off the menubar.

Settings->Show Toolbar

Toggle on and off the toolbar

Settings->Show Command Line

Toggle on and off the Command Line.

KDE Logo
Help Menu

Help Menu

Help Menu

Help->Contents... (F1)

Invokes the KDE Help system starting at the KBackgammon help pages. (this document).

Help->What's This? (Shift+F1)

Changes the mouse cursor to a combination arrow and question mark. Clicking on items within KBackgammon will open a help window (if one exists for the particular item) explaining the item's function.

Help->Report Bug...

Opens the Bug report dialog where you can report a bug or request a ‘wishlist’ feature.

Help->About KBackgammon

This will display version and author information.

Help->About KDE

This displays the KDE version and other basic information.

KDE Logo
Default Key Bindings

Default Key Bindings

Default Key Bindings

The following tables show you the default key bindings of KBackgammon.

Table 5.1. Key bindings

Key ComboAction
Ctrl+PPrint Game
Ctrl+QQuit KBackgammon
F1Help Contents
Shift+F1Whats This Help
Ctrl+ZUndo move
Shift+Ctrl+ZRedo previously undone move

These key bindings can be changed by selecting Settings->Configure Key Bindings from the menubar.

KDE Logo
KDE Logo
Chapter 6. Credits and License

Credits and License

Chapter 6. Credits and License

KBackgammon

Program copyright 1999-2000 Jens Hoefkens <jens@hoefkens.com>

Documentation copyright 2000 Jens Hoefkens <jens@hoefkens.com>

This documentation is licensed under the terms of the GNU Free Documentation License.

This program is licensed under the terms of the GNU General Public License.

KDE Logo
Appendix A. Installation

Installation

Appendix A. Installation

How to obtain KBackgammon

KBackgammon is part of the KDE project http://www.kde.org/.

KBackgammon can be found in the kdegames package on ftp://ftp.kde.org/pub/kde/, the main FTP site of the KDE project.

The home page of KBackgammon is located at http://backgammon.sourceforge.net. It will usually contain the most up-to-date informationon the program available.

Compilation and Installation

Compilation and Installation

Compilation and Installation

In order to compile and install KBackgammon on your system, type the following in the base directory of the KBackgammon distribution:

% ./configure
% make
% make install

Since KBackgammon uses autoconf and automake you should have no trouble compiling it. Should you run into problems please report them to the KDE mailing lists.

KDE Logo
KDE Logo
KDE Logo