Flylib.com

Books Software

 
 
 

Deal those Cards, Ace

Deal those Cards, Ace

If you find yourself with five cards in your hands, two of those cards being sevens and the other three being queens, and you call that a full house , you are my kind of person. We're talking poker, my friends , five-card stud and nothing wild.

The KDE games package comes with a nice poker game called KPoker (Figure 18-7; command name kpoker ) that features sound effects, animated cards, and configurable card fronts and backs (just click Settings on the menu bar and select Configure Carddecks). It's a great way to waste some time gambling without losing a fortune . The only downside is that you can't bluff the computer.

Figure 18-7. KPoker is fun. No bluffing.

graphics/18fig07.jpg

Almost anyone who has held a deck of cards knows about solitaire, a one-person card game whose object is to reorder seven piles of cards, drawn at random, into four ordered piles, by suit and in numerical order. You may also know it as patience (as I did, growing up). There are, in fact, many solitaire or patience card games; the most famous and popular is also known as Klondike .

KPatience (command name kpatience ) is more than just Klondike solitaire (Figure 18-8). Several games are included (click Settings on the menu bar and select Game Type), such as Freecell, Grandfather's Clock, Napoleon's Tomb, and others. As with KPoker, you can change the card styles for both the front and back. You can even change your background graphic.

Figure 18-8. KPatience has several games, including the classic solitaire.

graphics/18fig08.jpg

B-4. Miss . E-7. Hit!

What I find interesting is how many classic, low-tech games (you don't get much lower tech than playing cards) translate well to the computerized world. In the case of multiplayer board games, add a network connection and it all suddenly makes sense. You can play your favorite board games with the person sitting across from you or with someone halfway around the world. The following games can all be played on your local network or with friends in some distant part of the world.

A number of Linux games take full advantage of this capability, starting with KBattleship (command name kbattleship ). As you might expect, this is a KDE version of the popular game Battleship. You need two networked computers to play this one. One person runs a server (under the File menu), and the other connects to it.

The rules are simple. You arrange your ships on a grid. In this version, the grid has no numbers or letters to indicate position. When it is your turn to fire, you simply click on a square, where you have to try to sink the opponent 's ships. The game also has sound effects. A miss splashes into the water, whereas a hit explodes with the sound of the explosion.

One of the things I particularly enjoy about this game is the chat line. The bottom part of the game screen lets you send instant messages back and forth between yourself and your opponent (see Figure 18-9). Adding a little witty repartee to the game makes it even better.

Figure 18-9. Network naval warfare with KBattleship.

graphics/18fig09.jpg

Other network- playable games include KBackgammon (command name kbackgammon ) and Atlantik, a network-playable, real estate, Monopoly-like game. It too features a chat area so that you can play with others around the world. Then there's Tenes Empanadas Graciela , or TEG, a network-enabled clone of the Risk world conquest game. Unfortunately, that one isn't on your disk, but if world conquest appeals to you, visit http://teg. sourceforge .net and start building your empire.

Of course, one of the oldest and most popular board games in the world is chess. On your disks and perhaps already installed, you will almost certainly find xboard (and that is the command name). For the Mahjongg fans out there (the classic Eastern tile-matching game), there is a KDE version (command name kmahjongg ) and a GNOME version (command name mahjongg ).