Terminal - Solitaire is an implementation of the classic Solitaire game... but in the terminal! Instead of dragging cards around the screen, commands are used to move cards from the stock to waste, foundations, and layouts.
The only dependency for this project is the ncurses library, which is preinstalled on most Linux distributions.
Linux: To rebuild the code, clone the repository to your computer. Assuming that you have ncurses installed, the project should compile without question.
There are some inconsistencies in the codebase; the parsing file is not the most efficient, there may be some memory leaks but I haven't verified this with Valgrind. Plus, it's possible to move any card to any deck at this time. Functions that serve as rules (e.g. blocking same-color cards on top of each other in a layout, prohibiting non-same suit cards in a foundation) do exist, but are yet to be implemented in the code.
See the Issues Tab.
The master branch encompasses all significant changes. The development branch has in-progress additions and updates that are not yet ready for the master branch.