Check-in [b2ea244589]
Not logged in
Overview
SHA1 Hash:b2ea2445891143da907f30eae1db8b88f5356417
Date: 2012-07-16 14:02:08
User: kinaba
Comment:Switcher implemented.
Timelines: family | ancestors | descendants | both | trunk
Diffs: redesign
Downloads: Tarball | ZIP archive
Other Links: files | file ages | manifest
Tags And Properties
Changes

Modified score_memo.txt from [80c37c10a3b0a423] to [5b6f8652e6da339c].

15 15 flood5 561? 16 16 trampoline1 291 // むずかしい岩崩し 17 17 trampoline2 1732? 18 18 trampoline3 698 // "上に岩" ワープゾーン版 19 19 beard1 856? 20 20 beard2 2792 // 崩すの怖がりすぎて間に合わなくなって溺死 21 21 beard3 811 // 無理ゲー:速攻で髭刈らないといけない 22 -beard4 1950 // 髭を解放しないように動くゲー 22 +beard4 1997 // 髭を解放しないように動くゲー 23 23 beard5 665 // これクリアできるの 24 24 horock1 333 25 25 horock2 235 26 26 horock3 1542

Modified src/solver.d from [77a8a9a8973002b1] to [25a73167930e3586].

704 704 } 705 705 } 706 706 707 707 return ""; 708 708 } 709 709 } 710 710 711 +class Switcher 712 +{ 713 + this(in Game g) 714 + { 715 + if(g.map.W*g.map.H <= 1600) 716 + sub_solver = new 侵掠如火!(徐如林)(g); 717 + else 718 + sub_solver = new 侵掠如火!(疾如風)(g); 719 + } 720 + char single_step() { return sub_solver.single_step(); } 721 + void force(char c) { return sub_solver.force(c); } 722 + 723 + private Solver sub_solver; 724 +} 725 + 726 +alias Switcher MainSolver; 711 727 //alias 侵掠如火!(疾如風) MainSolver; 712 728 //alias 侵掠如火!(徐如林) MainSolver; 713 -alias 疾如風 MainSolver; 729 +//alias 疾如風 MainSolver; 714 730 //alias 徐如林 MainSolver; 715 731 //alias 不動如山 MainSolver;