Poker-AI.org

Poker AI and Botting Discussion Forum
It is currently Mon Nov 13, 2023 12:29 pm

All times are UTC




Post new topic Reply to topic  [ 4 posts ] 
Author Message
PostPosted: Sun Feb 22, 2015 1:38 pm 
Offline
Junior Member

Joined: Sun Feb 22, 2015 6:29 am
Posts: 11
Location: 90712
i downloaded the pokerai.zip and made an eclipse project. i included the meerkat-api.jar.

but there are some compiler errors (please see below).

any pointers will be appreciated.

thanks

The method ordinal() is undefined for the type Card PerformanceTest.java /handevaluators/src/pokerai/game/eval line 243 Java Problem
The import pokerai.game.eval.hammer.stevebrecher cannot be resolved ValidityTest.java /handevaluators/src/pokerai/game/eval/hammer/tests line 3 Java HandEval cannot be resolved ValidityTest.java /handevaluators/src/pokerai/game/eval/hammer/tests line 39 Java Problem


Top
 Profile  
 
PostPosted: Sun Feb 22, 2015 3:40 pm 
Offline
Site Admin
User avatar

Joined: Sun Feb 24, 2013 9:39 pm
Posts: 642
I just downloaded the code from download/file.php?id=1 and can see quite plainly that the following statement is not true.

The method ordinal() is undefined for the type Card

..and I don't even see pokerai.game.eval.hammer.stevebrecher

I have very limited time and patience for hand holding of this nature. If you can't resolve problems like this you don't have a hope of writing a poker bot.


Top
 Profile  
 
PostPosted: Mon Feb 23, 2015 1:00 am 
Offline
Junior Member

Joined: Sun Feb 22, 2015 6:29 am
Posts: 11
Location: 90712
rtayek wrote:
i downloaded the pokerai.zip and made an eclipse project. i included the meerkat-api.jar.

but there are some compiler errors (please see below). ...

The method ordinal() is undefined for the type Card ...
The import pokerai.game.eval.hammer.stevebrecher cannot be resolved


package pokerai.game.eval.hammer.tests;

//import pokerai.game.eval.hammer.stevebrecher.HandEval;
import pokerai.game.eval.stevebrecher.HandEval; // inserting this line helps

thanks


Top
 Profile  
 
PostPosted: Mon Feb 23, 2015 1:42 am 
Offline
Junior Member

Joined: Sun Feb 22, 2015 6:29 am
Posts: 11
Location: 90712
rtayek wrote:
...
//import pokerai.game.eval.hammer.stevebrecher.HandEval;
import pokerai.game.eval.stevebrecher.HandEval; // inserting this line helps

thanks


commenting out the call to ordinal() fixes the rest.

thanks


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
cron
Powered by phpBB® Forum Software © phpBB Group