Uploaded September 2020 | Updated September 2026, 1 week ago
My snake clone written for the CPU with UART attached went down well, but several people asked me for a tour around the code. Rather than just scroll around the code I've broken out 4 areas of interest for a bit of discussion. Ascii ART, Collision, Random Numbers and the Tail Tracking
Wikipedia links:
en.wikipedia.org/wiki/ANSI_escape_code
en.wikipedia.org/wiki/Linear-feedback_shift_register
Shout out to wikimedia user "KCAuXy4p" for creating the shift register graphic and releasing it into the public domain, saved me a little time.
My snake clone written for the CPU with UART attached went down well, but several people asked me for a tour around the code. Rather than just scroll around the code I've broken out 4 areas of interest for a bit of discussion. Ascii ART, Collision, Random Numbers and the Tail Tracking
Wikipedia links:
en.wikipedia.org/wiki/ANSI_escape_code
en.wikipedia.org/wiki/Linear-feedback_shift_register
Shout out to wikimedia user "KCAuXy4p" for creating the shift register graphic and releasing it into the public domain, saved me a little time.










