From d19e6685cf506de3908f26cd8e61ff57a9d2ebd1 Mon Sep 17 00:00:00 2001 From: FullGreaM Date: Sun, 28 Dec 2025 16:26:08 +0300 Subject: [PATCH] Fix tables --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index 7b9d0d4..b3e1af8 100644 --- a/README.md +++ b/README.md @@ -37,15 +37,19 @@ initOPCWidgets(); In HTML attribute "captcha-url", fill the address of API. ## How it works **Open Puzzle Captcha** separated by two parts - client widget (for next: widget) and open puzzle captcha API (for next: API). For first, the widget sends request to the API, the API takes random picture (150x150px), splits the picture by 9 fragments (in future version, I can add 4 parts mode), adds changes for this fragments (**It's important. After it, fragments change their hash-sum**). the API generates unique key for every fragment and summorize it by solve key. After it, the API shuffle the parts of picture and send them as response to the widget. The widget don't know which combination is correct (It dictated by abuse safety), the widget spawns the parts of picture in field (for next: shards) and waits before user not solve the puzzle. Every cell of the field has number 1..9: + | 1 | 2 | 3 | |--|--|--| | 4 | 5 | 6 | | 7 | 8 | 9 | + When user grabbing the shard to the cell, the widget remembers number of this cell and writes key of the cell to the chain of responses. It forms answer of the Captcha. For Example: + | 1d23af | 2fde09 | e389a1 | |--|--|--| | 4f441d | 5cd456 | 6ff1ce | | 7a1def | 8df780 | 9a1d8f | + Captcha answer: 1d23af2fde09e389a14f441d5cd4566ff1ce7a1def8df7809a1d8f \ This answer will sent to the API and after it, the API compare the answer with the correct solve and return result to widget. If captcha answer is wrong, the API generates new captcha's task and deletes old. Else - the API leave the Success Code which may use for forms in the website. More details: [In develop]