Separate frame increment logic from rendering logic.
Keep track of previous keyboard state.
Add functions to check if a key was up or down.

(but isn’t anymore)
Add function to update a player's sprite.
Update think to change the current animation.
Fix sprite to be correct.