Home > Puzzle > Variable Type Blocks
Loading game…
🎮 How to play:Replace A and B with two nonempty strings so the pattern prints the target. Set each string’s length. Every occurrence of a variable must print exactly the same string.

About this game

Category:Puzzle | Updated:2026-12-05

Replace A and B with two nonempty strings so the pattern prints the target. Set each string’s length. Every occurrence of a variable must print exactly the same string.

How to Play

🎯 Multiply each proposed length by its number of appearances. The sum must equal the target length.

🎮 Replace A and B with two nonempty strings so the pattern prints the target. Set each string’s length. Every occurrence of a variable must print exactly the same string.

Example · Opening board · ABAAB · A = KI, B = M ⇒ KIMKIKIM

Frequently Asked Questions

How do you play Variable Type Blocks?
Replace A and B with two nonempty strings so the pattern prints the target. Set each string’s length. Every occurrence of a variable must print exactly the same string.
What is a good strategy for Variable Type Blocks?
Multiply each proposed length by its number of appearances. The sum must equal the target length.