Hi
I am trying to build a simple snake game.
I have pretty much done it. It works well but theres a little problem.
if i try to add a static variable over the code that i have written, i get a weird error... (the rectangles of my snake behave very odd, crashing into walls at the press of a button)..
Why is this happening? Any ideas ? Should I upload parts of my code?

