This is an implementation of a small Poker game I got as a coding project. I was asked to do it in Java. Not having been exposed to Java before, I picked it up in about an hour and got to coding this. This is the first Java program I've ever written, so I'm not expecting it to be perfect. To anyone reading this: Please let me know if there is anything I could improve upon in the future.
I didn't have a chance to write an evaluate function to evaluate players' hands after all cards have been dealt, but I've included the pseudocode for how I would go about finding the winning hand. All other useful functions that I could think of have been implemented.
I've tested this on Mac OS X - Version 10.6.6 using javac v1.6.0_22.
To run this small application, simply run the following commands:
javac Game.java
java Game
It should run immediately after.