Skip to content

lunathanael/CGK

Repository files navigation

Console Game Klodike

Youtube playlist at: https://www.youtube.com/playlist?list=PLgp7t87ySS0aZ5q7k-7hsHrH0iMTN27uM

Klondike in C++

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.

Features

Customizable Settings: Easily modifiable game options
CLI: User-friendly command line interface with a help menu.\

Getting Started

Prerequisites

  • C++ Compiler
  • Basic understanding of the game of Klondike.

Installation

Clone the repository to your local machine:

git clone https://github.com/lunathanael/Klondike.git

Usage

  1. Modify relevant options in types.h.
  2. Navigate to the direction and build with make release.
  3. Run Klonedike.exe via the terminal, and use help to access commands.

Code Examples

// types.h
#define NUMBER_OF_DECKS 1
#define NUMBER_OF_PILES 7

#define NUMBER_OF_SUITS 4
#define CARDS_IN_SUIT 13
...
image

Contributing

Contributions to enhance the functionality or efficiency of the Klondike Solitaire game are welcome

License

This project is licensed under the MIT License - see the LICENSE.md file for details.

Contact

Nathanael Lu - Email
Check out my website

Project Link