A card game written in Erlang