Usage
Get started
- Choose a Seed to generate an input in Input.
- Run your solution locally and paste its output into Output.
- Press ▶ to play the animation. Use the slider to change the display position, and Speed to adjust the playback speed.
Load and save
- Download: save #cases inputs, starting from Seed.
- Select directory: choose a folder of output files and switch between them. Names such as
1234.txtorabcd_1234.txtautomatically select seed 1234; other names use seed 0. - Export: save the current image as PNG, or the animation as GIF or Video at the current Speed.
Reading the grid
- The black dot is Takahashi, and purple rings are magic circles. They may overlap. On the right, p shows Takahashi's coordinates, and Magic circles lists the coordinates of each circle. If multiple circles occupy the same cell, its coordinates appear once for each circle.
- The red dot is the next destination, solid blue dots are unvisited destinations, and light gray rings are visited destinations. Hover to see cell coordinates, destination indices, visit status, and other details in a single tooltip.
- Black lines show the last trail_length operations. trail_length is an integer from 1 to 256, with a default of 16. If fewer than trail_length operations precede the displayed position, all of them are shown. Walking uses solid lines, and teleportation uses dashed lines. Purple dotted lines connect the cell where a circle was removed to the cell where a new circle was drawn during teleportation. On the right, op shows the last operation. J a b means teleporting using a magic circle at (a, b).
使い方
まず使ってみる
- Seed を選ぶと、Input に入力が生成されます。
- 解答プログラムをローカルで実行し、出力を Output に貼り付けます。
- ▶ で再生します。スライダーで表示位置、Speed で再生速度を変更できます。
ファイルの読み込み・保存
- Download:Seed から連続する #cases 個の入力をまとめて保存します。
- Select directory:出力ファイルのフォルダを選ぶと、ファイルを切り替えられます。
1234.txtやabcd_1234.txtの形式なら Seed も自動で 1234 に切り替わり、それ以外の名前は Seed 0 で開きます。 - Export:現在の画像を PNG、アニメーションを現在の Speed で GIF または Video に保存します。
盤面の見方
- 黒い点が高橋くん、紫の円が魔法陣です。重なりは許されます。右側の p は高橋くんの座標、Magic circles は各魔法陣の座標です。同じマスに複数ある場合は同じ座標をその個数だけ表示します。
- 赤い点が次の目的地、青い塗りつぶしの点が未訪問、薄いグレーの輪が訪問済みの目的地です。カーソルを合わせると、一つのツールチップにマス座標や目的地番号・訪問状態などを表示します。
- 直近 trail_length 手の移動を黒い線で示します。trail_length は 1〜256 の整数で指定でき、既定値は 16 です。表示位置までの操作が trail_length 手未満なら、そのすべてを表示します。歩行は実線、転移は破線です。転移時の紫の点線は、魔法陣を一つ消したマスと新たに描いたマスを結びます。右側の op は直前の操作です。J a b は座標 (a, b) の魔法陣を使う転移を表します。