theoforger / mastermind

An LLM-powered CLI tool to help you be a better spymaster in Codenames
GNU General Public License v3.0
3 stars 2 forks source link

Fix whitespace issues #10

Closed theoforger closed 2 months ago

theoforger commented 2 months ago

Some cards on the board can have more than one word, for example scuba diver. This could cause issue since the code used split_whitespace() to extract words.

This PR fixes this issue by changing the delimiter to , instead, and changing the system prompt accordingly.

Also changed the example files to use a real board of Codenames instead of randomly generated words.

theoforger commented 2 months ago

GitHub Actions passed.