New Projects - Fresh from the Labs
During this decade, Texas Hold'em rapidly has become one of the most popular variants of poker across the globe. Taking center stage in such films as Casino Royale and being the main feature in the World Series of Poker, Texas Hold'em is now the coolest game around. However, unless you want to use some kind of tacky on-line game, it's hard to find a sim that feels any good. Well, PokerTH steps up to the plate quite nicely indeed. According to its Web site: “PokerTH is a poker game written in C++/Qt4. You can play the popular Texas Hold'em poker variant against up to nine computer opponents or play network games with people all over the world. This poker engine is available for Linux, Windows and Mac OS.”
Installation
The PokerTH downloads page has a number of binary packages, and PokerTH also is included in a number of repositories. A distro-neutral binary package also is available as a tarball, along with a binary installer and source.
For those going with source, grab the latest tarball, extract it and open a terminal in the new folder. Chances are, you won't have all the needed libraries, so install the following as recommended by the PokerTH Web site:
Qt version >= 4.4.3, 4.5.1 recommended.
zlib version 1.2.3.
libcurl version >= 7.16.
gnutls (version 2.2.2).
libboost_thread, libboost_filesystem, libboost_datetime, libboost_program_options, libboost_iostreams, libboost_asio and libboost_regex (version >= 1.36, 1.38.0 recommended).
libSDL_mixer and libSDL.
I also had to install libqt4-dev. Once you have all the needed dependencies, enter the following commands:
$ qmake-qt4 pokerth.pro $ make $ sudo make install
When the installation is over, run PokerTH with this command:
$ pokerth
If you're lucky, it will be in your system's menu, and there also may be a new desktop icon.
Usage
The starting screen will have the options to start a local game, an Internet game, create a network game or join a network game. Obviously, you'll want to learn the game's interface before playing anyone else, so choose Start Local Game. A screen appears with a default number of players, starting cash, blind settings and game speed. Unless you really know what you're doing, stick with the given defaults.
I'm assuming you know the basics of Texas Hold'em here, but even if you don't, the game goes to some lengths to make the learning process fairly intuitive. As soon as you're in the actual game screen, you'll be right in the action with two cards dealt. Here you can bet for more cash on the table, check/call or fold. As soon as you make your choice, things move on to the next player and the round continues.
As the game moves on, more bets can be placed before everyone has called/checked, more cards are revealed, and the round finishes with someone winning the pot. Above the Raise, Call and Fold buttons is also the option to go all-in. The field with the numbers next to the All-In button with the slider below lets you adjust how much you want to bet/raise, rather than being stuck with the game's defaults.
A helpful feature for new players is that it actually displays what hands you should play for on the left, along with the terminology. On the right are some tabs with brilliant features.
The first tab contains a log of all that's happened so far. The second tab has what actions to choose when you're away from the computer. And best of all, the last tab has a dynamically updated chance section, telling the mathematical chance you have of getting each kind of hand.
This last feature is particularly of use for new players, because it tells what chance you have of getting the hand you're after, so you don't need to be a mathematical savant. This is great for getting a feel for the game and avoiding stupid errors. Once you've played for a while, the dynamics and mathematics of Texas Hold'em should start to come more intuitively.

Note the helpful guide of possible hands for new players on the left and a chance meter on the right.
Playing the computer becomes tedious after a while (the computer is all math and no instinct), and you'll be wanting to play some humans soon. Close the game, go back to the PokerTH main screen, and choose Internet Game. You'll be taken to a screen with lots of games from which to choose. Pick an open game that has a decent number of players, and when the host is ready to start, the game will proceed.

