I'm toying around with a Poker game, and, I have three problems...
1. Output from Apache log4j, is being returned multiple times rather than once. Also somehow I can't find a way of getting Eclipse 3.6.2 to read from log4j.properties.
2. I can't find a way to have the Player.toString() method loop through ArrayList
Player.CardSheld, and, validate whether the counter variable has reached its size, so I was thinking in terms of...
Somehow I am suspecting that the above for loop is the reason for my
Logger variable
_log creating the first issue, however I can't figure out how, and, how to go about it.
Output
So far I have tested that all the deck of 52
cards has been distributed to the 5 players so that no player has the same card and that players get different
cards, and, this is expected. The random shuffling is fine as well.
Log4j.properties