Package com.bdtripp.hauntedhouse.engine
Class CliRunner
java.lang.Object
com.bdtripp.hauntedhouse.engine.CliRunner
Runs the game in a command-line environment.
The CliRunner initializes the game engine, reads player input from the terminal, converts it into
commands, and prints the resulting output until the session ends.
- Author:
- Brian Tripp
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
CliRunner
public CliRunner()Initializes the parser and game engine for cli play.
-
-
Method Details
-
main
The main entry point. Creates a CliRunner and runs it.- Parameters:
args- command-line arguments
-