Learn to Code
John F. Dumas
contact me | resume | how it works | example programs | testimonials | main page

Javascript - Poker


► Problem Description: Write a javascript program that randomly deals out four five-card hands of poker to four players. Have the program analyze the hands and determine the winner (or winners, if there is a tie).


► Program:

Player One:

Jack O'Neill
         

Player Two:

Samantha Carter
         

Player Three:

Daniel Jackson
         

Player Four:

Teal'c
         



► Source Code

All source files (zip file)


Back to Example Program Index


© John F. Dumas | johnfdumas@gmail.com | main page | top of page