Code Monkey home page Code Monkey logo

rp-scrabble's Introduction

rp-scrabble

This is a command-line Scrabble game written in C++ to explore object oriented programming.

NOTICE for users of v1.0

  • Users of v1.0 MUST re-install the application, as the update to v1.1 or higher contains breaking changes
  • All future updates will conform to these changes

Build requirements

It is required that you have some kind of Linux environment available. If you are not on a Linux machine, either use a VM or, if you are on Windows, set up WSL.

The build dependencies are:

  • cmake
  • git
  • make
  • g++

To install them, run-

# 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++

Build instructions

  • 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 and Arch-based distributions (Manjaro, Artix, etc)
$ ./install.sh debian # for Debian and Debian-based distributions (Ubuntu, Pop_OS, etc)
$ ./install.sh custom # for other distributions
  • Now, simply running 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-
# You can replace $HOME/.bashrc with whatever shellrc you use
$ echo 'export PATH=$PATH:$HOME/.local/bin' >> $HOME/.bashrc
$ source $HOME/.bashrc

Other notes

  • You can find the documentation for this project here
  • Keep the repo up to date by running 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

  • If you find any problems, please open up an issue

rp-scrabble's People

Contributors

codepurble avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

rp-scrabble's Issues

v1.1.4 is broken

The latest build is broken and is not working. I recommend sticking to v1.1.3 for now. A fix is underway.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.