This repository is a fork from the (https://github.com/uchicago-cs/chiventure) project. I was mainly responsible for the development of NPC battle features, and my contributions can be found specifically on issues #836, #879, and #893. The codes from me can be found on src/npc
, include/npc
, and tests/npc
, as well as Wiki page "RPG NPC: Independent Feature: NPC Movement Design Document"
このリポジトリは、(https://github.com/uchicago-cs/chiventure) プロジェクトからのフォークです。 私は主に NPC 戦闘機能の開発を担当しており、貢献はissue #836、#879、および #893 にあります。 作成したコードは、src/npc
、include/npc
、tests/npc
、および Wiki ページ「RPG NPC: Independent Feature: NPC Movement Design Document」にあります。
chiventure is a text adventure game engine. In other words, chiventure is not an individual game but, rather, a platform that allows game authors to develop text adventure games using WDL (World Description Language) files.
chiventure uses CMake. To build, run
mkdir build
cd build
cmake ..
chiventure depends on JSON-C
, Curses
, and criterion
. CMake will warn if any of these are not installed with an error of the form "Could NOT find <library>
"
If you are missing any of the libraries, see docs/dependencies.md for information on how to install them
To run chiventure with a WDL file, run:
./chiventure <path_to_wdl_file>
To try a sample game, from inside the build directory, run
./chiventure ../tests/wdl/examples/wdl/connected-rooms.wdl
Once inside chiventure, you can type HELP
for the list of available commands.
You can also run chiventure without specifying a WDL file:
./chiventure
However, at the moment, it is not possible to load a WDL file from inside chiventure.
To write a game in chiventure, see wdl.md for a specification of the WDL language.
Example games can be found in tests/wdl/examples/
, such as test.wdl