https://sabamiso-rrsc.github.io/RoboCupJunior-RescueMaze-MakeMap/draw_maze.html
RoboCupJunior Rescue Mazeカテゴリー用の迷路作成ツール
A tool to make maps for RoboCupJunior Rescue Maze

3次元マップに対応した迷路作成ツール
A tool for making 3D map
Fornax(X: https://x.com/Fornax_RRSC )はこのツールを用いて迷路探索アルゴリズムのテストを行っていました。
Team Fornax(X: https://x.com/Fornax_RRSC ) would often test maze exploring algorithm with this tool.
GUIによる迷路作成 /
Making map with GUI
.txt形式で保存 /
Save as .txt
保存されたファイルの読み込み /
Loading a saved file
download zipを押した後、「すべて展開」をする。そのあとフォルダの中から「draw_maze.html」 を開く。
Click "download zip" and then "Extract all" Then open "draw_maze.html" from the folder.
それぞれの軸について、スピナーボタンもしくは手入力でサイズを設定できます。(サイズの反映はトグルボタン押下時のみ行われます)
You can canfigurate each axis sizes with spinner button or manual input. (Updates are only reflected when spinner button is pushed)
マップの灰色の部分(壁がない状態)を押すと壁が作成されます。もう一度押すと灰色に戻ります。
clicking the gray are of the map (no_wall state) will get the state wall. clicking it again will return it to gray.
タイルには6つの状態があります。 / A tile has 6 states.

タイルがクリックされた時、画面上部のラジオボタンで選択されているタイルに上書きされます。
When a tile is clicked, it will overwrite the tile selected using the radio button.
「保存」ボタンを押すと、.txtファイルがダウンロードされます。
Click the "保存"(save) button and a .txt file will be downloaded.
「ファイルを読み込み」ボタンを押すと、ポップアップウィンドウが出現し、ファイルを選択すると、データが読み込まれます。
When you press the "Load File" button, a pop-up window will appear and you can select a file to load the data.
これは迷路データの一例です:
This is an example of maps:

maze.txt
1行目の「2 3 4」は迷路のサイズを表しています。高さ(z軸)方向に2, 縦(y軸)方向に3, 横(x軸)方向に4のサイズです。
The first line "2 3 4" represents the size of the maze: 2 in the height (z-axis) direction, 3 in the length (y-axis) direction, and 4 in the width (x-axis) direction.
2行目の「0 0 0」はスタートタイルの位置を表しています。z,y,xの順番です。
The second line "0 0 0" represents the position of the starting tile, in the order z, y, x.
それよりも下の行は壁およびタイルのデータです。
The rows below that are wall and tile data.
柱も位置合わせのために記録されています。
The pillars are also recorded as 0 for alignment purposes.
壁がある状態は1, ない状態は0として記録しています。
The state where there is a wall is recorded as 1, and the state where there is no wall is recorded as 0.
| 数字 | 色/役割 |
|---|---|
| 0 | white tile |
| 1 | black tile |
| 2 | blue tile |
| 3 | red tile |
| 4 | silver tile |
| 5 | up stair/slope |
| 6 | left stair/slope |
| 7 | down stair/slope |
| 8 | right stair/slope |
| 9 | start tile |