Hold'em type
Posted: Fri Jun 08, 2007 11:09 am
Sounds weird?
probably is, but never the less i was thinking that something like this:
Could probably be done alot smarter using template, typedef, or something simular. Only problem is that i never really have learned the how this stuff works.
Anywaym i was thinking if anyone could give me some pointers/hints or maybe even do it for me, i mean it shouldnt be alot of work.
Anyway ill be gratefull for any answer that doesnt aproach the subject that im a programmer of limited talents...
probably is, but never the less i was thinking that something like this:
Code: Select all
struct T {
struct Card {
char val:4;
char col:2;
};
Card Pocket[2];
Card Flop[3];
Card Turn;
Card River;
};
Anywaym i was thinking if anyone could give me some pointers/hints or maybe even do it for me, i mean it shouldnt be alot of work.
Anyway ill be gratefull for any answer that doesnt aproach the subject that im a programmer of limited talents...