War revealed

Here we go… for those of you interested in War 1.0!

sourcecode
deckfile for 52 card game
deckfile for 54 card game

This version is using ROOT to plot the stats.
You have to have a proper ROOT setup to compile/run it.

Here are some example results.
setup: war -G 100000 -P 3 -C 54cards.crd -O war.root -R 1 -S 5
ROOT file
NTricks plot
Ndraws plot
Nwinner plot

btw
if enyone can solve the problem why player two always wins more games than player one… he/she’ll get a drink

Leave a Reply