Skip to content

Manewing/cxxg

Repository files navigation

cxxg

License: MIT GitHub CI

A set of C++ console games for Unix systems together with a small library for accessing and modifiying the terminal screen.

List of games:

  • 2048:
  • MasterMind:
  • Tetris

Build

In order to build cxxg you need cmake (version >= 3.5).

  1. Initialize submodules

    git submodule update --init --recursive
    
  2. Install cmake:

    sudo apt install cmake # Ubuntu
    brew install cmake # Mac OS (brew)
    
  3. Configure and build cxxg, default BUILD_TESTS=OFF:

    cd cxxg;
    mkdir build && cd build;
    cmake ../ -DBUILD_TESTS=[ON/OFF]
    make
    

Screenshots

2048

Screenshot 2048

MasterMind

Screenshot MasterMind

About

C++ Console Games

Resources

License

Stars

Watchers

Forks

Packages

No packages published