chuckles1066
Banned
- Joined
- Dec 20, 2004
- Messages
- 372
I'm writing one via VBA and have been working through an algorithm to calculate a hand's strength and, accordingly, ascertain a bid for that hand.
I've got my routine to deal cards to each player so now it's time to examine the cards and make a bid.
Spades brief tutorial for those not in the know:
For the purposes of this exercise, there are two teams of partners (i.e four players) each dealt 13 cards. Spades are trump cards but can only be led when you have no suit of the lead deal.
(So a play of Queen of Diamonds, Jack of Diamonds, Ace of Diamonds, 2 of Spades sees the 2 of Spades take the trick).
Maximum bid is obviously 13, minimum bid is 0.
How would you go about calculating the strength of a hand?
I am developing my own algorithm which is slowly getting there but I'd appreciate any guidance or thoughts from those wiser than I.
After all, once I've got this game up and running, I'll release it to all and sundry
I've got my routine to deal cards to each player so now it's time to examine the cards and make a bid.
Spades brief tutorial for those not in the know:
For the purposes of this exercise, there are two teams of partners (i.e four players) each dealt 13 cards. Spades are trump cards but can only be led when you have no suit of the lead deal.
(So a play of Queen of Diamonds, Jack of Diamonds, Ace of Diamonds, 2 of Spades sees the 2 of Spades take the trick).
Maximum bid is obviously 13, minimum bid is 0.
How would you go about calculating the strength of a hand?
I am developing my own algorithm which is slowly getting there but I'd appreciate any guidance or thoughts from those wiser than I.
After all, once I've got this game up and running, I'll release it to all and sundry