Snake - Frequently Asked Questions
- I click on the game executable but nothing happens, or I see a window for a moment.
A: Check if a file like stderr.txt has been created in the game's folder, as it might have a clue for the problem. If such a file doesn't exist, run the game from a command line.
In Windows, click on Start --> Run and type: cmd.exe.
Then (assuming that the game is installed in d:\snake) type the following commands:
d:
cd \snake
snake.exe
In Linux and many possible kinds of Unix you can open any terminal of your own and launch the game as described in the following example:
cd ~/snake
./snake
- The hour in the high-scores table is incorrect.
A: In Linux and possibly other operating systems, you may have to configure the local timezone using the following command: tzconfig. If it fails for somereason, you can also try tzselect.
- I've read that there are possible patent issues related to displaying text using SDL_ttf.
A: The game uses SDL_ttf for displaying the text, and SDL_ttf uses the FreeType library.
However, the issues might relate to how is FreeType configured on the system, and most chances are that there aren't patent infringements with FreeType 2, at least not with the specific patents related to the issues. You may be able to find information at FreeType's website for more details:
http://www.freetype.org/
- The game crashes after running in fullscreen mode.
A: That might be a bug if desktop effects are enabled in Linux, e.g. using Compiz or Beryl. In both cases, you can try disabling an option called Sync To VBlank.
For Compiz: Execute the command gconf-editor, choose /apps/compiz/general/screen0/options and set sync_to_vblank to 0.
For Beryl: Execute the command beryl-settings, and in the General Options inside the Main tab uncheck "Sync To VBlank".
Alternatively, you can avoid running in fullscreen, or even safer avoid Compiz and Beryl. Daemons like gDesklets can still be tried though.