cross-posted from: https://lemmy.world/post/4516333

Spelion is a word spelling puzzle.

https://gitlab.com/christosangel/spelion

Using just the given 7 letters, you are called to form as many words as possible.

Rules

  • The word that you form must include the center letter.
  • You don’t have to use all the other letters.
  • Minimum length of the word that you create is four letters.
  • Any given letters can be used more than one time in a word.
  • The word list is contained in /usr/share/dict/words, minus words with upper-case letters, words with apostrophe and words containing letters with accent marks.

Name

The name SPELION was just a made up word with letters that could form the root spel(l), while at the same time these letters could appear in a (recursive) Spelion puzzle. The name stuck when I found out that by pure chance Spelion was also an anagram of the greek letter epsilon.

  • pensivepangolin@lemmy.world
    link
    fedilink
    English
    arrow-up
    8
    arrow-down
    1
    ·
    1 year ago

    Quick pointer you may wanna add to the readme:

    This depends upon /use/share/dict/words which doesn’t necessarily exist on all systems. To try this out on an arch-based district, (Manjaro,) I had to install the package “words” with yay.

      • pensivepangolin@lemmy.world
        link
        fedilink
        English
        arrow-up
        2
        arrow-down
        1
        ·
        1 year ago

        I’ll have you know that fixing things that don’t work for no reason is my favorite thing to do on a distro /s

        While I kid, I have been on Manjaro for 5 years as a daily driver. I know it’s team gets a lot of hate, but it’s been rock solid for me for all my normal usage.

      • cbarrick@lemmy.world
        link
        fedilink
        English
        arrow-up
        3
        ·
        1 year ago

        For Arch based systems, the command is:

        # pacman -S words
        

        On Debian based systems, I think the command is:

        # apt install wordlist
        

        The wordlist package is a virtual package. I think it will prompt the user which concrete package (i.e. language) they want to install.

        I’m not sitting at a machine to test these commands out.

        • christos@lemmy.worldOP
          link
          fedilink
          arrow-up
          2
          ·
          1 year ago

          Thank you for this response. I will mention /use/share/dict/words as a dependency for this script in the README. However, as I am not an Arch user, and thus not familiar with aur and respective commands, and as installing this dependency would be beyond the scope of this project, I will ommit giving precise instructions on how to install this package.

          • pensivepangolin@lemmy.world
            link
            fedilink
            English
            arrow-up
            1
            ·
            1 year ago

            I think that’s a perfectly reasonable stance. Just mention the need to install the “words” package if it it throws an error saying /use/share/dict/words can’t be found. It took me about three minutes to solve and I’m only a hobbyist!

            By the way, love this project! I forgot to say that in my initial reply :)

            • christos@lemmy.worldOP
              link
              fedilink
              arrow-up
              2
              ·
              1 year ago

              UPDATE:

              The word list now is configurable.

              By editing the WORD_LIST line in $HOME/.config/spelion/spelion.config, the user can play the game using another word list.

            • christos@lemmy.worldOP
              link
              fedilink
              arrow-up
              1
              ·
              1 year ago

              I already updated the README, mentioning the dependency.

              Thank you very much for the feedback and the kind words!