Youtube playlist at: https://www.youtube.com/playlist?list=PLgp7t87ySS0aZ5q7k-7hsHrH0iMTN27uM
This project implements a game of Klondike in C++ with a video tutorial. It's designed to provide a practical and flexible foundation for simulating the game.
Customizable Settings: Easily modifiable game options
CLI: User-friendly command line interface with a help menu.\
- C++ Compiler
- Basic understanding of the game of Klondike.
Clone the repository to your local machine:
git clone https://github.com/lunathanael/Klondike.git
- Modify relevant options in
types.h
. - Navigate to the direction and build with
make release
. - Run
Klonedike.exe
via the terminal, and usehelp
to access commands.
// types.h
#define NUMBER_OF_DECKS 1
#define NUMBER_OF_PILES 7
#define NUMBER_OF_SUITS 4
#define CARDS_IN_SUIT 13
...
![image](https://private-user-images.githubusercontent.com/68858103/290713025-f206b1f7-150e-4165-89b5-7903d67a18a7.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjM4NjE5NzksIm5iZiI6MTcyMzg2MTY3OSwicGF0aCI6Ii82ODg1ODEwMy8yOTA3MTMwMjUtZjIwNmIxZjctMTUwZS00MTY1LTg5YjUtNzkwM2Q2N2ExOGE3LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MTclMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODE3VDAyMjc1OVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTM0MTU1YzJhY2UzZjEyODIwYzk4NzE3YjcwOWNiZWRkNTdjNzQ5ZDcwYTRhNDIzYmYwN2U0ZmYyYjc1NzQyYjgmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.jLU-Hz1nPAIENxq3Y6dRNmGOyUILFYnrrnZ7tJcVrwA)
Contributions to enhance the functionality or efficiency of the Klondike Solitaire game are welcome
This project is licensed under the MIT License - see the LICENSE.md file for details.
Nathanael Lu - Email
Check out my website
Project Link