Q726kbXuN / nytxw_puz

Turn NY Times crosswords into Across Lite files
The Unlicense
41 stars 10 forks source link

Deal with 2022-05-01 'Blank Expressions' grid #20

Closed edsantiago closed 2 years ago

edsantiago commented 2 years ago

Solution grid includes blank characters without an 'answer' dict element, but with a multi-value 'moreAnswers' array containing:

 ["NOTHING", "EMPTY", "BLANK", "X", "?", "-"]

If we see 'moreAnswers' without 'answers', look for and return the first single-character entry in the array. If none, return 'X'

Signed-off-by: Ed Santiago ed@edsantiago.com