=== Uras Game Box for Oyunlar1.io ===
Contributors: oyunlar1io
Tags: games, html5 games, widget, shortcode, browser games
Requires at least: 5.8
Tested up to: 7.1
Requires PHP: 7.2
Stable tag: 1.4.2
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Display top rated, most played, new or random free browser games from oyunlar1.io on your site with a shortcode or widget.

== Description ==

Uras Game Box shows a list of free HTML5 browser games from [oyunlar1.io](https://oyunlar1.io/) on your WordPress site. Add it to any post or page with a shortcode, or to a sidebar with the widget. Visitors click a game card to open and play the game on oyunlar1.io, with nothing to download.

This plugin is developed independently and is not an official product of oyunlar1.io.

Features:

* Four lists: top rated, most played, new and random games
* Filter by category (for example racing, puzzle or 2-player games)
* Four layouts: dark box, card grid, compact list and images only
* Settings for width, alignment, columns, font size, corner radius, spacing and colors
* Live preview on the settings page
* Sidebar widget and shortcode
* Responsive, lightweight markup with lazy-loaded images
* Game data is cached for 6 hours, so your site stays fast
* No ads and no tracking

== Installation ==

1. Upload the plugin and activate it.
2. Go to Settings > Uras Game Box and choose the default list, number of games, layout and colors.
3. Add the `[uras_game_box]` shortcode to a post or page, or add the "Uras Game Box for Oyunlar1.io" widget under Appearance > Widgets.

Shortcode examples:

* `[uras_game_box]`
* `[uras_game_box tur="encok" adet="12" sutun="4"]`
* `[uras_game_box tur="yeni" kategori="araba-oyunlari" gorunum="liste" adet="6" baslik="New Racing Games"]`
* `[uras_game_box genislik="800" hizala="orta"]`

Shortcode attributes:

* `tur` – list type: `enguzel` (top rated), `encok` (most played), `yeni` (new), `rastgele` (random)
* `adet` – number of games (1–48)
* `gorunum` – layout: `kutu` (box), `izgara` (grid), `liste` (list), `resim` (images only)
* `sutun` – number of columns
* `kategori` – category slug on oyunlar1.io
* `baslik` – title shown above the games
* `genislik` – maximum width in pixels, `hizala` – alignment: `sol`, `orta`, `sag`
* `satir`, `yazi`, `kose`, `bosluk`, `arka`, `renk`, `vurgu` – title lines, font size, corner radius, spacing, background, text and accent colors

== External services ==

This plugin connects to the oyunlar1.io games API to get the list of games it displays.

* Service: oyunlar1.io games API, `https://oyunlar1.io/api/oyunlar.php`
* What is sent: only the selected list type, number of games and category. No personal data about your site visitors is sent.
* When: from your server, only when the cached list is missing or expired (at most once every 6 hours per list).
* Game thumbnails are loaded by your visitors' browsers directly from oyunlar1.io, and clicking a game opens its page on oyunlar1.io.

Privacy policy: [oyunlar1.io/gizlilik](https://oyunlar1.io/gizlilik/)

== Frequently Asked Questions ==

= Are the games played on my site? =

No. Game cards open the game page on oyunlar1.io, in a new tab by default.

= How do I show the "Games: oyunlar1.io" link? =

It is off by default. You can turn it on under Settings > Uras Game Box.

= Is the plugin translated? =

The plugin includes a Turkish translation.

== Screenshots ==

1. Box layout inside a post
2. Sidebar widget
3. Settings page with preview

== Changelog ==

= 1.4.2 =
* Author URI now points to the author profile on WordPress.org.

= 1.4.1 =
* Removed the Author URI from the plugin header.

= 1.4.0 =
* Renamed to Uras Game Box for Oyunlar1.io.
* English source strings with bundled Turkish translation.
* New `[uras_game_box]` shortcode.

= 1.3.0 =
* Width and alignment settings, column setting for the box layout, checkbox saving fix.

= 1.2.0 =
* Box layout, appearance settings and preview.

= 1.0.0 =
* Initial release.
