CardzNet – Multiplayer Card Games

ਵੇਰਵਾ

Features Summary

  • Adds a Playing Card Game server to your WP Website
  • Works with touch screens, mouse or keyboard input
  • Players can share devices but keep their cards private
  • Games available: Hearts, Black Maria and One-Eyed Jacks
  • Standard and High Visibility Card Faces available

ਸਕਰੀਨਸ਼ਾਟ

  • Screenshot 1: Black Maria Cards View
  • Screenshot 2: Groups Admin Page
  • Screenshot 3: Games Admin Page

ਸਥਾਪਤੀਕਰਨ

  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

ਅਕਸਰ ਪੁੱਛੇ ਜਾਂਦੇ ਸਵਾਲ

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.

ਸਮੀਖਿਆਵਾਂ

There are no reviews for this plugin.

ਯੋਗਦਾਨੀ ਤੇ ਵਿਕਾਸਕਾਰ

“CardzNet – Multiplayer Card Games” is open source software. The following people have contributed to this plugin.

ਯੋਗਦਾਨੀ

“CardzNet – Multiplayer Card Games” ਦਾ ਆਪਣੀ ਭਾਸ਼ਾ ਵਿੱਚ ਅਨੁਵਾਦ ਕਰੋ।

ਵਿਕਾਸ ਕਾਰਜ ਵਿੱਚ ਰੁਚੀ ਰੱਖਦੇ ਹੋ?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

ਤਬਦੀਲੀ-ਚਿੱਠਾ

1.0 (21/11/2020)

  • First public release

1.0.1 (25/11/2020)

  • Bug Fix: Cannot Publish page with CardzNet shortcode

1.0.2 (26/11/2020)

  • Bug Fix: Fatal Error creating One-Eyed Jacks games if E_STRICT enabled