php hangman   Scripts

PHP Hangman

 
  Affiliate
Programs
 ASP, CGI + PHP
Scripts
 Domain
Names
 Internet
Auctions
 Web
Hosting
  
 
 
Menu
 
Home



Books + Guides

  ASP
  CGI
  Java
  JavaScript
  PHP



Our Free Scripts

  PHP Hangman



Installation Services



Script Directory

  Ad Tracking
  Affiliate Programs
    -Content
    -For Merchants
    -Link Protection
  Auctions
  Banners
  Blogs
  Calendars
  Chat Rooms
  Classified Ads
  Clocks
  CMS
  Counters
  Dating
  Domain Names
  eCards
  eCommerce
  Email
    -Anti Spam
    -Autoresponders
    -Forms
    -Mailing Lists
    -Tell A Friend
  FAQs
  FFAs
  Financial + Business
  Freelancers
  Forums
  Games
  Graphics
  Guest Books
  Jobs
  Linking
  Members/Passwords
  Miscellaneous
  News
  Polls + Surveys
  Popups
  Quotes
  Real Estate
  Searching
    -Directories
    -Internet Search
    -Site Search
  Tests + Quizzes
  Top Sites
  Traffic Analysis
  Upload



Links
 


 
   
ScriptCavern  >  Free PHP Scripts  >  PHP Hangman

PHP Hangman

This is a PHP script for the kids' game, hangman. The visitor has to guess the word that the computer is thinking of, before the man is hung.


IMPORTANT NOTICE:

The original version (1.00) of this game had a slight bug which meant the picture of the man being hanged did not display properly in some browsers. The new version (1.01) corrects this problem.


Features:
  • You can customize the template to fit with your web site's template/design. For example, you can place your own adverts above or below the game.

  • You can customize to have your own words.

  • You can customize all in-game prompts and messages (allowing you to translate the game to other languages if you want).

  • You can substitute your own pictures of the hanged man, if you want.

Requirements
Price
  • $0.00 - absolutely free (but subject to our License terms and conditions).

License

This is copyrighted software. We allow you to install and use this software on your own web site, for free, but subject to various terms and conditions.
  • A full list of the terms and conditions can be seen below in the section of this page labelled instructions.

  • The script displays a copyright notice, and links to our company's web sites, you may not remove or modify these messages.

  • The script is provided "AS IS", and without support... hey it's free, what do you expect?

Demo

Want to see the script in action: Click here for Hangman demonstration (link will open in a new window).


Download

This is copyrighted software. We allow you to install and use this software on your own web site, but our license terms and conditions apply. The terms and conditions are displayed below, please read them before downloading. If you do not agree to our license, you do not have permission to download or use the software.

Download hangman.zip


Instructions and Terms and Conditions

LICENSE
=======
This script is Copyright (C) 2005, Answers 2000 Limited.

WARNING: This script is protected by copyright law. This script is
exclusive to Answers 2000 Limited: Any distribution or sale by any other
person or entity is strictly prohibited. Unauthorized reproduction and
distribution of this script, or any portion of it, may result in severe
civil and criminal penalties, and will prosecuted to the maximum extent
possible under law.

Answers 2000 Limited grants you a non-exclusive royalty-free license to
install and use this script on your web site(s), subject to you agreeing to
and complying with ALL of the following terms and conditions:

1. You may install the script on your own web site(s) for the sole purpose
   of running the game and providing access to play the game as a service
   to your web site visitors.

2. You may NOT distribute the script. You may NOT sell copies of the script.
   You may NOT sublicense the script.

3. You may NOT modify the hmgame.php file, or prepare derivative works of
   this file.

4. The game causes a copyright notice with links to web site's owned by
   Answers 2000 Limited. You may NOT modify this notice. You may NOT remove
   this notice.

5. You agree NOT to use this script on any web site associated with illegal
   activities, NOR on any web site that infringes any copyrights or third
   party rights, NOR on any web site that is promoted by or promotes
   unsolicited electronic messaging or unsolicited email ("spam").

6. To the maximum extent permissible under law: this script is provided
   "AS IS" and without warranties as to performance of, merchantability or
   any other warranties whether expressed or implied.

7. To the maximum extent permissible under law: you agree to waive any claim
   against Answers 2000 Limited (or its directors, officers, or employees)
   relating to this script, its use, or misuse - and you also agree that
   you use this script at your own risk.

8. These terms and conditions shall be governed by and construed in
   accordance with the laws of England and Wales. Any disputes arising from
   matters relating to this script or license shall be exclusively subject
   to the jurisdiction of the courts of England and Wales. You agree that
   any legal action against Answers 2000 Limited (or its directors, officers,
   or employees) relating to this script or this agreement will be brought in
   the courts of London, England, however Answers 2000 Limited reserves right
   to pursue breach of these terms in any jurisdiction. 


IMPORTANT NOTICE
================

Current version: 1.01

This is version 1.01.

In version 1.00 there was a bug which meaned the pictures of a man being
hanged did not display properly in some web browsers.


INTRODUCTION
============

