This was an initial attempt at building the card game 29. It is now being continued in https://github.com/aks0/play29.