Thursday, July 17, 2014

robot strategy in spades has been reworked

Tom Servo says "want to play a game of Spades?"
In June, I took a stab at improving the robot strategy in the game of Spades.

I've taken more time to revamp the Spades bots, and those changes were deployed this morning. Both bidding, and choosing a card to play, have been substantially reworked. The bots are still far from perfect - there are some subtleties in Spades that I haven't handled, but I will eventually get to them. For now, I think that their new behavior makes them better players in general, and better partners, too.

If anyone notices specific bad habits that linger on, I'd like to hear about it. Feel free to write me at marya@worldofcardgames.com or just post the issue in the comments section.

Sunday, July 6, 2014

facebook page

I've created a Facebook page for World of Card Games. Not really sure how useful it will be... but here it is!
https://www.facebook.com/WorldOfCardGames

For those who are into Twitter, I've also got an account there - https://twitter.com/WorldOfCardGamz

Saturday, June 28, 2014

game win/loss statistics

I recently got an email from a player who thinks it would be better if the "stats" area in World of Card Games did not show your Win Ratio. Their idea is that people are too concerned about their win/loss ratio, and this motivates them to quit games when they are losing. They thought that without this ratio being displayed, people would be less likely to quit.

What do you think? Should I get rid of the Win Ratio under the stats area?

Monday, June 16, 2014

improved bot strategy in spades!

It surprises me, but I've had only a few complaints about the bot strategy in Spades. I rarely play with bots, so their problems haven't bugged me too much, and I haven't been highly motivated to fix them. However, when I do play, I've noticed one pretty obvious and irritating behavior: they tend to waste Kings. They'll play the King of clubs, for example, before the Ace of clubs has been played. This is a good way to lose the trick! With today's deploy, this bug is fixed.

In addition, someone mentioned to me that the bots sometimes bid nil when they are holding 5 spades! You will find various sites that recommend you not bid nil with 4 or more spades in your hand (e.g. sky_rockets1's page or the Rules of Spades site). This problem has been fixed as well.

I am far from finished with the bots. More improvements will be coming, when I have the time for it.
let's hope he's smiling because he got the bid right!

Thursday, June 12, 2014

twenty-nine bug fix

A couple of players pointed out to me that there was a bug in the game Twenty-Nine: after the first hand of cards was finished, bids no longer showed up in each player's nameplate. This made it harder to choose a suit because people weren't sure who had bid what... especially if they came into a game in progress.

This is now fixed. I've also added a little bit of information about the previous bid history. If a player has made at least two bids, their previous bid will show in parentheses. See the screenshot below:

twenty-nine: the previous bid shows in parentheses
In this scenario, you are Guest #89. You previously bid 15, and most recently bid 18. Guest #77 previously bid 16 but their current bid is 19. The dealer has only bid once; their initial bid was 17. HAL 9000 has passed twice in a row.

I hope this change helps to make the game more fun! Please let me know if you spot any more problems.

Wednesday, April 30, 2014

spades card game strategy - never trump your partner?

Last night, I attended another live, in-person card game session. We started out to play Spades. It turned out that my partner was new to the game, so it was decided to play a few rounds open-handed, so we could explain the rules and a bit of strategy. This turned out to be an interesting exercise.
Spades game, first hand, East leads. I'm playing the King and the Ace is still out there.
The initial hand is shown in the photo above. The dealer is North. I am South, and I bid 2. I did this despite the fact that I had a fairly strong set of spades. My thought process went like this in developing my bid:

  • I have a lot of clubs, almost 50% of the clubs at the table. I can't count on the King of clubs winning a trick; it will very likely be trumped. So I won't include that in my bid.
  • My diamond and hearts cards are useless.
  • I may not be able to create a void very early in the game. I felt uncomfortable assuming that my one of my high spades would not be trumped by the Ace at some point.
  • My best bet seemed to be aiming low, and dumping a couple high cards where possible. I figured that with a bid of 2, I might wind up with one bag if I took tricks with all of my spades cards. I thought that I'd pretty easily be able to dump the King of clubs.
Notice the total of all bids is 9! That leaves 4 bags on the table. After all bids were made, I was sure I'd make my bid, and definitely did not want to take a trick with the King of clubs.

The game started with East playing the 4 of clubs. With this play, it seemed unlikely to me that East was holding the Ace of clubs. I figured the Ace must be held by West or by my partner, North.

Whoever had the Ace was probably counting on using it to take a trick. I decided I would dump my King now. If my West opponent had the Ace, they would probably feel compelled to use it in order to make their bid. If my partner had the Ace, they would surely play it even though it meant trumping me. Anyone who plays a King in the first round must know that it will very likely be taken. My partner should realize that I knew that, and that I must be trying to dump my King. Especially seeing how many bags were at the table, it should be clear I was trying to get rid of a high card which might lead to a bag.

It turned out that my partner was holding the Ace of clubs. Since we were playing open-handed, my opponents both advised my partner not to trump me ("never trump your partner")... when in fact I wanted that to happen!

When I explained to the table my reasoning for playing the King, both of my opponents disagreed. They told me that if they were my partner, they would never overtrump me if they had the Ace - instead they would let me take the trick (in this case, this would likely lead to me earning at least one bag).

This kind of surprised me. In Spades, when there are so many bags on the table, it makes more sense to try to load the other team with all the bags, rather than to try to set them. So, I would try to take as few tricks as possible. I would assume my partner was aware that playing a King when the Ace has not yet been played would almost certainly lead to it being taken, and would therefore feel no need to refrain from trumping the King.

I am curious to know what other people think ... Do you just never trump your partner unless you have no choice? Or do you sometimes trump when it seems clear that they haven't planned on taking the trick?

Sunday, April 20, 2014

server update

The server was just down for a couple minutes, to deploy a bug fix. A few people reported that they were getting sent to tables that were "frozen." This should now be fixed... many thanks to the people who reported this issue!