When you unpack the script, you will it contains the following files:

        hm1.gif
        hm2.gif
        hm3.gif
        hm4.gif
        hm5.gif
        hm6.gif
        hm7.gif
        hm8.gif
        hm9.gif
        hm10.gif
        hm11.gif
        hm12.gif
        hmconfig.inc.php
        hmgame.php
        hmword.inc.php
        phm_bot.inc.php
        phm_top.inc.php
        readme.txt



A brief explanation of each of these files follows:

* hm1.gif to hm12.gif

        - These are the pictures of the man being hanged, step-by-step.
        hm1.gif being the first image (after the first wrong answer),
        and hm12.gif being the last image (when the man is completely
        hung). If you wish, you may draw your own pictures of each step
        and replace the original files with your versions (but use
        the same file names!)

        - If you do replace the original pictures, your pictures should be
        all the same size (width and height).

        - Specify the width and height of your images by changing the
        $c_hm_width and $c_hm_height variables in hmconfig.inc.php


* hmconfig.inc.php

        This is the configuration file.

        - The variable called $c_hm_main specifies the name of the main
        game file. Initially it is set to hmgame.php, but if you wish
        to rename hmgame.php (making your game file called something
        else, you can do so, providing you also set this variable to the
        same name).

        - You can specify the width and height of the hangman images by
        changing the $c_hm_width and $c_hm_height variables. You don't need
        to do this unless you replace the pictures with pictures of your own.

        - It also contains ALL the game messages (allowing you to translate
        the game to another language if you want).


* hmgame.php

        - This is the main game file.  You should NOT modify this file.
        If you want, you may rename this file, but if you do so you must
        also change the $c_hm_main variable in hmconfig.inc.php

* hmword.inc.php

        - This is the list of words that can be used in the game. Each
        word is enclosed in quotes ("), and they are separated by commas
        (no comma after the last word). You can edit this file if you can
        change the word list, but stick to all CAPITALS and avoid spaces,
        accented characters, numbres, etc. in the word, or the game may
        malfunction.
        make the list of
                
* phm_bot.inc.php and phm_top.inc.php

        - These files contain the template of the page to display the game
        in. phm_top.inc.php contains the HTML for the top of the page (above
        the game area), and phm_bot.inc.php contains the HTML for the bottom
        of the page (below the game area)

* readme.txt

        - This readme file, that you're reading now!



INSTALLATION
============

1. Unpack the ZIP file

2. Upload all the files to your web server (you can miss out the README.TXT
   if you want) using an FTP program.

3. Go to http://www.yoursite.com/hmgame.php to try it (replace yoursite.com
   with your actual domain name).

4. If you want to modify the template for the game page, you can do this
   by editing the phm_top.inc.php and phm_bot.inc.php files as described
   earlier, then update these files on your web server.

5. If you want to change the messages in the game, you can modify the
   hmconfig.inc.php as described earlier, then update this file on your
   web server.

6. If you want to change the word list in the game, you can modify the
   hmword.inc.php file as described earlier.

7. If you want to use different pictures in the game, you can replace hm1.gif
   to hm12.gif with your own pictures as described earlier.

8. If you want your game page to be called something other than hmgame.php,
   you can do this by renaming hmgame.php to your chosen file name, provided
   you also modify the $c_hm_main variable in hmconfig.inc.php to match (as
   described earlier too!).

9. If you break it, when modifying the configuration, and you are not enough
   of a PHP expert to fix it, I suggest you start-over. For this reason,
   non-PHP experts are advised to do configuration modifications step-by-step
   and save a copy of each working step as they go.


SUPPORT
=======

It's a free script, so basically there isn't any....

We only provide support for our for-sale scripts such as those listed on
http://www.scriptrocket.com

However, if you're really really stuck - you could try one of the forums
listed at http://www.scriptcavern.com/forum.php


OTHER ANSWERS 2000 STUFF YOU MIGHT BE INTERESTED IN
===================================================

PHP Scripts:

We have some powerful for-sale (but affordable PHP scripts at
ScriptRocket.com), these include

- Piranha Feed - a powerful tool for Amazon Associates (go see the demo!)
 
- CBRocket - a powerful tool for ClickBank Associates (go se the demo!)

- Top Site, Feedback Forms, Click/Counter Trackers (great for tracking
ads), Polls...

Details of these scripts are at http://www.scriptrocket.com/

We also offer a great eBook compiler: http://www.ebookcompiler.com/

And eBook cover creation software: http://www.coverfactory.com/

For a summary of all our stuff, see our main company site:
http://www.ans2000.com/


....Anyway, good luck with the script!


=============================================================================
This file is Copyright (C) 2005, Answers 2000 Limited.
=============================================================================






 
 
 

 
   
With any business, it is up to the individual owner of said business to ensure the success of the business. You may make more or less than any sample figures or results that might be quoted on our web sites or other publications. All business involves risk, and many businesses do not succeed. Further, Answers 2000 Limited does NOT represent that any particular individual or business is typical, or that any results or experiences achieved by any particular individual/business is necessarily typical.


Copyright © 2000-2008, Answers 2000 Limited

Privacy     Terms Of Use