![]() | The Kenolaba Handbook |
| Next |
Copyright © 2001 Philip Rodrigues
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".
Kenolaba is a simple board strategy game that is played by two players.
Table of Contents
![]() | Introduction |
| Prev | Next |
Kenolaba is a simple board strategy game that is played by two players. There are red and yellow pieces for each player. Beginning from a position where each player has 14 pieces, moves are drawn until one player has pushed 6 of his opponent's pieces out of the board.
The original program was developed in 1993 for DOS and pure Xlib. For KDE there was a major rewrite.
If you know the board game called Abalone, you will like this program. In fact, this program was inspired by the mentioned game. Abalone is a trademark of Abalone SA, France.
| Prev | Home | Next |
| The Kenolaba Handbook | Up | Rules of the Game |
![]() | Rules of the Game |
| Prev | Next |
Red always moves first.
Two types of moves are allowed:
One, two or three of your pieces in a row can be moved by one space in the 6 directions. Side moves are also allowed.
Press the left mouse button on the first piece you want to move. The piece will then be highlighted. Now drag the mouse in the desired direction. If the move is valid, the cursor will change to an arrow in that direction and all the pieces of the move will be highlighted. If this is the move you want to draw, release the mouse button.
Side moves are handled another way: For two adjacent pieces click between them and drag; for three pieces press the middle mouse button on the middle piece - if a side move is allowed for the pieces they will be highlighted. Otherwise only the middle one is highlighted and you draw a normal move.
You can push a maximum of two pieces of the opponent in front of your own pieces as long as the number of pieces you move is greater than the number of the opponent's pieces that you push. That means with three of your pieces you can push one or two of the opponent's and with two pieces one.
Special pushing moves are those which push a piece of the opponent out of the board. If you have pushed six of your opponent's pieces out of the board you have won.
If you still do not know what Kenolaba is all about, look at a game where the computer plays both sides. After starting Kenolaba, select Settings->Computer Play->Both and start a new game.
| Prev | Home | Next |
| Introduction | Up | Network Play |
![]() | Network Play |
| Prev | Next |
Kenolaba supports playing across a network. This allows two people to play against each other on different computers, or one person to observe the game play of another Kenolaba program. To use Kenolaba's network features, Kenolaba must be set to Network Mode by selecting Game->Network Play.
All running Kenolaba programs which are in Network Mode broadcast changed positions to each other.
To exchange positions, the Kenolaba programs have to be told about each other. If they are running on the same machine, nothing is needed (apart from switching to Network Mode). If running on different computers you have to specify the other's machine on the command line with the -h switch, as so:
%kenolaba -h SomeHostName
For insiders: Kenolaba, when in Network Mode, listens on a TCP socket for position change commands by other Kenolaba programs. You can specify the port number with the -p command line switch. You need this if you want to play two different Kenolaba Network games.
Chris on machine1 and Mary on machine2 want to play against each other: Mary simply starts Kenolaba, sets Options->Computer plays to None and switches to Network Mode. Chris starts Kenolaba with
%kenolaba -h machine2and then does the same as Mary. Now one of the two can start the game and draw a red move. Each time the position is changed in one program, it automatically changes in the other one too.
John wants to observe the game: He does the same as Chris, but doesn't draw a move himself.
Two different Kenolaba Network Games will run among machines m1 and m2. To distinguish the games, we choose port number 12345 for one. On m1 we start as usual:
%kenolaba
for the first game, and (not so usual):
%kenolaba -p 12345for the second. On m2 we start the first game with:
%kenolaba -h m1and the second with:
%kenolaba -h m1:12345(The colon separates host and port as in a URL).
| Prev | Home | Next |
| Rules of the Game | Up | Advanced Options |
![]() | Advanced Options |
| Prev | Next |
You can edit the current board position by selecting Edit->Modify to put Kenolaba in Modify Mode.You can add red or yellow pieces or delete them. The status line shows the number of red and yellow pieces, the move number, the side which is to draw the next move, and whether the position is valid: An exclamation sign means no, a checked symbol yes.
If the position is invalid and you switch back to normal Play Mode, you can't play! Only valid positions can be used as a starting position for a game.
Move->Take backand Move->Forward simply decrement and increment the move number, but don't change any pieces.
By pressing the left or right mouse button on an empty or yellow field, you enter “Red piece Adding” mode. By pressing the middle button on an empty or red field, you enter “Yellow piece Adding” mode. Finally by pressing the left or the right mouse button on a red piece, or the middle mouse button on an yellow piece, you enter “Piece Deleting” Mode. Any piece that the mouse passes over with the button pressed will be deleted.
To exit Modify Mode and re-enter Play Mode, just uncheck Modify in the Edit menu.
The current Kenolaba board can be copied to the clipboard using the Copy command in the Edit menu, and then pasted back in using Paste. This way you can copy the board positions of one Kenolaba program to another by pressing Copy in one program and Paste in the other, but this is better done with Network Mode (see above). Another usage is to save positions into a text file (using Copy and your Editor of choice) and retrieve a position later by selecting it in the editor and pasting in Kenolaba.
![]() | Computer Level |
| Prev | Advanced Options | Next |
The computer can play at four different levels, namely:
Easy
Normal
Hard
Challenge
The harder the setting, the longer the computer searches for a move. You can interrupt the search by pressing the S key.
| Prev | Home | Next |
| Advanced Options | Up | Spying |
![]() | Spying |
| Prev | Advanced Options | Next |
“Spying” can be turned on and off from the Settings menu, and the Spy option. If it is your turn, you can see the computer's rating of the move you want to play in the status bar. If it's the computer's turn you can see (in status bar and highlighted pieces) the move he actually thinks is the best to play. Of course this changes along his search.
| Prev | Home | Next |
| Computer Level | Up | Selecting what color the computer plays |
![]() | Selecting what color the computer plays |
| Prev | Advanced Options | Next |
You can make the computer play Red, Yellow or both sides. Choose between these options before starting a new game. Of course it works in a game too if you want to change sides. Choose None to play against another human. This is very useful in Network Mode.
| Prev | Home | Next |
| Spying | Up | Advanced Configuration |
| Prev | Home | Next |
| Network Play | Up | Computer Level |
![]() | Advanced Configuration |
| Prev | Next |
Kenolaba offers advanced configuration options for the daring, enabling you to change the whole scoring system if you wish. To access these advanced options, select Settings->Configure Kenolaba.... As you change settings, the score that your modified settings give for the current move is displayed at the bottom of the dialog, next to Evaluation of actual Position.
The number of points added to the total for each type of move can be modified here, depending on the type of move, and how many pieces are involved. The moves are divided into three types:
A normal move is one in which you move one or more pieces of your own, but do not push any of your opponent's pieces.
A push move is one in which you push one or more of your opponent's pieces, but they remain on the board.
A push out move is one in which you push one or more of your opponent's pieces off the board.
![]() | The Position Tab |
| Prev | Advanced Configuration | Next |
The number of points added to the total score for a board position is dependent on which ring on the board the pieces are on. For each ring, from the center out, an average score to add can be set, with a +/- range. The score given for a particular position is varied randomly within the +/- range. This is to stop computer-computer games going into an infinite loop.
| Prev | Home | Next |
| Advanced Configuration | Up | The In-A-Row Tab |
![]() | The In-A-Row Tab |
| Prev | Advanced Configuration | Next |
For each time the number of pieces in a row occurs, the given number of points
is added to the score, e.g.
adds the score for three in a row, and also two times the score for two in a row.
| Prev | Home | Next |
| The Position Tab | Up | The Count Tab |
![]() | The Count Tab |
| Prev | Advanced Configuration | Next |
Adds the given amount of points based on the difference in the number of balls on both sides, from 1 Ball more up to 5 Balls more. If there is a difference of 6 balls, the game is over.
| Prev | Home | Next |
| The In-A-Row Tab | Up | Menu Reference |
| Prev | Home | Next |
| Selecting what color the computer plays | Up | The Position Tab |
![]() | Menu Reference |
| Prev | Next |
Drawing moves is explained under Rules of the Game. The buttons in the toolbar have the same meaning as entries in the Game or Edit menu.
Starts a new game even if a game is currently in play.
If this toggle is switched on, the application is in Network Mode.
Quits Kenolaba.
![]() | The Edit Menu |
| Prev | Menu Reference | Next |
Copy a representation of the Kenolaba board to the clipboard
Interpret the content of the X clipboard as an ASCII representation of a Kenolaba board, and copy it to the current board. A valid ASCII representation is generated by Copy.
Switches Kenolaba to Modify Mode.
Save the actual position to be retrieved later with Edit->Restore Position.
Restore the board position stored in the Kenolaba Configuration file by Edit Save Position.
| Prev | Home | Next |
| Menu Reference | Up | The Move Menu |
![]() | The Move Menu |
| Prev | Menu Reference | Next |
A hint for your next move is shown. Only possible if you play at level normal or above, the move number is 2 or greater and you have not undone your move.
When the computer is thinking, his depth search is interrupted and he draws the best move he has found so far.
Take back your previous move. Two (!) moves are undone: the opponents move and your last move. So it's your turn again. 100 moves are remembered; so don't hesitate to take back moves until you are at the beginning of the game (faster with the F2 key). When in Modify mode (see Edit->Modify below), decrement move number of this position.
Only useful in Modify mode: Increment move number of this position.
| Prev | Home | Next |
| The Edit Menu | Up | The Settings Menu |
![]() | The Settings Menu |
| Prev | Menu Reference | Next |
Shows or hides the Kenolaba Menubar.
Shows or hides the Kenolaba Toolbar.
Shows or hides the Kenolaba Statusbar at the base of the screen.
Saves the current settings to become the default for Kenolaba.
Select the level that the computer plays at. Can be one of:
Easy
Normal
Hard
Challenge
Choose which colors the computer plays. Can be one of:
Red
Yellow
Both
None
A move drawn by the computer when this option is checked is shown by blinking and highlighting the pieces used in this move. Uncheck this option if you don't want to wait for this animation: Then only a quick highlighting is done.
If checked, the pieces are rendered online by an internal simple ray tracer when needed (e.g. when resizing the window).
If checked, turns on “spying”.
Brings up the standard KDE key bindings configuration dialog to customize the key bindings used by Kenolaba.
Brings up the standard KDE toolbar configuration dialog to customize the Kenolaba toolbar.
Brings up the Kenolaba configuration dialog to change Kenolaba settings. See Chapter 5.
| Prev | Home | Next |
| The Move Menu | Up | The Help Menu |
![]() | The Help Menu |
| Prev | Menu Reference | Next |
Invokes the KDE Help system starting at the Kenolaba help pages. (this document).
Changes the mouse cursor to a combination arrow and question mark. Clicking on items within Kenolaba will open a help window (if one exists for the particular item) explaining the item's function.
Opens the Bug report dialog where you can report a bug or request a “wishlist” feature.
This will display version and author information.
This displays the KDE version and other basic information.
| Prev | Home | Next |
| The Settings Menu | Up | Command line options |
| Prev | Home | Next |
| The Count Tab | Up | The Edit Menu |
![]() | Command line options |
| Prev | Next |
kenolaba [-pMyPortNumber] [-hhost:port]
With -p you specify the port number of the listening TCP socket when in Network Mode.
With -h you specify a remote Kenolaba process (with optional port number, when not using the default port on the remote machine) to communicate with when in Network mode. You can specify multiple remote processes.
| Prev | Home | Next |
| The Help Menu | Up | Credits & Licenses |
![]() | Credits & Licenses |
| Prev | Next |
Kenolaba
Program copyright 1997-2000 Josef Weidendorfer <Josef.Weidendorfer@in.tum.de>
Original Documentation by Robert Williams <rwilliams@kde.org> and Josef Weidendorfer
Documentation maintained by Philip Rodrigues <phil.rod@ntlworld.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.
| Prev | Home | Next |
| Command line options | Up | Installation |
![]() | Installation |
| Prev | Next |
Kenolaba is part of the KDE project http://www.kde.org/.
Kenolaba can be found in the kdegames package on ftp://ftp.kde.org/pub/kde/, the main FTP site of the KDE project.
![]() | Compilation and Installation |
| Prev | Installation |
In order to compile and install Kenolaba on your system, type the following in the base directory of the Kenolaba distribution:
% ./configure % make % make install
Since Kenolaba uses autoconf and automake you should have no trouble compiling it. Should you run into problems please report them to the KDE mailing lists.
| Prev | Home | |
| Installation | Up |
| Prev | Home | Next |
| Credits & Licenses | Up | Compilation and Installation |
| Next | ||
| Introduction |