Code working entirely for Human and AI players.  (does not reflect changes made in other branches since March 22)