Implemented Resolving animation. Now use states machine to handle game flow