analysis mode and enter moves mode implemented