Who said that there are no games for Linux?
Other than running games for windows through Wine (as well as nearly any other .exe file), there are many games that run natively on Linux.
Supertux is a nice game, but I’ve found it a bit too difficult to play, especially some levels where there are these flying enemies, identified in this picture:
So, to finish this almost-impossible level, I decided to cheat 🙂
And since I’m a programmer, I thought that the easiest way to cheat was to alter the game’s source code 😀 It did not take much time to download the 0.3.1 beta release (which was the version I was playing) and find what to modify.
The code that makes these enemies attack from the sky is defined in
and is the should_we_dive() member function of the Zeekling class.
Just replace the function’s body with a
and recompile. The game becomes a little bit easier, and I successfully completed the level 🙂