comparison README @ 283:34fd5bcd4cf8

add some explan in README
author billy3321@f3svr.f3.csu.edu.tw.f3.csu.edu.tw
date Fri, 05 Dec 2008 15:39:49 +0800
parents fcc5535266c2
children 9c9d7a59420a
comparison
equal deleted inserted replaced
282:fcc5535266c2 283:34fd5bcd4cf8
42 42
43 * Run the bot, 'perl agent.pl' (mark the 'eval' call in triggerAction for avoid action triggered by the bot.) 43 * Run the bot, 'perl agent.pl' (mark the 'eval' call in triggerAction for avoid action triggered by the bot.)
44 * Update the islands information by runing 'perl scan.pl' 44 * Update the islands information by runing 'perl scan.pl'
45 * List sheeps, 'perl sheep.pl' (run scan.pl first) 45 * List sheeps, 'perl sheep.pl' (run scan.pl first)
46 * Plan multi-wave attack, 'perl planner.pl targetCity navyCity armyCity wingman1.. wingman2..' All citys defined by city ID. 46 * Plan multi-wave attack, 'perl planner.pl targetCity navyCity armyCity wingman1.. wingman2..' All citys defined by city ID.
47
48 1. scan.pl 找附近的群島資訊
49 2. agent.pl 收集自己的兵力與座標資訊 (這個會幫你蓋東西,要小心)
50 3. planner.pl 自動規劃計算海陸軍出兵城
51 4. 改寫,並跑 planner.pl 生出來的 task.pl
52 task.pl 會包含你所有的兵力,兵力再依據情報與敵方狀態調整
53 第一波,我設定通常是攻略輸,防守高於對方攻擊力,確保撐過第一回合
54 第二回合就會有其他城來的兵�J[彙整,以絕對武力壓制
55 通常敵方會剩下一半兵力,我第一波會損兩三隻
56 這樣好處是容易一次就搶滿運輸船
57