basic replica of the card game WAR written in Java