Created
October 3, 2012 06:34
-
-
Save kana/3825418 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
yl 現在のマスの状態を調べる | |
@= | |
@0=="G" ゴールに着いた? | |
? "maGD\"=@-+1\rP`a" 見つかった解の数を+1する。 | |
: @0==" " 通路に居る? | |
? "r.l@1hj@1kh@1lk@1jr " 今のマスを訪問済みにマーク(r.)して、十字隣接するマスを調べて(l@1h...)、今のマスを未訪問に戻す(r )。 | |
: "" 冒険は終わった。 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Looks like haml