implement method in JCSMove for move input of AI player and move replay for multiplayer games