WarriorJS Docs
  • Игрок
  • Разработчик
  • Сообщество
  • Русский
    • English
    • العربية
    • Català
    • Čeština
    • Deutsch
    • Ελληνικά
    • Español
    • Français
    • Italiano
    • Polskie
    • Српски језик (Ћирилица)
    • Svenska
    • Türkçe
    • 中文
    • 繁體中文
    • Помочь с переводом
  • GitHub

›CLI

Игра

  • Обзор
  • Объект
  • Игровой процесс
  • Перспектива
  • Система баллов
  • Эпический режим
  • Towers

Основы

  • Существа
  • Воин
  • Способности
  • Разделы

API игрока

  • API Областей
  • Unit API
  • API Хода

Советы и Подсказки

  • Основныe
  • JavaScript
  • Искусственный Интеллект
  • CLI

CLI

  • Install
  • Options
Translate

Options

There are various options you can pass to the warriorjs command to customize the game. You can run warriorjs --help to see all the available options.

Here is a detailed list:

--directory <path>

Path to a directory under which to run the game. By default, the current working directory is used.

--level <number> (epic mode only)

Practice a level. Use this option on levels you are having difficulty or want to fine-tune the scoring.

--silent

Suppress play log. Use this option if you just care about the outcome of playing a level, and not each step of the play.

--time <seconds>

Delay each turn by seconds. By default, each step of each turn is delayed by 0.6 seconds.

--yes

Assume yes in non-destructive confirmation dialogs.

← Install
  • --directory
  • --level (epic mode only)
  • --silent
  • --time
  • --yes
WarriorJS Docs
Docs
PlayerMaker
Community
SpectrumTwitterFollow WarriorJS on Twitter
More
DonateGitHubStar