Open Side Menu Go to the Top

05-17-2012 , 10:16 PM
I want to make a simple java program that will:
1) randomly select a set of pocket pairs from an array
2) Build a question like "Do you [raise/call/fold] [AcQc] in [early/middle/late] position?
3) Evaluate the question by comparing the selected PP to elements of the EarlyArray/MiddleArray/LateArray

I am very new to Java and I studied it almost a year ago, so I will have to relearn some things, but I wanted to build something. This should be easy enough for a beginner, right? Are there other things I should consider? I expect to make this in one class. In the future I would make it into a GUI, just because I have little "real" experience with GUI's.

Thanks in advance.

Last edited by farmerdd; 05-17-2012 at 10:27 PM.
Beginner Java Project For Pocket Pair Evaluation Quote
Beginner Java Project For Pocket Pair Evaluation
150% up to $2,000 Welcome Bonus on CoinPoker
Join the action now
Daily Rewards ? Splash Pots ? CoinRaces
Beginner Java Project For Pocket Pair Evaluation
05-19-2012 , 01:24 AM
"I expect to make this in one class."

NO, force yourself to use/learn design patterns/OOP/OOD on this project.
Beginner Java Project For Pocket Pair Evaluation Quote
05-20-2012 , 03:58 PM
Quote:
This should be easy enough for a beginner, right?
It's a simple project yes.

Quote:
Are there other things I should consider?
There's a billion things to consider. The most important I think is what data structures are best suited for your task to make your code readable and easy to maintain. Your program is not going to be CPU intensive no matter how bad you botch it with as few possibilities as there are to preflop play. Off the top of my head, you might want to consider future features such as moving away from true and false scoring to assigning different values based on how right or how wrong it is. Raising 76o and calling 72o UTG are generally both wrong, but one is a lot more wrong in most games for example.
Beginner Java Project For Pocket Pair Evaluation Quote
05-20-2012 , 07:59 PM
Yeah I dont think the actual programming will be hard but deciding what to program will be the hard part.
Beginner Java Project For Pocket Pair Evaluation Quote
05-22-2012 , 10:50 AM
Quote:
Originally Posted by HypersionSD
"I expect to make this in one class."

NO, force yourself to use/learn design patterns/OOP/OOD on this project.
Statements like this annoyed me when I was learning java. He's clearly stating that he's a beginner and wants to complete a beginner level project but apparently that's not good enough?
Beginner Java Project For Pocket Pair Evaluation Quote
05-22-2012 , 02:59 PM
Quote:
Originally Posted by NMcNasty
Statements like this annoyed me when I was learning java. He's clearly stating that he's a beginner and wants to complete a beginner level project but apparently that's not good enough?
Ok, maybe not design patterns but at least use difference classes and objects. Don't just write procedure code with 10,000 COL main method.
Beginner Java Project For Pocket Pair Evaluation Quote
05-22-2012 , 07:58 PM
Quote:
Originally Posted by HypersionSD
Ok, maybe not design patterns but at least use difference classes and objects. Don't just write procedure code with 10,000 COL main method.
You should have seen how many lines my first blackjack console program was xD actually you can its in this forum somehwere. point is you have to start somewhere imo
Beginner Java Project For Pocket Pair Evaluation Quote
Beginner Java Project For Pocket Pair Evaluation
150% up to $2,000 Welcome Bonus on CoinPoker
Join the action now
Daily Rewards ? Splash Pots ? CoinRaces
Beginner Java Project For Pocket Pair Evaluation

      
m