testcase
merge conflit in testcases.py
Fix sync bugs.
optimize AIplayer.