Added move count and function to determine game status