rrliang / snake

CCSU final project
1 stars 1 forks source link

Refactor 1 #1

Closed shaysingh818 closed 2 years ago

shaysingh818 commented 2 years ago

Refactored code base

  1. Included header files
  2. Eliminated global vars outside the main method
  3. Create a snake struct to replicate logic (In case you want multiple instances)
  4. Rewrote methods to perform logic on snake pointer struct