Dan Dixon

my works | programming
card game simulations

Two different programs that were written to answer a few questions about the length of various luck based card games.

War

The average game of war between two players with one deck is around 260 turns.

In the screenshot below, 706 games have been played. The shortest game was 20 turns, the longest 1521. The graph shows the number of cards each player controls over the course of the last 20 turns.

UNO

The average number of cards played per game of four players is about 55.

In the screenshot below, 4908 games have been played. The graph plots the number of cards played vs the number of games.