Skip to content
This repository has been archived by the owner on Sep 6, 2022. It is now read-only.

A small text-based implementation of solitaire in C.

License

Notifications You must be signed in to change notification settings

joshuacrotts/terminal-solitaire

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Terminal Solitaire

CodeFactor GitHub contributors GitHub commit activity GitHub repo size GitHub issues open GitHub issues closed

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.

Dependencies

The only dependency for this project is the ncurses library, which is preinstalled on most Linux distributions.

Rebuilding Terminal - Solitaire

Linux: To rebuild the code, clone the repository to your computer. Assuming that you have ncurses installed, the project should compile without question.

Known Issues

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.

Reporting Bugs

See the Issues Tab.

Version History

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.

Releases

No releases published

Packages

No packages published