Add auto flappy mode.

Signed-off-by: CyberZHG <CyberZHG@gmail.com>