=== GamesIKnow Embed ===
Contributors: gamesdev
Tags: games, embed, iframe, gutenberg, shortcode
Requires at least: 6.3
Tested up to: 7.0
Requires PHP: 7.4
Stable tag: 1.0.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Embed Games I Know browser games in WordPress with a polished block, shortcode, and settings UI.

== Description ==

GamesIKnow Embed helps site owners add simple browser games to WordPress without writing code. Choose a supported Games I Know game, adjust layout and appearance, then publish with the Gutenberg block or shortcode.

Supported games:

* Tic-Tac-Toe
* Four-in-a-Row
* Bingo
* I Know

Features:

* Dynamic Gutenberg block with server-rendered output.
* Shortcode support with the `[gamesiknow]` shortcode.
* Native WordPress settings and shortcode builder with copy controls.
* WordPress Settings API integration.
* Partner ID setting with a direct setup link.
* Responsive wrapper with width, max width, alignment, border radius, shadow, lazy loading, and fullscreen controls.
* Safe iframe URL generation limited to Games I Know embed URLs.

== Installation ==

1. Upload the `gamesiknow-embed` folder to `/wp-content/plugins/`, or upload the plugin ZIP from the WordPress Plugins screen.
2. Activate "GamesIKnow Embed" from the Plugins screen.
3. Open GamesIKnow > Settings.
4. Click "Get Partner ID" to sign in at Games I Know, then paste your Partner ID into the settings page.
5. Add the "Games I Know Game" block to a post or page, or use the `[gamesiknow]` shortcode.

== Frequently Asked Questions ==

= Do I need a Partner ID? =

No. Embeds can work without a Partner ID, but adding one connects embeds on your site to your Games I Know partner account.

= Where do I get my Partner ID? =

Open GamesIKnow > Settings and click "Get Partner ID", or go to https://gamesiknow.com/partners/login/.

= Can I use a shortcode instead of the block? =

Yes. Use `[gamesiknow]` with optional attributes such as `game`, `width`, `height`, `theme`, `mode`, and `campaign_id`.

= Which games are supported? =

The plugin supports `tic-tac-toe`, `four-in-a-row`, `bingo`, and `i-know`.

= Does the plugin store gameplay data in WordPress? =

No. The plugin stores only its WordPress settings. Gameplay is loaded from Games I Know through the iframe.

== Screenshots ==

1. Games I Know settings with Partner ID setup and frontend embed behavior toggles.
2. Shortcode Builder with embed options, shortcode copy control, and recommended game sizes.
3. Games I Know Game block in the editor.

== Changelog ==

= 1.0.0 =

* Initial public-ready release with Gutenberg block, shortcode, settings, shortcode builder, and uninstall cleanup.

== External Service Disclosure ==

This plugin embeds browser games hosted by Games I Know. When a game is displayed, the visitor's browser loads iframe content from https://gamesiknow.com. The iframe URL may include the selected game, Partner ID, source=wordpress, theme, mode, and campaign ID. The plugin does not store gameplay data inside WordPress.

Games I Know privacy policy: https://gamesiknow.com/privacy-policy/
Games I Know terms: https://gamesiknow.com/terms/
Setup guide: https://gamesiknow.com/embed/wordpress-game-widget/
Documentation: https://gamesiknow.com/embed/docs/
