MhmRhm / FTowerX

Tower of Hanoi Implemented by FTXUI

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

The FTowerX

An implementation of Tower of Hanoi using FTXUI. This is a game you can play in any terminal.

Demo image

The contents of ./.devcontainer are used to create a cross-platform containerized development environment using the provided Dockerfile. If you are using vscode, look into Remote Development extension.

  • Read the ./INSTALL and provide dependencies.
  • In-source builds are not allowed and disabled(see ./cmake/NoInSourceBuilds.cmake). Use as follows:
  • You should be good to go!
cmake -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_C_COMPILER=clang -B ../build-llvm-debug -S .
cmake -DCMAKE_CXX_COMPILER=g++ -DCMAKE_C_COMPILER=gcc -B ../build-gcc-debug -S .
cmake --build ../build-gcc-debug
cmake --build ../build-llvm-debug
  • You can also use presets provided with the project in CMakePresets.json. Your IDE should support that or:
cmake --preset <configurePreset>

About

Tower of Hanoi Implemented by FTXUI

License:The Unlicense


Languages

Language:C++ 48.8%Language:CMake 48.5%Language:Dockerfile 2.7%