skWare's HTML Hang Man Game (skHangMan) is a HTML Hang Man Game written in wcCode.Usage of this software is covered by skWare's Software License which you should read at some stage and you should also check out skWare's Software Warranty. You may also want to check out the Trademarks page at some stage.
You should definately read the Software History page.
In this documentation we have assumed that Wildcat! has been installed on drive d: in the directory wc5 resulting in the fact that the default wildcat directory is d:\wc5, as this is how our development system is set up. Your system may not be set up like this.
To upgrade from v1.00a or v1.00b to v1..0c you should install the program as covered in the next section. Once this is done you will need to delete the top ten file data\skhangman_topten.dat as the top ten stuff has not been working correctly and needs to be reset.
To install skHangMan you should follow these steps.
- Unzip the package skhm100c.zip into a temporary directory with a 32 bit unzip program such as unzip as shipped with WildCat.
- Move the following files to your default WildCat directory (eg: d:\wc5).
- html-skhangman.wcx
- The rest of the files supplied in the package are in relative directories and should be moved as follows:-
Source Directory Example Destination Directory data d:\wc5\data http\skware_hm d:\wc5\http\skware_hm http\skware_images d:\wc5\http\skware_images http\skware_templates d:\wc5\http\skware_templates - Next you should edit the configuration file skhangman.cfg as explained in the section on the configuration file.
- Add one or more links to the game on the pages that you want. An example of the link requirted is as follows:-
<a href="/code/html-skhangman.wcx?Mode=New+Game"<b>Skware's HTML Hang Man Game</b></a>
The operation of the games is controlled by the configuration file. This configuration file is called skhangman.cfg and must be in your WildCat data directory (d:\wc5\data). It is an 'ini' type file the contents of which are described in the following table.
Parameter Description RegCode Once registered this parameter should contain your registration code as supplied by skWare. In the shareware version this should contain the word "SHAREWARE" without the quoutes. HomePageLink This is the link to your home page. It is used by the Home button so that the user can return quickly to you home page. BackPageLink This is the link used by the back button so the user can return quickly to the page that called the query program.
To customise the headers displayed by the game you should modify the supplied templates (in http\skware_templates) to suit your needs. Header customisation only works in the registered version of the game. The templates supplied are discussed in the following table:-
Template File Used By skhangman_html_header.htm This template is used as the header to the main game page. If the program does not find this file it will use the internal default. skhangman_html_lost_header.htm This template is used as the header on the page displayed when the user looses a game. If the program does not find this file it will use the internal default. skhangman_html_topten_header.htm This template is used as the header on the page displayed when the user selects the top ten. If the program does not find this file it will use the internal default. skhangman_html_win_header.htm This template is used as the header on the page displayed when the user wins a game. If the program does not find this file it will use the internal default. skhangman_html_win10_header.htm This template is used as the header on the page displayed when the user wins a game and makes it to the top ten. If the program does not find this file it will use the internal default.
To customise the footers displayed by the game you should modify the supplied templates (in http\skware_templates) to suit your needs. Footer customisation only works in the registered version of the game. The templates supplied are discussed in the following table:-
Template File Used By skhangman_html_footer.htm This template is used as the footer to the main game page. If the program does not find this file it will use the internal default. skhangman_html_lost_footer.htm This template is used as the footer on the page displayed when the user looses a game. If the program does not find this file it will use the internal default. skhangman_html_topten_footer.htm This template is used as the footer on the page displayed when the user selects the top ten. If the program does not find this file it will use the internal default. skhangman_html_win_footer.htm This template is used as the footer on the page displayed when the user wins a game. If the program does not find this file it will use the internal default. skhangman_html_win10_footer.htm This template is used as the footer on the page displayed when the user wins a game and makes it to the top ten. If the program does not find this file it will use the internal default.
In the registered version of the game you can add and delete your own words. All that you have to do is edit the file data\skhangman_wordlist.txt with any normal editor and make the changes you want. The next time the game is started it will detect the changes made and update the data file.
If you want you can change the graphics used by the program by either modifying the supplied gif's or creating your own and replacing the supplied gif's. The table below describes the gif's supplied which are all in http\skware_images.
Gif File When Used skhangman_00wrong.gif This gif is displayed when the user has supplied no wrong guesses. skhangman_01wrong.gif This gif is displayed when the user has 1 wrong guess. skhangman_02wrong.gif This gif is displayed when the user has 2 wrong guesses. skhangman_03wrong.gif This gif is displayed when the user has 3 wrong guesses. skhangman_04wrong.gif This gif is displayed when the user has 4 wrong guesses. skhangman_05wrong.gif This gif is displayed when the user has 5 wrong guesses. skhangman_06wrong.gif This gif is displayed when the user has 6 wrong guesses. skhangman_07wrong.gif This gif is displayed when the user has 7 wrong guesses. skhangman_08wrong.gif This gif is displayed when the user has 8 wrong guesses. skhangman_09wrong.gif This gif is displayed when the user has 9 wrong guesses. skhangman_10wrong.gif This gif is displayed when the user has 10 wrong guesses. They are also dead at this point and the game is over.
To Register skHangMan print the file register.txt fill it in, and send it and US$10 to the following address:-
skWare
PO Box 9559
Wellington
NEW ZEALAND