- The actual online Video Poker program . This script is pretty much standalone, in the sense that it creates all the video poker games on the fly, calculates the scores and winnings, etc.
- contains information on how to get started using the program. READ this before trying to install this!
Program Summary[Version 1.0.6 Released 10/12/2005]
SFEPoker lets you set up a simple, online video poker game on your
website. Basically, this has no purpose other than having fun and wasting time.
The game will deal you 5 cards, each of which you can elect to "Hold" or not.
The object is to score as highly as possible. (See the "Payouts" table in the
demo game for how many points you get for each set of cards.)
A few people have asked what a card game is doing on a site called "Scripts for Educators." :-) Believe it or not, there are some teachers who like using card games such as this to illustrate concepts such as probability, random chance, and even arithmetic skills.
In this program, we use a single "deck" of cards. On each game, the deck is created, then "shuffled" so that the cards are in a random order. The player's cards are dealt from the deck, and the rest of the deck is saved to deal other cards from.
General Rules of Video Poker
In video poker, the terminology is pretty much the same as in "regular" poker:
Royal Flush: An Ace, King, Queen, Jack, and 10 all of the same suit.
Straight Flush: Any 5 cards in sequence, all of the same suit. Note that if an Ace is involved in a "straight" of any kind, it must either be the lowest or highest card. King, Ace, 2, 3, 4 is not a valid straight, while Ace, 2, 3, 4, 5 is.
Four of a kind: Any four of the same value. E.g. four kings, four tens, etc.
Straight: Any 5 cards in sequence. E.g: 2, 3, 4, 5, 6 or 9, 10, Jack, Queen, King
Flush: Any 5 cards all of the same suit (e.g. all hearts or all clubs)
Full House: 3 cards of the same value, plus 2 cards of the same value. E.g: three 9's and two Jacks, or three King's and two 4's.
Three of a kind: Any 3 cards of the same value (E.g. three 4's or three Kings)
Two pair: Any two pairs of cards. (E.g. two 4's and two 7's or two Kings and two 9's)
Jacks or Better: This refers to a single pair of cards that are a pair of Jacks or higher. This includes Jacks, Queens, Kings, and Aces.
Warning: online video poker can be addictive, even a simple game like this. While I was writing it, I ended up playing for several hours. You wouldn't think a silly game like this would be able to trick you into playing poker all day, but sometimes it can. :-)
To view a working demo version of this program, please click here.
If you've gotten SFEPoker to work, send me the address of your
website and I'll post a link to it.
SFEPoker has only recently been released, so I only know of a couple of sites using using it! If you've gotten it to work on your site, drop me a line and I'll link to your video poker game here.
Whooooops! All the sites that were listed have either gone away or sold their sites to those search ad site places. :-) You can find a few examples of people using it with this Google search. This search will also show some links with "Ooooops! Configuration Error!" This is what happens if the script hasn't been configured correctly. If this happens to you, and you don't know how to fix it, remember, you can always ask me for help. :-)
Oh, here's one: MawDaw.com is using SFEPoker along with SFEBlackJack and SFEHangMan.
This script is NOT supported on the following web hosting providers:
Also, sorry, but the scripts are not supported under mod_perl, PerlEx, or speedy_cgi as I don't have any way to test them in that environment. :-(
You must be able to execute cgi programs on your web server. If
you're not sure whether you have permission to do this, or are not sure
how to configure the files, please ask your system administrator, or
check the web pages of your web hosting provider for Help or Support
information. For a free web hosting provider who supports CGI scripts, or
low-cost web hosting providers, you can try looking at
the "Some Places to Host
your Website" page I've put together.
The web server must support both the GET and POST request methods. (Ask your hosting provider about this if you're not sure.)
Please remember: you get what you pay for, and free web hosting services are often worth what you pay for them.
But first, the obligatory plea for funding. :-)
All the files you need are contained in these packages. Download it
in the format you wish. If you have MS Windows, there is a program called WinZip (available
at TuCows) which will
uncompress and de-archive tar/gz files as well as Zip files. The package contains the following files: After a major release, you may get one or two messages a week.
Mostly, though, I'm afraid it's less than once a month.
You may also sign up for announcements about other scripts on
main Scripts for Educators Mailing List page.
This list is ONLY for announcements specifically about SFEPoker:
(Scroll down if you don't want to read this part. You
do NOT have to give money to download these scripts!)
Like the scripts? Give me a dollar, or say thanks!
If you like the scripts, you can send me cash through PayPal, Amazon, or through snail mail or you can show your support in other ways. Remember: only about one out of 100 people who download the scripts even says "Thanks." :-)
On a Unix-type system, if you have console or command prompt access, you may unzip the tar.gz file by typing 'gunzip < sfepoker.tar.gz | tar -xvf -'. If you're not very familiar with Unix, you may want to ask someone who is to help you. The latest version of Stuffit for the Mac will also handle tar.gz files.
The program will send a confirmation message to your email address when you sign up. In order to get on the announcement list, you MUST click on the confirmation link contained in that email message. This is to protect you from someone signing you up as a joke, and to protect me from being accused of spamming. Since update announcements are sometimes few and far between, sometimes people forget that they've subscribed and report me for sending junk mail. Luckily, the system logs the address, time, and date of everyone who signs up so that I can prove I'm only sending to people who asked for it. :-)
All the files you need are contained in these packages. Download it in the format you wish.
If you have MS Windows, there is a program called WinZip (available at TuCows) which will uncompress and de-archive tar/gz files as well as Zip files.
The package contains the following files:
After a major release, you may get one or two messages a week. Mostly, though, I'm afraid it's less than once a month.
You may also sign up for announcements about other scripts on the main Scripts for Educators Mailing List page.
This list is ONLY for announcements specifically about SFEPoker: