Here is a complete source of the Snake Game LibGDX published by the author of Novcode.com