aboutsummaryrefslogtreecommitdiffstats

Hanoi, a simple implementation of famous game in C++

Original document location.

Git Repository

This project's canonical repositories is hosted on Gothel Software.

Goals

This project has been created to demonstrate a simple game written in modern C++ for our computer science class.

Implementation follows the Tower of Hanoi game rules including recording and replay of moves.

Supported Platforms

C++17 and better where the ncurses library is supported.

Building Binaries

The project requires make, g++ >= 8.3 and ncurses for building.

Installing build dependencies on Debian (11 or better):

apt install git build-essential g++ gcc libc-dev make
apt install libncurses-dev

For a generic build use:

git clone https://jausoft.com/cgit/cs_class/hanoi.git
cd hanoi
make

The binary shall be build to hanoi.