该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

Hangman

描述

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

屏幕截图

安装

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

评价

2023 年 2 月 7 日
Thank you, I loved it. I started to use it on my website in the English lessons for my students. I hope you will update it soon. That's my only concern. Students love playing. Currently, it works for this WordPress, but please update
2022 年 6 月 17 日
This works well. It would be useful if there was a simple way of importing your own words. Also an option for changing the background image woudld be good or at least give a few different ones to choose from.
2020 年 4 月 29 日
This was easy for the user to play. However, I needed more customization. I needed the words to match the theme of my site. The first game I played was for the word: "flatulent" which doesn't work for my audience. But like I said, if you are looking just for ease of use for website visitors, it's easy to install and easy to play. I wish it also had clues to the word.
阅读所有3条评价

贡献者及开发者

“Hangman” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

将“Hangman”翻译成您的语言。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志