Justworks Interview Question

How would you code a word search game?