Java project for the game Duel