Software
Snakev1.0
A version of the classic Snake game, written in C++ with OpenGL, featuring a highscore system for competition.
This is a version of the classic Snake game which I have written using C++ with Win32 for the windowing and event handling and OpenGL for the graphics rendering. It features a High Score system and uses a Python script to check for any available updates.
Keyboard Controls
In-Game
- Directional keys - move the snake in the respective direction.
- Escape key - view the High Scores list.
Game Over Menu
- Directional keys - highlight different buttons.
- Return key - select the highlighted button.
- A to Z keys - entering the respective letter into the 'Username' field.
- 0 to 9 keys - entering the respective number into the 'Username' field.
- Backspace key - delete the last character entered into the 'Username' field.
High Scores List
- Escape key - close the High Scores list.
- Backspace key - close the High Scores list.
Notes
- The program will create, on first launch, a file called 'check_for_updates.txt'. Inside the file will be either a '0' or a '1'. '0' means the program will not check for updates each time it starts, whereas '1' means it will. You will automatically be prompted on first launch about automatic update checking. After that, to change the settings you will have to either delete the file and launch the program to show the prompt, or change the number in the file corresponding to what you want.
- The automatic update checker will not download and apply updates. This must be done manually.
- The program may require administrator privileges to run. This is because, when installed to the 'Program Files (x86)' directory, Administrator privileges are required when creating files, which this program does.
Acknowledgements
Below are a list of some of the online resources which I used during the creation of this program:
- Highlighted menu items may not show their text label.
