changeset 290:2cdf6c6bfd0e

merged.
author "Rex Tsai <chihchun@kalug.linux.org.tw>"
date Fri, 05 Dec 2008 20:22:20 +0800
parents 4c1eb583b97c (current diff) 34fd5bcd4cf8 (diff)
children 73c9bf517155 15c288dd7dc5
files
diffstat 1 files changed, 11 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/README	Fri Dec 05 20:22:01 2008 +0800
+++ b/README	Fri Dec 05 20:22:20 2008 +0800
@@ -43,4 +43,15 @@
  * Run the bot, 'perl agent.pl' (mark the 'eval' call in triggerAction for avoid action triggered by the bot.)
  * Update the islands information by runing 'perl scan.pl'
  * List sheeps, 'perl sheep.pl' (run scan.pl first)
+ * Plan multi-wave attack, 'perl planner.pl targetCity navyCity armyCity wingman1.. wingman2..' All citys defined by city ID.
 
+ 1. scan.pl 找附近的群島資訊
+ 2. agent.pl 收集自己的兵力與座標資訊 (這個會幫你蓋東西,要小心)
+ 3. planner.pl 自動規劃計算海陸軍出兵城
+ 4. 改寫,並跑 planner.pl 生出來的 task.pl
+ task.pl 會包含你所有的兵力,兵力再依據情報與敵方狀態調整
+ 第一波,我設定通常是攻略輸,防守高於對方攻擊力,確保撐過第一回合
+ 第二回合就會有其他城來的兵�J[彙整,以絕對武力壓制
+ 通常敵方會剩下一半兵力,我第一波會損兩三隻
+ 這樣好處是容易一次就搶滿運輸船
+