code for 3 card brag game
hi guys, im james and new to programming. I currently use bluej java as my programming language and due to my lack of coding experience i've been having a tough time recently trying to put the pieces together.
ive already got the three classes which are PackOfCards, Card and Card Display. My new class will obviously be ThreeCardBrag.
for this game though i intend to:
- draw a card for the computer.
- then draw a card for me when i press 1.
- ditto two more times so each of us has 3 cards.
- then whoever has the higher cards overall is the winner, so i need to make each card worth a number of points i.e. 2 of hearts = 2pts -> Ace of clubs = 12pts.
I am however struggling and despite large amounts of hours trying to code this with the help of research, i just keep ending back at square one, and its frustrating me.
Any help with my situation would be much appreciated, thankyou.
Re: code for 3 card brag game