Skip Navigation

Posts
96
Comments
192
Joined
3 yr. ago

  • Oh, I see. Phew, you gave me a scare for a moment. That I will fix right now, easy. Thanks for the feedback!

  • I am glad you like it!

  • Thank you for your feedback, I am glad you like it.

  • Do you have this problem from the start? Is this the only problem you are facing? Have you installed the dependecies?

  • Hahaha, it never entered my mind!

  • Oh, the FUN parts.

    I initially tried to incorporate past attempts to generate a sudoku 9x9 matrix, even added a backtracking routine that would detect and exclude duplicate solutions. Unfortunately, the whole process of generating a new puzzle was taking about 30". What is more, the outcome, although symmetrical and all, was not what I wanted. The routines were in c. You can have a look if you like:

    https://gitlab.com/christosangel/c-sudoku

  • Very cool!

  • Another alternative is to provide the user a few word lists (as you mentioned, they should be quite light), and from then on each one is free to choose their prefered one.

    It could be done with curl as well, but then if we did that, we would have another dependency: curl.

    I forgot to thank you for the feedback, and for your willlingness to help, it is appreciated.

  • I use both in my mint machine. I love both. However you see it, xfce is lighter in resources.

  • If someone wishes to play the game using a different word list, they can do so, editing LINE 17of the wordy.sh

     
        
    WORD_LIST="/usr/share/dict/words"
    
    
    
      

    change to

     
        
    WORD_LIST="/path/to/prefered/wordlist"
    
    
      

    I have already considered this before. I know that what you propose is quite easy. However I do not want to impose any other word list (that might even be considered "proprietary") to anyone, when the majority of the users's systems already have the default word list. So, whoever user want any other list, they can easily edit that line and go on enjoy the game using the list they like.

    Another solution is a config file instead of editing line 17. It is just as easy, but having a config file to configure just one parameter sounds not great.

  • 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.

  • 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.

    • As mentioned above, this script is using the word list contained in /usr/share/dict/words.

      If your distro doesn't include this installed, you can install the respective package (wordlist, words) using the respective command (apt, pacman).
    • ADDITIONALLY, if someone wishes to play the game using a different word list, they can do so, editing LINE 17of the wordy.sh

     
        
    WORD_LIST="/usr/share/dict/words"
    
    
    
      

    change to

     
        
    WORD_LIST="/path/to/prefered/wordlist"
    
    
      
  • It is, no doubt. xfce is lower though. In my 10 yo system xfce uses less ram than cinnamon.

  • Oh the word list issue is a matter of great debate. I opted for using the default word list just to avoid this matter (thinking that this list is something fixed and undebatable). It might be a good idea to make the word list configurable, so that each user may use their prefered word list. Stay tuned, I might do it the very near future.

  • Thanks!

  • Linuxmint with xfce, perfect.

  • 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

  • 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