PHP Classes

Cards

Recommend this page to a friend!

      Poker Texas Hold'em Evaluation  >  All threads  >  Cards  >  (Un) Subscribe thread alerts  
Subject:Cards
Summary:Needed to rename image files
Messages:2
Author:Alex Chalmers
Date:2008-05-27 16:49:45
Update:2009-10-15 07:15:27
 

  1. Cards   Reply   Report abuse  
Picture of Alex Chalmers Alex Chalmers - 2008-05-27 16:49:45
Hi, nice class !
- install to Windows required ./ change to image directory.
- image files needed to be renamed to their suit

  2. Re: Cards   Reply   Report abuse  
Picture of rudie dirkx rudie dirkx - 2009-10-15 07:15:27 - In reply to message 1 from Alex Chalmers
Thanks Alex,

the Card class has a few methods that call specific image paths for images. Also, a constant image_path is available where you can define the image path with wildcards (__SHORT__, __NAME__, __SUIT__ and __CARD__).

I've made a new version of both the evaluation class and the cardgame classes, so if you're having problems with this one, let me know.