Actually fixed the CPU, no more invalid moves (hopefully). Got rid of the to Test Game button.