this is from version 1.25 of my 64-bit project arrow keys to move, there is border collisions and if you try to disable them make sure that it loops correctly horizontally
you could make a list for the last frame values and force movement inputs if none are made, make a loop value for the tail values and make snake if you wanted to do that or something idk make whatever