Hangman

plugin banner

A cool version of the traditional hangman. Dictionary composed of 110000 English words. Powered by the jQuery library, AJAX and PHP.

Author:Marc Oliveras (profile at wordpress.org)
WordPress version required:
WordPress version tested:6.2.2
Plugin version:1.0
Added to WordPress repository:09-08-2018
Last updated:28-05-2023
Rating, %:80
Rated by:3
Plugin URI:
Total downloads:2 958
Active installs:100+
plugin download
Click to start download

A cool version of the traditional hangman. Dictionary composed of 14000 English words. Powered by the jQuery library, AJAX and PHP.

Demo

You can play a demo of the Hangman game here

How to use

  1. Install the plugin.
  2. Add the shortcode [hangman] in the page you want to display the Hangman.
  3. (Optional) To change the default words you need to modify the file “dictionary.txt”. Take note that, if there is a plugin upgrade, the changes will be overwritten.

Troubleshooting

I’ve found that, for some reason, jQuery library may not be added on the WordPress website. To include it, add the following code to functions.php:

function theme_scripts() {
  wp_enqueue_script('jquery');
}
add_action('wp_enqueue_scripts', 'theme_scripts');

For any issues about this plugin, you can contact me here or use the forum

Donations

If you enjoy playing Hangman and find it useful, please consider making a donation


Screenshots