Installation now requires Python3 due to a security issue with the YAML library.
-
Install libedit from http://thrysoee.dk/editline/ (aka: editline) on your system.
On Debian and Ubuntu:
apt-get install libedit-dev
.On Fedora:
dnf install libedit-devel
.You can also use pip to install PyYAML:
pip3 install PyYAML
. -
Change to the top-level directory of the source code (e.g.,
cd open-adventure
). -
Build with
make
. -
Optionally run a regression test on the code with
make check
. -
Run
./advent
to play. -
If you want to buld the documentation you will need asciidoctor.