Linux 软件免费装
Banner图

CardzNet - Multiplayer Card Games

开发者 Malcolm-OPH
更新时间 2023年8月10日 16:05
PHP版本: 5.0 及以上
WordPress版本: 5.7
版权: GPLv2 or later
版权网址: 版权信息

标签

pages network multiuser games cards card games playing cards multiplayer whist black maria canasta hearts

下载

2.0 1.0.2 1.0 1.0.1

详情介绍:

Features Summary

安装:

  1. Upload "wpcardznet" folder to the "/wp-content/plugins/" directory
  2. Activate the "CardzNet" plugin through the "Plugins" menu in WordPress
  3. Go to the CardzNet Settings admin page on your Wordpress Desktop
  4. Review and save the settings
  5. Go to the CardzNet Groups admin page and create a group
  6. Add Members to the group using the buttons for the Group
  7. Go to the CardzNet Games admin page and add a game
  8. Go to the CardzNet Overview admin page and copy the shortcode
  9. Create a wordpress page on your website and add the CardzNet shortcode to it
  10. All players can now play the game by visiting the page you just added

屏幕截图:

  • Screenshot 2: Groups Admin Page
  • Screenshot 3: Games Admin Page

常见问题:

Why do players need to log in

This determines which player the device is being used by.

What are Groups

CardzNet uses player groups, with a specified administrator, to administer games. Each group can have an unlimited number of players, but only one concurrent game is permitted for each group. The group administrator can add new players by selecting the "Invite New Member" button, and then enter the name and email address of the person they wish to invite. The new member will be added to the group when they accept the invitation using the link in the email that CardzNet sends them. Note: Users with Administrator privileges can add an existing Wordpress user to a group directly.

How do players share devices

Each device used to play must be logged in with a different username, and this usually determines who will play the game. If more than one player uses the same device, then the group administrator should add an entry for each of these players on the "Add Game Details" admin page, with the same Username but add an entry for the Player Name. This Player Name is then used to identify the player. During play, a players cards are hidden on a shared screen each time the screen changes from one player to another. The cards can be revealed by either clicking on a button, or pressing a key on the keyboard.

How can I customise the EMails?

The EMails generated by the CardzNet plugin are defined by a template file. Template defaults are in the {Plugins Folder}/wpcardznet/templates/email folder, which is copied to the {Uploads Folder}/wpcardznet/email when the plugin is Activated or Updated. The default template can be copied to new a file in the uploads folder, which can then be used to create a custom template, which can then in turn be selected using the Admin->Settings page. The template file can be modified as required. A number of "Tags" can be included in the EMail template, which will be replaced by data relating to the sale extracted from the database.

What tags can be used in the EMail template?

The following tags can be used in the EMail template:

  • [inviteFirstName] - Player Invitation First Name
  • [inviteLastName] - Player Invitation Last Name
  • [inviteEMail] - Player Invitation Email
  • [inviteDateTime] - Player Invitation Date and Time Sent
  • [inviteHash] - Player Invitation Hash for Acceptance
  • [groupName] - Player Invitation Group Name
  • [groupAdminName] - Player Invitation Name of the Group Administrator
  • [groupAdminEMail] - Player Invitation EMail of the Group Administrator
  • [username] - The Players Login Username
  • [password] - The Players Login Password
  • [inviteURL] - Player Invitation Response URL
  • [organisation] - The Organisation ID (as on the Settings Page)
  • [url] - The URL of the Site Home Page
  • [logoimg] - The URL of the EMail Logo Image (set on the Settings Page)

Does CardzNet use Wordpress User Capabilities?

Yes! CardzNet uses Wordpress Capabilities to control access to games and admin pages. The following Capabilities are implemented: cardznet_player - A user that can play a game cardznet_manager - A user that can start a game and add players to a group cardznet_admin - A user that can administer WPPlayCards (except for settings) cardznet_setup - A user that can change WPPlayCards settings Users added by CardzNet are created with the Subscriber Role with additional cardznet_player capability. When CardzNet adds an existing user to a group by CardzNet the cardznet_player capability is added to the user if they do not already have it.

Does CardzNet use Wordpress User Capabilities?

Yes! CardzNet uses Wordpress Capabilities to control access to games and admin pages. The following Capabilities are implemented:

Does CardzNet need a specific Wordpress Theme

No. CardzNet should remove all the theme CSS from any page with the CardzNet shortcode on it, and replace it with its' own CSS. It has been tested with the WP default themes from Twenty-Ten onwards.

更新日志:

2.0 (07/03/2021) 1.0 (21/11/2020) 1.0.1 (24/11/2020) 1.0.2 (25/11/2020) 1.0.3 (26/11/2020) Bug Fix: Players deck blank when using Large-Face cards with One-Eyed-Jacks Bug Fix: Code warning when adding One-Eyed_Jacks games Hearts: Implemented "Break Hearts" functionality 1.0.4 (05/12/2020) Added Generic Whist to available games Whist (and derivatives): Added "Show Scores" button so last trick of rounds remains visible Whist (and derivatives): Added number of rounds to scores Whist (and derivatives): Added optional limit to number of rounds