Add Snake logic