TriantaTV
88902fed6a
Moved general functions to a general file
...
Moved general functions to a general file and added a statement to catch if the newly generated location is the same. The snake food is not currently generating to a new random location like expected and is broken.
2022-08-17 00:41:29 -05:00
TriantaTV
cc3a61abb7
Snake food works with vertical movement
...
Snake food works with vertical movement, however horizontal movement is unchanging. Will look into getting a fix for it soon.
2022-08-15 23:51:18 -05:00
TriantaTV
0d3988a7ff
Fixed food generation and removed unused code
...
Fixed food generation and removed unused code
2022-08-15 22:15:56 -05:00
TriantaTV
c3342a14c7
Moved snakeFood to be a separate class
...
Moved snakeFood to be a separate class and a temporary unused function was added for randomly generating the new location.
2022-08-02 21:58:58 -05:00