fixed spacing and added some comments. (was double tabbed and too clustered)
added a new window where the user/player can select a bet amount. Also gave the player the proper attributes to maintain currency along with the proper methods required.
added a new window where the user/player can select a bet amount. Also gave the player the proper attributes to maintain currency along with the proper methods required.
added get method for player's money
fixed return type for getter getMoney()
added helper method updateMoney() and added display of players' money on hand
fixed display of money on hand. minor bugs left
fixed a currency update bug, working now! Just need to add money to the winning player's total
added overloaded method updateMoney(int pot) to update the winner's total money
fixed updateMoney(int pot, int player). fully functional now! Adds pot to the winner's total money properly.
added a bunch of comments and cleaned the code so it is easier to read
added getNumberOfCards() method and set default numberOfCards value to 2
fixed minor bug and fixed return type for getNumberOfCards()
added a new winning condition that was missing from the game. 5 card charlie is another way of winning (blackjack still holds the most value)
added necessary methods and attributes to keep track of number of cards, reset number of cards, etc so the new winning condition '5 card charlie' could be implemented
updated and fixed bugs
updated author names and version
cleaned up the GUI. centered some of the widgets and the windows.. there's still stuff to fix/enhance
fixed up some more GUI and made the widgets alligned/centered and the windows packed to remove excess space.
Made some 'major' improvements on GUI and fixed a bug that was incorrectly adding JLabel images to the panel. Also formatted the way player information and cards are displayed as well as further centering and aligning widgets, displaying the player's actions, etc.