• (2 Pages)
  • +
  • 1
  • 2

How to make a poker game in java creates, evaluates, and compares 5 card poker hands. Rate Topic: ***** 1 Votes

#16 nemacbgd  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 1
  • Joined: 10-January 14

Posted 10 January 2014 - 03:03 PM

In which program to run these codes? tried in Eclipse but fail to start the game, please help.
Was This Post Helpful? 0
  • +
  • -

#17 joezimmy54  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 4
  • Joined: 07-April 15

Posted 07 April 2015 - 11:52 AM

I dont no how to do the main code i used what was shown here but there are two other things in here as tests...do i add the other two as well or do i just use the one that says main....cuz my program is blowing up!
Was This Post Helpful? 0
  • +
  • -

#18 modi123_1  Icon User is online

  • Suitor #2
  • member icon



Reputation: 10615
  • View blog
  • Posts: 41,209
  • Joined: 12-June 08

Posted 07 April 2015 - 11:55 AM

The code seems straight forward. Three classes and a main to use the three classes. Perhaps start a help thread in the 'java' forum (to the right and *NOT* the tutorial section), post your code, and your errors so folks can help you out.
Was This Post Helpful? 0
  • +
  • -

#19 joezimmy54  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 4
  • Joined: 07-April 15

Posted 07 April 2015 - 11:59 AM

I have all three of the other classes written out all I am having troubles with is the main...I posted a screenshot of the main part from the code on here..is this the only part i need to use?

Attached image(s)

  • Attached Image

Was This Post Helpful? 0
  • +
  • -

#20 modi123_1  Icon User is online

  • Suitor #2
  • member icon



Reputation: 10615
  • View blog
  • Posts: 41,209
  • Joined: 12-June 08

Posted 07 April 2015 - 12:02 PM

I am not sure what the screen shot of the main code from this tutorial is for, but okay.

If your main uses the three classes then yes.. you'll need that code as well.

The tutorial walks through options code, and does a pretty good job explaining what goes where. Did you skim the tutorial, or just go to yoinking the code?
Was This Post Helpful? 0
  • +
  • -

#21 joezimmy54  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 4
  • Joined: 07-April 15

Posted 07 April 2015 - 12:10 PM

What i am asking is, is that code the only thing that needs to be in the "Main" part of the code?

And i read through it.
Was This Post Helpful? 0
  • +
  • -

#22 modi123_1  Icon User is online

  • Suitor #2
  • member icon



Reputation: 10615
  • View blog
  • Posts: 41,209
  • Joined: 12-June 08

Posted 07 April 2015 - 12:11 PM

What else are you expecting? The Main is just testing the object creation and hand comparison.
Was This Post Helpful? 0
  • +
  • -

#23 joezimmy54  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 4
  • Joined: 07-April 15

Posted 07 April 2015 - 12:12 PM

Alright thank you for the help.
Was This Post Helpful? 0
  • +
  • -

  • (2 Pages)
  • +
  • 1
  • 2