Regexle: The Hexagonal Regular Expression Puzzle
Regexle is a unique daily puzzle that combines the challenge of crossword puzzles with the logic of regular expressions (RegEx). Players must fill a hexagonal grid with character sequences that satisfy the RegEx rules listed around the edges.
How to Play
- Understand the Grid: The puzzle consists of a hexagonal grid where each hexagon needs to be filled with a character sequence.
- Read the RegEx Rules: Around the edges of the grid, you'll find regular expression rules. These rules dictate what character sequences are valid for each row and column of hexagons.
- Fill the Hexagons: Enter character sequences into the hexagons, ensuring that they match the corresponding RegEx rules.
- Full Match Required: The entered sequence must be a full match for the RegEx rule. Empty hexagons are treated as spaces.
- Color Indicators:
- Green/Purple (Colorblind Mode): Indicates that the RegEx rule is satisfied.
- Red/Orange (Colorblind Mode): Indicates that the RegEx rule is not satisfied.
- Traversal: Use Tab and Shift-Tab to move through the puzzle. Clicking on a rule changes the traversal order to follow that rule's axis.
- Hint Mode: Use the lightbulb icon to activate hint mode. Correct cells are highlighted in green, and incorrect cells are highlighted in yellow.
Key Features
- Daily Puzzles: A new puzzle is available each day.
- Settings Customization:
- Puzzle Size: Adjust the size of the hexagon grid.
- Puzzle Day: Select a specific day's puzzle.
- High Contrast Mode: Enable colorblind-friendly coloring.
- Hint System: Provides assistance by highlighting correct and incorrect cells.
- Statistics Tracking: Monitors completion time, hint usage, and global/personal stats.
- Shareable Results: Allows players to share their results and puzzle links.
Use Cases
- Educational Tool: Helps users learn and practice regular expressions in a fun, interactive way.
- Daily Brain Teaser: Provides a daily mental workout for puzzle enthusiasts.
- Competitive Gaming: Allows players to compete with others based on completion time and hint usage.
Frequently Asked Questions (FAQ)
Q: What is a regular expression? A: A regular expression is a sequence of characters that define a search pattern. In Regexle, these patterns dictate the valid character sequences for each row and column.
Q: How do I use hints? A: Click the lightbulb icon to activate hint mode. This will highlight correct cells in green and incorrect cells in yellow.
Q: Can I change the puzzle size? A: Yes, you can adjust the puzzle size in the settings menu.
Q: Where can I learn more about regular expressions? A: regex101.com is a great resource for learning and testing regular expressions.
Q: How do I share my results? A: After completing a puzzle, you can click the "Share Results!" button to copy your results to the clipboard.