Skip to content

edusagnier/wordle_linux

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

65 Commits
 
 
 
 
 
 

Repository files navigation

Wordle Game

This is a simple command-line game of Wordle implemented in Bash and SQL.

Index

Installation on linux

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

How to Play

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!

Install Manualy

  • Need to install mysql depending on your distribution & Start the sql service

  • Later in root go to the .sql files and cat file1.sql | mysql and edit credentials.txt to 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)

About

Command-line game of Wordle implemented in Bash and SQL.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages