-
Notifications
You must be signed in to change notification settings - Fork 2
Puzzle CAPTCHAs
Extracts a rectangular image piece and asks the user to move it horizontally into its slot.
Returns: ChallengeResult; answer is target x-coordinate.
Metadata includes:
background_pathpiece_pathpiece_start_x-
target_x,target_y piece_sizetolerance
Verify with abs(user_x - result.answer) <= tolerance.
Example: Examples/CaptchaExamples/SliderPuzzleCaptcha/
Like the slider puzzle, but uses an irregular polygon piece and can generate a
procedural background when image_path is omitted.
Key parameters: vertices, piece_radius, tolerance, image_path.
Example: Examples/CaptchaExamples/IrregularPuzzleCaptcha/
Displays a repeating shape pattern with one missing shape.
Returns: ChallengeResult; answer is the zero-based option index.
Metadata includes pattern, missing_index, options and
answer_is_zero_based.
Example: Examples/CaptchaExamples/PatternCompletionCaptcha/
Generates and solves a randomized maze.
Answer modes:
-
directions: list such as["right", "down", ...] -
path: list of grid cells -
exit: exit cell
Use directions for interactive clients and validate the final move list on
the server.
Example: Examples/CaptchaExamples/MazeCaptcha/
- Home
- Installation
- Quick-Start
- Configuration
- Core-API
- Generator-API-Reference
- Core-Utilities
- Supported-CAPTCHAs
- All-Examples
- Text-and-Media-CAPTCHAs
- Logic-CAPTCHAs
- Image-CAPTCHAs
- Selection-CAPTCHAs
- Puzzle-CAPTCHAs
- Visual-Reasoning-CAPTCHAs
- Tkinter-Examples
- Web-Integration
- Architecture
- Creating-a-Generator
- Security
- Publishing
- Migration-to-2.0
- FAQ