=== Hangman ===
Description: This plugin allows you to play the hangman game.
Donate link: https://www.paypal.com/donate?business=UPTNE486TU958&no_recurring=1&no_shipping=1&item_name=Support+the+website+and+pay+the+hosting&currency_code=EUR
Tags: hangman, games, game
Version: 1.0
Tested up to: 6.2.1
Author: Marc Oliveras
Author URI: http://oligalma.com
License: GPLv3
License URI: https://www.gnu.org/licenses/gpl-3.0.en.html

== Description ==

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](https://www.oligalma.com/downloads/php/hangman/hangman)

== Installation ==

1. Upload the entire `hangman` folder to the `/wp-content/plugins/` directory.
1. Activate the plugin through the 'Plugins' menu in WordPress.
1. Add the shortcode [hangman] in the page you want to display the Hangman.

== How to use ==

1. Install the plugin.
1. Add the shortcode [hangman] in the page you want to display the Hangman.
1. (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](http://www.oligalma.com/en/contact) or use the [forum](https://wordpress.org/support/plugin/hangman)

== Donations ==

If you enjoy playing Hangman and find it useful, please consider [making a donation](https://www.paypal.com/donate?business=UPTNE486TU958&no_recurring=1&no_shipping=1&item_name=Support+the+website+and+pay+the+hosting&currency_code=EUR)