Playing on-line, you get a time limit and a chat window. Note the four color suits—great for avoiding mixups in quick situations like this.
The first major difference you'll notice between on-line play and local play is that a timer bar is applied in on-line mode, which takes care of tardy players. If you are going to be away from the computer for any amount of time, it's worth changing your settings in the Away tab on your right. An on-line chat tab also is available—great for a social game like poker. When you're ready to leave, press the Lobby button on the bottom-right corner. I'll let you work out the rest of the game from here.
It's definitely worth having a look at the game's Web site, where users have made a number of themes and additions. I find the default theme a little bland, but some other themes are quite snazzy. Some card themes have four different colors as well, which really helps you differentiate between suits quickly when it's midnight and you have a head full of whiskey!
I'm sure Texas Hold'em fans will love PokerTH. Its use of open protocols, such as IRC, should help its longevity, and its large fan base is testament to this (I've never once had trouble finding a game on-line). It's a great poker sim for newbies and veterans alike, and I highly recommend it.
John Knight is the New Projects columnist for Linux Journal.
Realizing the promise of Apache® Hadoop® requires the effective deployment of compute, memory, storage and networking to achieve optimal results. With its flexibility and multitude of options, it is easy to over or under provision the server infrastructure, resulting in poor performance and high TCO. Join us for an in depth, technical discussion with industry experts from leading Hadoop and server companies who will provide insights into the key considerations for designing and deploying an optimal Hadoop cluster.
Sponsored by AMD
Built-in forensics, incident response, and security with Red Hat Enterprise Linux 6
Every security policy provides guidance and requirements for ensuring adequate protection of information and data, as well as high-level technical and administrative security requirements for a system in a given environment. Traditionally, providing security for a system focuses on the confidentiality of the information on it. However, protecting the data integrity and system and data availability is just as important. For example, when processing United States intelligence information, there are three attributes that require protection: confidentiality, integrity, and availability.
Learn more about catching the bad guy in this free white paper.
Sponsored by DLT Solutions
| Designing Electronics with Linux | May 22, 2013 |
| Dynamic DNS—an Object Lesson in Problem Solving | May 21, 2013 |
| Using Salt Stack and Vagrant for Drupal Development | May 20, 2013 |
| Making Linux and Android Get Along (It's Not as Hard as It Sounds) | May 16, 2013 |
| Drupal Is a Framework: Why Everyone Needs to Understand This | May 15, 2013 |
| Home, My Backup Data Center | May 13, 2013 |
- Linux Systems Administrator
- Senior Perl Developer
- New Products
- Technical Support Rep
- UX Designer
- Web & UI Developer (JavaScript & j Query)
- Designing Electronics with Linux
- Dynamic DNS—an Object Lesson in Problem Solving
- Using Salt Stack and Vagrant for Drupal Development
- Making Linux and Android Get Along (It's Not as Hard as It Sounds)
Enter to Win an Adafruit Pi Cobbler Breakout Kit for Raspberry Pi

It's Raspberry Pi month at Linux Journal. Each week in May, Adafruit will be giving away a Pi-related prize to a lucky, randomly drawn LJ reader. Winners will be announced weekly.
Fill out the fields below to enter to win this week's prize-- a Pi Cobbler Breakout Kit for Raspberry Pi.
Congratulations to our winners so far:
- 5-8-13, Pi Starter Pack: Jack Davis
- 5-15-13, Pi Model B 512MB RAM: Patrick Dunn
- 5-21-13, Prototyping Pi Plate Kit: Philip Kirby
- Next winner announced on 5-27-13!
Featured Jobs
| Linux Systems Administrator | Houston and Austin, Texas | Host Gator |
| Senior Perl Developer | Austin, Texas | Host Gator |
| Technical Support Rep | Houston and Austin, Texas | Host Gator |
| UX Designer | Austin, Texas | Host Gator |
| Web & UI Developer (JavaScript & j Query) | Austin, Texas | Host Gator |
Free Webinar: Hadoop
How to Build an Optimal Hadoop Cluster to Store and Maintain Unlimited Amounts of Data Using Microservers
Realizing the promise of Apache® Hadoop® requires the effective deployment of compute, memory, storage and networking to achieve optimal results. With its flexibility and multitude of options, it is easy to over or under provision the server infrastructure, resulting in poor performance and high TCO. Join us for an in depth, technical discussion with industry experts from leading Hadoop and server companies who will provide insights into the key considerations for designing and deploying an optimal Hadoop cluster.
Some of key questions to be discussed are:
- What is the “typical” Hadoop cluster and what should be installed on the different machine types?
- Why should you consider the typical workload patterns when making your hardware decisions?
- Are all microservers created equal for Hadoop deployments?
- How do I plan for expansion if I require more compute, memory, storage or networking?





37 min 42 sec ago
5 hours 9 min ago
5 hours 9 min ago
7 hours 10 min ago
15 hours 55 min ago
16 hours 29 min ago
17 hours 28 min ago
18 hours 18 min ago
22 hours 20 min ago
1 day 2 hours ago