Doing OO card game

BlitzMax Forums/BlitzMax Beginners Area/Doing OO card game

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

I'm currently working on a video poker game. I use a card, hand, deck object. Each object has its own properties like card rank, color, value, etc. The deck object has a method for shuffling. It works very well for me and it's easy to deal to a hand, etc.

I also have an evaluator object that you can pass a hand object to. This evaluator object then updates the rank of the hand. Works very well for me.