remove useless function
Handle snake collision