tqi

command
v0.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 11, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Tqi starts an interactive TunaQuest engine session.

It reads in a world file and starts the game in the designated starting position, or in the previously saved position if loading a saved game. The interpreter will then start printing what is happening in the game to stdout and will read user input from stdin until the game is over or the "QUIT" command is input.

Usage:

tqi [flags]

The flags are:

-version
	Give the current version of TunaQuest and then exit.

-w/-world [FILE]
	Use the provided TQW resource file for the world. Defaults to the file
	"world.tqw" in the current working directory.

-d/--direct
    Force reading directly from the console as opposed to using GNU readline
	based routines for reading command input even if launched in a tty with
	stdin and stdout.

-c/--command
	Immediately run the given command(s) at start. Can be multiple commands
	separated by the ";" character.

Once a session has started, the user input will be parsed for TunaQuest commands. For an explanation of the commands, type "HELP" once in a session. To exit the interpreter, type "QUIT".

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL