https://gitlab.com/christosangel/wordy

Wordy is a word spelling puzzle.

You have 6 guesses to find out the secret 5-letter word.

https://gitlab.com/christosangel/wordy/-/raw/main/png/wordy.gif


  • If a letter appears green, that means that this letter exists in the secret word, and is in the right position.

  • If a letter appears yellow, that means that this letter exists in the secret word, but is in NOT the right position.

  • If a letter appears red, that means that this letter does NOT appear in the secret word AT ALL.


The user can select to play with HARD MODE enabled, just to make things more challenging.

This is done be selecting to Configure (c) in the main menu.

Alternatively, it can be toggled by the 4 option with the keyboard or mouse, but only before the first word is submitted.

Playing with Hard Mode enabled means the following for the next guesses:

  1. Letters proven green must remain in that exact position in the next guesses.

  2. Accordingly, yellow letters must be included in the next guesses,until placed correctly.


Full mouse support has been introduced in the updated version of the game. That means that the player can select menu options and enter words during the game using the mouse as well as the keyboard.


Depending whether the player toggles the Legend, Info or Mouse Support, the game layout changes accordingly:

https://gitlab.com/christosangel/wordy/-/raw/main/png/layouts.gif


No A.I. was used during the development of this project.


Feedback will be appreciated, enjoy!

  • communism@lemmy.ml
    link
    fedilink
    arrow-up
    11
    ·
    17 hours ago

    Impressive to do it in Bash. How come you chose Bash instead of a programming language that would make this sort of thing easier? Learning exercise?

    • christos@lemmy.worldOP
      link
      fedilink
      English
      arrow-up
      12
      ·
      17 hours ago

      Well, what can I say, I like Bash. This project started as a one-liner, and improved from there. I guess it could be written in Python, or in C if you are adventurous enough, but it seemed way easier to not invent the wheel all over, and use the magic powers of grep.

      • confusedpuppy@lemmy.dbzer0.com
        link
        fedilink
        arrow-up
        6
        ·
        15 hours ago

        I enjoy writing POSIX scripts and it gets a lot of reactions. Sure I could use a higher level language but I love the oddities and strangeness of POSIX shell.

        I definitely have more fun working with a limited canvas so I get why people would use bash.

        Plus all anyone needs to get started is a text editor. No list of dependencies or compilers, just get in and go :)

    • eldavi@lemmy.ml
      link
      fedilink
      English
      arrow-up
      4
      arrow-down
      1
      ·
      16 hours ago

      funny you say this since i went into java, ruby and python because bash made it difficult.

      fast forward 20 years and i’m working as a devops engineer and absolutely 👏 every 👏 single 👏 shop is absolutely DOMINATED by bash – yes there’s plenty of python et. al; but bash is clearly doing the heavy lifting. :p