Poker Game
| | | "When it comes to taking chances, some people like to
play poker or shoot dice; other people prefer to
parachute jump, go rhino hunting, or climb ice floes,
while still others engage in crime or marriage. But I
like to get drunk and drive like a fool." - P. J. O'Rourke |
|
A poker game writen in JavaScript 1.2. It runs on both Internet Explorer 4+ and Netscape 4+ browsers, and it is tested with both of them.
The core of this Javascript implementation origates from converting an old C++ implementation of the author (since 1997) that has been now lost. The code is well factorized with classes (the JavaScript's prototype object model is similar to Self, an OO language developed in the 1980s), but does not use the new HTML DOM features, as it is written before complete DOM support was widely available in the browsers.
Poker can be a marvelous game, but it cannot be played alone. In this implementation the player plays against the computer. The game settings and difficulty are controlled by several parameters. In a real example, the pages where the game parameters are changed, or where the player credit is set, should be password protected. The demo configuration does not protect these pages. The demo requires JavaScript.

http://www.pvv.ntnu.no/~nsaa/poker.html - A good reference on poker probabilities and poker links.
http://www.pokerpages.com/pokerinfo/rank/index.htm - Poker hand ranks.
This web site has also a good history of poker in US.
The background image of the Poker game is taken from this site.
http://www.kimberg.com/poker/dictionary.html - Dan Poker Dictionary.
http://www.waste.org/~oxymoron/cards/ - The set of cards used in the Poker game comes from here. The 'b.gif' is modified and 'j.gif' is not distributed.
This program comes under GPL - GNU General Public License.

Poker Game |
|
| Version | Type | File | Size | Comment |
|---|
| 1.0.0 | source & binary | | ~90KB | The complete files of this program are available for free download bundled in a zip file. |