snake basic moving left / right and attack

need to do a moving up / down for the snake but the attack will be the
same for any direction i think.