Factor out board setup, make minWordLength based on dynamic data