o-dka / Ccards

Card game written in C

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Ccards

A card game written in c , with a basic bot as the other player. Rules.

Prerequisites

to build :

to run:

Download

To download just:
git clone https://github.com/o-dka/Ccards.git
or click on a tag and dowload a zip file (binaries are there too sometimes, but aren't recommended). then

    mkdir build 
    cmake -G Ninja -S /src -B /build
    cd build && ninja (cd build ;; ninja) on windows in powershell

there should be a Ccards_0_0_* file, launch it.

What if I want to change something?

The deck_config.h file is here!
You can change the characters that appear in the middle of the card, the printing of it and values that are presented. Some options I advise not to change, like max values and deck sizes. You will need to re-build the program if you want settings to change.

About

Card game written in C

License:Apache License 2.0


Languages

Language:C 95.3%Language:CMake 4.7%