=== Telekinese Challenge ===
Contributors: redicoulous
Tags: experiment, telekinesis, statistics, random, widget
Requires at least: 5.8
Tested up to: 7.1
Requires PHP: 7.4
Stable tag: 1.10
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

A telekinesis experiment featuring a digitally simulated Schmidt machine.

== Description ==

The Telekinesis Challenge is a statistical experiment based on the methodology of the Schmidt machine. 
The plugin generates pseudorandom values via JavaScript while the user tries to move a red dot clockwise on a circle through focus and mind power.

At the end of the experiment (after 50 runs), the result is stored anonymously in the database (using a custom alias chosen by the user). An integrated chart (Chart.js) allows users to compare their results with the statistical expected value.

Use the shortcode `[telekinese_challenge]` to embed the experiment on any page or post.

== Installation ==

1. Upload the `telekinese-challenge` folder to the `/wp-content/plugins/` directory.
2. Activate the plugin through the 'Plugins' menu in WordPress.
3. Go to 'Settings' -> 'Telekinese' to customize the texts and colors for the frontend.
4. Add the shortcode `[telekinese_challenge]` to any post or page.

== Frequently Asked Questions ==

= Are personal data stored? =
No. The plugin only stores a freely chosen alias by the user and the number of positive and negative runs. No IP addresses or other personal data are collected, making it highly privacy-friendly and GDPR compliant.

== Changelog ==

= 1.10 =
* Security: Implemented "late escaping" and strict sanitization (using preg_replace) for all dynamic CSS options and frontend outputs in strict accordance with WordPress security guidelines.

= 1.9 =
* Compliance: Changed the function prefix globally to `telech_` to prevent namespace conflicts.
* Compliance: The inline script for the backend color picker is now safely enqueued via `wp_add_inline_script`.

= 1.8 =
* Compliance: Extracted JavaScript and CSS from the PHP code into separate files. Enqueueing is now handled properly via `wp_enqueue_script` and `wp_enqueue_style`.
* Readme: Adjusted wording ("pseudorandom").
* Updated contributor to redicoulous.

= 1.7 =
* Initial release.