]> Four Wins Martin Heni
&Martin.Heni.mail;
19952002 &Martin.Heni; &FDLNotice; 2006-06-17 1.1.0 &k4wins; is a four-in-a-row game for &kde;. KDE tdegames game board board game four wins four four in a row win4 twin4 connect four connect 4
Overview Four wins is a game for two players. Each player is represented by a color (yellow and red). The goal of the game is to get four connected pieces of your color into a row, column or any diagonal. This is done by placing one of your pieces into any of the seven columns. A piece will begin to fill a column from the bottom, &ie; it will fall down until it reaches the ground level or another stone. After a move is done it is the turn of the other player. This is repeated until the game is over, which is when one of the players has four pieces in a row, column or diagonal or no more moves are possible because the board is filled. Rules The board is separated into three regions. The game board is constructed out of 7x6 fields which will be filled from bottom to top. The fields are marked in the color of the player who made the current move. On top of each column a colored arrow shows were the last piece had been put. The status display shows which player color starts and which color is played by whom (player, computer, remote connection). It further shows the level of the computer opponent, the number of moves done as well as the computer calculated chance of winning. This chance is calculated only if the computer opponent makes a move. A positive number means that the player has an advantage, a negative number means that the computer thinks he is better. The table display shows the number of won, lost and drawn games is noted for both player. Also the number of aborted games (Brk) and the sum of games is shown. Remote connections It is possible to play the game over a network connection with another computer. One of the computers will act as game server. This one can determine who should play which color. You can configure the network options in the menu GameNetwork Configuration... There you also find a chat dialog box which allows you to speak with your friend. When a network connection is build you are asked to enter a remote host and a port. The port can usually just be left untouched, but if you know what you are doing replace it by another number, which has to be the same in both player games of course. The hostname should be the name of the remote host to which you are connecting. Only the client in the connection has to supply a hostname. It is often wise that the player behind a firewall chooses to be client as the firewall might not allow incoming connections. Menus <guimenu>Game</guimenu> Menu &Ctrl;N Game New Starts a new game. In a network game this option is only available for the network server. The network client will be automatically started by the server. &Ctrl;O Game Load... Loads a saved game. &Ctrl;S Game Save Saves the current game. &Ctrl;End Game End Game Aborts a running game. Game Network Configuration... Pops up a dialog for the network configuration. You can choose to be server or client. If you are server you can also choose what color the remote player should take over. If a network game is running you can also disconnect it in this menu. Game Network Chat... Pops up a chat widget which allows you to send messages to the other party. H Game Hint The computer will calculate the best possible move and mark it with a small circle on the board. How good the move is depends on the level of the computer. &Ctrl;Q Game Quit Quits the program. <guimenu>Edit</guimenu> Menu &Ctrl;Z Edit Undo Undo the last move. If the previous player is played by the computer two moves are taken back so that it is the player's turn again. &Ctrl;&Shift;Z Edit Redo Replay a move which had been undone. <guimenu>Settings</guimenu> Menu Settings Show Toolbar Toggle on and off the display of the toolbar. Settings Show Statusbar Toggle on and off the display of the status bar. Settings Configure Shortcuts... Open a dialog which lets you redefine all the keyboard shortcuts. Settings Configure Toolbars... Displays a &kde; standard dialog where you can configure the toolbar icons. Settings Configure &k4wins;... Displays the &k4wins; configuration dialog with these options: Starting Player Color: Determine which color player has the first move in the next game. Player Names: Change the names of the players. Yellow Plays With: Choose who should play for player 1 (yellow). It can be either Mouse or Keyboard, &ie; a local player using the mouse or keyboard as input device or Computer, &ie; the computer plays for this player. Red Plays With: Same as Yellow Playes With but for player 2 (red). Computer Difficulty: Select the level of the computer player. <guimenuitem>Help</guimenuitem> Menu &help.menu.documentation; Credits and License &k4wins; Program copyright 1995-2002 &Martin.Heni; &Martin.Heni.mail; Documentation copyright 2002 &Martin.Heni; &Martin.Heni.mail; &underFDL; &underGPL; Installation How to obtain &k4wins; &install.intro.documentation; Compilation and Installation &install.compile.documentation; &documentation.index;