this post was submitted on 05 Sep 2023
37 points (97.4% liked)

commandline

1747 readers
1 users here now

founded 1 year ago
MODERATORS
 

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.

top 7 comments
sorted by: hot top controversial new old
[–] zero_iq@lemm.ee 7 points 1 year ago (1 children)

Ironically, you have a spelling mistake in your interface. "Begginer" should be spelled "Beginner".

[–] christos@lemmy.world 5 points 1 year ago* (last edited 1 year ago)

Well, these things happen, especially if english is a foreign language.

Thanx for pointing out, it is now fixed.

[–] __little_omega@lemmy.world 2 points 1 year ago (1 children)
[–] christos@lemmy.world 1 points 1 year ago
[–] christos@lemmy.world 1 points 1 year ago

A couple of interesting features:

  • The selection of letters is random, so, the number of words - solutions is also random. However the user can configure the range of the number of words - solutions, editing the ~/.config/spelion/spelion.config file. That means that the puzzle can have e.g. between 10 and 30 solutions, or between 50 and 100 etc.
  • The user can avoid the frustration of not ever knowing the right answers when no other solutions come to mind: with the W option the user can browse the list of all possible solutions to the puzzle.

Thank you for your feedback, any other suggestion/correction/input is most welcome.

[–] christos@lemmy.world 1 points 1 year ago

Update: Another feature has been added to the script, lolcat helps show the Highscores in color, and therefore more fun.

The user can configure whether the highscores are shown in color or not.

This is done again by editing the value HISCORE_COLOR (yes / no) in $HOME/.config/spelion/spelion.config

[–] christos@lemmy.world 1 points 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.