Interactive · Gutenberg
Word Scramble block for WordPress
Interactive word unscramble game with categories, hints, scoring, and timer. Multiple difficulty levels.
Get Blockenberg
Free Gutenberg block in Blockenberg. The inspector controls and front-end behavior on this page come from this block’s source, not a shared stub.
What it actually does
Interactive word unscramble game with categories, hints, scoring, and timer. Multiple difficulty levels.
Inspector panels on this block: Content, Game Settings. Those titles come from index.js, not from a shared template.
Where to find it
Gutenberg inserter → Interactive → search “Word Scramble” (block name `blockenberg/word-scramble` in block.json). Style it in the sidebar after insert.
How to use Word Scramble block for WordPress
- Install Blockenberg. Install from WordPress.org and activate the plugin.
- Insert the block. Edit a page, click +, search for “Word Scramble”, insert it. Category: Interactive.
- Configure inspector controls that exist on this block. Open Content. Set “Default Category”, “Default Difficulty”, “Time Limit (seconds)”, “Hints Allowed”.
- Check the published page. The view script reads HTML data attributes: data-opts. The block editor preview may not run the same view script.
Inspector controls from this block’s code
| Control | What the code does |
|---|---|
| Default Category | Select control; the chosen value is saved on the block. block.json default: animals. Saved as `defaultCategory`. |
| Default Difficulty | Select control; the chosen value is saved on the block. block.json default: medium. Saved as `defaultDifficulty`. |
| Time Limit (seconds) | Numeric range control in the inspector. Range 20–300. block.json default: 60. Saved as `timeLimit`. |
| Hints Allowed | Numeric range control in the inspector. Range 0–10. block.json default: 3. Saved as `hintsAllowed`. |
| Show Timer | On/off toggle in the inspector. On by default. Saved as `showTimer`. |
| Show Score | On/off toggle in the inspector. On by default. Saved as `showScore`. |
| Show Streak | On/off toggle in the inspector. On by default. Saved as `showStreak`. |
| Accent Color | Color control in the inspector. block.json default: #f59e0b. Saved as `accentColor`. |
| Correct Color | Color control in the inspector. block.json default: #22c55e. Saved as `correctColor`. |
| Wrong Color | Color control in the inspector. block.json default: #ef4444. Saved as `wrongColor`. |
| Section Background | Color control in the inspector. block.json default: #fffbeb. Saved as `sectionBg`. |
| Card Background | Color control in the inspector. block.json default: #ffffff. Saved as `cardBg`. |
| Title Color | Color control in the inspector. block.json default: #92400e. Saved as `titleColor`. |
What the front-end script actually does
- The view script reads HTML data attributes: data-opts.
- Keyboard handlers move focus between items.
- JavaScript functions that perform the math: updateScore.
When this is the right block
- Interactive word unscramble game with categories, hints, scoring, and timer. Multiple difficulty levels — that is the job of Word Scramble, not a generic content block.
- Use it when you need the editor control labeled “Default Category”, which exists on this block’s inspector.
- It matches pages about word, scramble, game.
- The math runs in the visitor’s browser after publish — no extra calculator plugin.
Notes from the implementation
viewScript: this folder’s frontend.js is enqueued on the front end for this block.
FAQ
How do I add the Word Scramble block in WordPress?
Install Blockenberg from WordPress.org, edit a page in the block editor, click +, and search for “Word Scramble”. It sits under Interactive. After insert, open Content and set “Default Category”, “Default Difficulty”, “Time Limit (seconds)”, “Hints Allowed”.
Does Word Scramble need a server or extra plugin?
No. After Blockenberg is active, the view script runs in the browser with the values you saved on the block.
Is the Word Scramble Gutenberg block free?
Yes. Word Scramble ships inside Blockenberg. Get the plugin from WordPress.org — no paid add-on is required for this block.
Can I style Word Scramble to match my theme?
Yes. Blockenberg’s shared typography and color panels apply here, plus any block-specific style controls listed on this page (panels: Content, Game Settings).
Related interactive blocks
2048 Game
The classic sliding-tile 2048 puzzle. Swipe or use arrow keys to merge tiles and reach the 2048 tile.
Memory Game
Interactive card-flip memory matching game with emoji themes, difficulty levels, move counter, timer, and best score tracking.
Sudoku
Interactive Sudoku puzzle with difficulty levels, hints, mistake tracking, and timer. Full WYSIWYG preview in editor.
Tetris Game
A fully playable Tetris game block. Supports keyboard and on-screen controls, levels, score, and rich style customization.
Trivia Game
A timed multiple-choice trivia game with built-in questions across Science, History, Geography, and Pop Culture categories.
Bingo Card
Interactive 5×5 Bingo card with number calling, win detection, and celebration animations.
Get Blockenberg
Install Blockenberg from WordPress.org, then insert Word Scramble from the Gutenberg inserter.