Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Words occasionally overlap #11

Open
Waccsadac opened this issue Aug 26, 2022 · 0 comments
Open

Words occasionally overlap #11

Waccsadac opened this issue Aug 26, 2022 · 0 comments

Comments

@Waccsadac
Copy link

Waccsadac commented Aug 26, 2022

Occasionally two words in the same direction overlap. For example:

{
clue: 'just born',      
      answer: 'baby',
      orientation: 'down',    
      startx: 16,
      starty: 15
}

{
      clue: 'feline',
      answer: 'cat',
      orientation: 'down',
      startx: 16,
      starty: 14,
}

For some reason with these specific words it happens nearly all of the time:
baby, cat, nicotine, chocolate
Baby and cat consistently overlap as do nicotine and chocolate.
For now I am doing manual checks to ensure this doesn't happen, but I'm stumped as to what's going on here.

I am currently generating the crosswords by selecting 5 random words from the following:
baby, cat, university, nicotine, chocolate, cactus, aquarium. The two aforementioned pairs consistently overlap when they are selected regardless of the other words.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant