Matching answers
View as MarkdownStreamArena matches guesses loosely on purpose: a viewer who types the lion kng!! for "The Lion King" got it right. Every guess is normalized, then compared word by word with a small typo allowance that grows with the length of the answer.
What matching ignores
Section titled “What matching ignores”- Case and accents:
AMÉLIEmatches "Amelie". - Punctuation and a leading "the".
- Filler words, like "is it", "i think", "maybe" or "my answer".
- Small typos, including two swapped letters.
A guess that lists several titles at once, like matrix dune frozen, does not match.
Typo allowance
Section titled “Typo allowance”| Answer length | Typos allowed |
|---|---|
| Up to 4 letters | 0 |
| 5 to 7 letters | 1 |
| 8 to 12 letters | 2 |
| Longer | 3 |
In your game
Section titled “In your game”text.matches(answers) is true for a match, and text.isClose(answers) for a near miss. Outside a round, Playcade.match() does the same:
Playcade.match('the lion kng', ['The Lion King']).ok // true