Windows Azure Poker Probability Calculator Application

Over the last few weeks, I found some free time to play around with Windows Azure. Since PDC 2008, I’ve wanted to get hands on with Windows Azure to become even more knowledgeable and gain experience with Microsoft’s cloud stack.

Here you have it: My Windows Azure application at For those of you familiar with poker, you’ll hopefully enjoy it. It provides useful data on various poker scenarios. It’s really useful for anyone who plays poker.

Developing for Windows Azure was really straightforward. All I did was download the Windows Azure Developer Tools and SDK on my Windows 7 machine where I had Visual Web Developer 2008 Express Edition installed. Development was no different than developing a standard ASP.NET application. The Azure tools simulate a local environment so I can test it easily. After developing and testing on my local box, I published the application at I’m using my PDC 2008 CTP account with 2 web roles.

I spent most of my time on the actual algorithm to make it really fast and accurate. The Azure environment lends itself to applications that scale out. Because I can’t scale up the processor, and the environment ran slower than my local machine, I had to re-think the algorithm to take advantage of Azure computing. It was a fun exercise, and I’m happy with the results! The beauty of Windows Azure is I don’t have to manage the server, worry about it going down, I can scale out easily, etc. I just had to write code. I encourage you to play with Windows Azure as well when you find some free time.

Check it out for yourself! I know the UI isn’t great since I didn’t spend any time on it; I was more focused on the business logic. I hope to find some free time after a few months to develop a slick Silverlight UI to make this really interactive.

Comments (4)
  1. Gouri says:

    Doesn’t load properly on iPhone (3G S) Safari web browser. Looks like a good app, good job.

  2. Mat Steeples says:

    Had a quick play about with it. Very impressive. I can’t even imagine the maths that are behind it!

    I’m not sure if this is a bug because I don’t know what "Triples" are (I’m assuming 3 of a kind). If you put 4 hands in, each having Ace, King then it reckons there’s a 3.2% chance of a triple happening, which it can’t if there’s only 1 pack of cards.



  3. Arpan Shah says:

    It’s above zero because the board/community can get 3 other cards. 🙂 So it’s giving you the right info.

  4. Mat Steeples says:

    Ah of course! I’d forgotten all about what everyone could get. That would explain why I do so badly at poker!

Comments are closed.

Skip to main content