test chess game (sort of) written in java