This is a simple command-line game of Wordle implemented in Bash and SQL.
- Download the the repository:
git clone https://github.com/edusagnier/wordle_linux.git
- Give the script execution permissions with the command:
chmod +x installer.sh
- Run the installer script as ROOT:
./installer.sh
Important
The installer will install on Debian and RedHat Distro.
Warning
In the case of Debian needs the apt package managment and Redhat will need dnf
- Follow the on-screen instructions to complete the installation and configuration process.
Once the installation is complete, you would be ask if you want to play.
To start the game after installation run the main script wordle_game.sh.
Have fun playing Wordle!
-
Need to install mysql depending on your distribution & Start the sql service
-
Later in root go to the .sql files and
cat file1.sql | mysqland editcredentials.txtto user && password. -
Log in into mysql (still as root)
mysql
-
and create user and give permitions to that user on the databases created
CREATE USER '"$username"'@'localhost' IDENTIFIED BY '"$password"'; GRANT ALL PRIVILEGES ON wordle.* TO '"$username"'@'localhost'; GRANT ALL PRIVILEGES ON wordle_english.* TO '"$username"'@'localhost';
-
Later on the credentials.txt add the same user and password used for the data base.
vi credentials.txt user (put your user) password (put your password)