Very cool! The first time I played it, the snake managed to oof itself right after eating the first green apple :>
Yeah the decision tree for the snake could be improved, and possibly the collision logic.