add methods to count moves
count moves and wait for all players