When you are about to lose, go to the Options screen and swap the CPU and Player colours around so that you won't be the one that loses.