タグ

2009年10月20日のブックマーク (1件)

  • FACEs: FlashLite1.1:SLGの戦略AIを作る

    実装してませんが、複数ユニットで攻撃するようなチームプレイ戦略とかを 算出できるようになれば面白くなりそう。 zipファイル ※ちなみに as/init.as の //playerAsCpu = "xooo"; のコメントをはずすと青軍を操作できます。 //thinkTarget.as //攻撃のROI計算 targetBin = ""; _maxYummy = 0; for(i = 1; i <= playerCount; i++ ) { if (i != player) { _units = eval("units" add i); while (length(_units) > 0) { _unitId = i * 1000 + ord(subString(_units, 1, 1)) - 0x80; x = getProperty("map/unit" add _unit

    ZIGOROu
    ZIGOROu 2009/10/20
    なんか UI に懐かしさがw やってみたい~って思った。