WarriorJS Docs
  • Player
  • Maker
  • Topluluk
  • Türkçe
    • English
    • العربية
    • Català
    • Čeština
    • Deutsch
    • Ελληνικά
    • Español
    • Français
    • Italiano
    • Polskie
    • Русский
    • Српски језик (Ћирилица)
    • Svenska
    • 中文
    • 繁體中文
    • Çeviriye Yardım Edin
  • GitHub

›CLI

Oyun

  • Genel Bakış
  • Nesne
  • Oynanış
  • Perspektif
  • Puanlama
  • Destansı Mod
  • Towers

Concepts

  • Units
  • Savaşçı
  • Yetenekler
  • Alanlar

Player API

  • Alan API'ı
  • Unit API
  • Turn API

İpuçları & Püf Noktaları

  • Genel
  • JavaScript
  • Artificial Intelligence
  • 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