Could someone help me with Snake on an 8x8 LED matrix?

I posted this a while back but got 0 responses. Could someone help?