The snake game made in js