SFML Setup: https://www.youtube.com/watch?v=fcZFaiGFIMA
It has all the running codeRun it and the game will run
(The only file that has the code i have written, Rest All are just for SFML library added by default after setting up SFML for codeblocks)
For video to small gif convertion: https://www.img2go.com/convert-video-to-gif