snake clone using libgdx