Fixed the capture bug. Also an unnoticed RNG bug.

The capture bug was that we were inverting the player twice by mistake.
Also we were reseeding the RNG with the time every move, which is not a good
recipe for good random numbers.