重构代码 增加snail, ball