card game of war, written in c++