A game of War using Java