Login   Register  
PHP Classes
elePHPant
Icontem

Hangman: Pick word and check letters for the hangman game

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   Screenshots Screenshots   View files View files (13)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2006-07-27 (8 years ago) RSS 2.0 feedNot yet rated by the usersTotal: 620 This week: 1All time: 4,656 This week: 1,364Up
Version License Categories  
hangman 1.0GNU General Public Lice...Text processing, Games
Description Author  

This class can be used to pick words and check guessed letters to implement the hangman game.

It picks a random word from an array, checks whether a guessed letter is part of the word, and display the word with the correctly guessed letters.

An usage example script is provided to demonstrate how to implement a Web based version of the hangman game.

Picture of shady el gewily
Name: shady el gewily <contact>
Classes: 1 package by
Country: The Netherlands The Netherlands
Age: 23
All time rank: 268976 in The Netherlands The Netherlands
Week rank: 1060 Up32 in The Netherlands The Netherlands Up

Screenshots  
  • youwon
  • screenshot
  Files folder image Files  
File Role Description
Image file 1.jpeg Icon status 1
Image file 10.jpeg Icon status 10
Image file 11.jpeg Icon status 11
Image file 2.jpeg Icon status 2
Image file 3.jpeg Icon status 3
Image file 4.jpeg Icon status 4
Image file 5.jpeg Icon status 5
Image file 6.jpeg Icon status 6
Image file 7.jpeg Icon status 7
Image file 8.jpeg Icon status 8
Image file 9.jpeg Icon status 9
Plain text file class.hangman.php Class The hangman class
Plain text file example.php Example The example

 Version Control Unique User Downloads Download Rankings  
 0%Total:620All time:4,656
 This week:1This week:1,364Up