hit callback function
merge code & hit snake effect
merge code