snake is destroyed when collide with platform