This code is a forward-port of the Crowther/Woods Adventure 2.5 from 1995, last version in the main line of Colossal Cave Adventure development written by the original authors. The authors have given permission and encouragement for this release; it obsolesces all the 350-point versions and previous 2.x (430-point) ports.
cd Ports/open-adventure
./package.sh
If you receive an error like ImportError: No module named yaml
- check the python binary full path that's running when compiling open-adventure
port.
- ensure that it is not loading the native python binary that is part of the underlying OS package (e.g. Ubuntu's python3)
- to validate, do a which python3
- if the resulting output is something similar to $SERENITY_SOURCE_DIR/Toolchain/Local/python/bin
- use the pip3 binary of Toolchain/Local/python/bin and do a:
./pip3 install pyyaml
Toolchain/Local/python/bin$ ./pip3 install pyyaml
Collecting pyyaml
Downloading PyYAML-6.0.2-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (2.1 kB)
Downloading PyYAML-6.0.2-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (759 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 759.5/759.5 kB 10.3 MB/s eta 0:00:00
Installing collected packages: pyyaml
Successfully installed pyyaml-6.0.2
- Proceed with compiling the package
Website: https://gitlab.com/esr/open-adventure/
Port: https://github.com/SerenityOS/serenity/tree/master/Ports/open-adventure