What changes do I need to make?

What changes in the code do I need to make to the hackvision sketches in order to play those games on the Esplora and the 1.8 tft screen?

https://nootropicdesign.com/hackvision/games.html