LoginSignup
2
0

More than 1 year has passed since last update.

LinuxでPICTを使う

Last updated at Posted at 2021-06-02

Excelがない

Macを使っている。
JSTQBの勉強でPICTを使いたいが、Excelが入ってないので、Linuxで実施する方法を調べてみた。

PICTのダウンロード

1.「https://github.com/Microsoft/pict」にオープンリソースとして公開されているので、ZIPからファイルダウンロード、解凍。もしくはcloneしてくる。
2.DLしたディレクトリに入り、「make」コマンドを実行する。 →ディレクトリ内にバイナリpictが作成される。

パーティ.txt
僧侶: 攻撃,回復魔法,防御
魔法使い: 攻撃,攻撃魔法,防御

上記のようなカンマ区切りのファイルに対して

./pict パーティ.txt

を実行すると以下のように組み合わせ一覧が出力される

僧侶 魔法使い
攻撃 攻撃
攻撃 攻撃魔法
攻撃 防御
回復魔法 攻撃
回復魔法 攻撃魔法
回復魔法 防御
防御 攻撃
防御 攻撃魔法
防御 防御
2
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
0