That is actually not a bug, you aren't supposed to be able to hurt the frog and snake, they are obstacles. Given more time we would've made that more obvious in the gameplay. We did want the enemy to be able to be damaged but we ran out time to implement it.
So the goal is basically to get as many points as you can/last till the end.