rp-scrabble
Simple, terminal-based Scrabble game
|
Feel free to go through the docs to get to know about how this project works!
This is a command-line Scrabble game written in C++ to explore object oriented programming.
Find the GitHub repo here
v1.0
MUST re-install the application as the update to v1.1
or higher contains breaking changescmake
git
make
g++
For Arch and Arch-based distributions (Manjaro, Artix, etc)
$ sudo pacman -S cmake git gcc --needed
For Debian and Debian-based distributions (Ubuntu, Pop_OS, etc)
$ sudo apt update && sudo apt install cmake git g++
Clone this repo
$ git clone https://github.com/CodePurble/rp-scrabble.git
Move into project directory
$ cd rp-scrabble
Build
Run the install script with the appropriate argument-
$ ./install.sh arch # for Arch based distributions (Manjaro, Artix, etc)
$ ./install.sh debian # for Debian based distributions (Ubuntu, Pop_OS, etc)
$ ./install.sh custom # for other distributions
rp-scrabble
should launch the game.If it doesn't launch, check the output of $ echo $PATH
. If it does not contain your-home-dir/.local/bin
, add it to your PATH
like this-
$ echo "export PATH=$PATH:$HOME/.local/bin" >> $HOME/.bashrc
$ source $HOME/.bashrc
git pull
every once in a while in the project directory. Remember to rerun the install script after pulling to bring any changes into effect.Log files are stored in
$HOME/.local/share/rp-scrabble/logs
To uninstall, run the install script with the uninstall
argument in the project directory
$ ./install.sh uninstall
NOTE This will also remove any log files created