# Are there statistic/probabilty applications specifically made for card game designers?

I am developing a card game that involves building out sequences of matching symbol pairs and also has a lose state for a (different set) of symbols that is hidden to the player. Trying to create an atmosphere of paranoia.

I want to be sure I'm balancing the deck to create probably winning and losing sequences and can code a bit - but I was wondering if any of you used a specific application to run probabilities? Mac OSX would be great.

-

## Are you up for a DIY Monte Carlo simulation?

I don't know of any specific applications, but if you're comfortable with coding I suggest you gin up a little Monte Carlo simulation.

In case you're not familiar with how that would work I'll explain (and can elaborate later if necessary):

1. Populate some sort of database or data structure with your cards.
2. Write a function that draws from this list at random and marks the card as drawn so it couldn't be re-sampled.
3. Write another function to evaluate the built-out sequence to evaluate win or loss
4. Wrap this core program with a loop that would play the game a huge number of times and generate statistics on the results (e.g. number of wins and losses, longest streak of consecutive wins and losses, etc.)

The first three steps are a simple computer implementation of your card game. The trick is to model everything that's important to the mechanic and nothing that's not (easier said than done right?)

That last part is the Monte Carlo simulation where you use brute force computation (yea for cheap comp cycles) to get a result instead of trying to calculate probabilities closed-form, which for even simple card and dice games is more math (and more error-prone math) than most people are comfortable with.

-
Adam - this is excellent advise. Thanks so very much – Gabriel Walsh Mar 3 '11 at 20:53