Skip to content

marselzaripov/PokerGame

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

PokerGame

Java Poker Game //package pj4;

package PJ4; import java.util.*;

/*

  • Ref: http://en.wikipedia.org/wiki/Video_poker
  •  http://www.google.com/ig/directory?type=gadgets&url=www.labpixies.com/campaigns/videopoker/videopoker.xml
    
  • Short Description and Poker rules:
  • Video poker is also known as draw poker.
  • The dealer uses a 52-card deck, which is played fresh after each playerHand.
  • The player is dealt one five-card poker playerHand.
  • After the first draw, which is automatic, you may hold any of the cards and draw
  • again to replace the cards that you haven't chosen to hold.
  • Your cards are compared to a table of winning combinations.
  • The object is to get the best possible combination so that you earn the highest
  • payout on the bet you placed.
  • Winning Combinations
    1. Jacks or Better: a pair pays out only if the cards in the pair are Jacks,
  • Queens, Kings, or Aces. Lower pairs do not pay out.
    1. Two Pair: two sets of pairs of the same card denomination.
    1. Three of a Kind: three cards of the same denomination.
    1. Straight: five consecutive denomination cards of different suit.
    1. Flush: five non-consecutive denomination cards of the same suit.
    1. Full House: a set of three cards of the same denomination plus
  • a set of two cards of the same denomination.
    1. Four of a kind: four cards of the same denomination.
    1. Straight Flush: five consecutive denomination cards of the same suit.
    1. Royal Flush: five consecutive denomination cards of the same suit,
  • starting from 10 and ending with an ace

*/

About

PJ4 Java Poker Game CSC220

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published