Changeset 72 for trunk/UGame.pas


Ignore:
Timestamp:
Sep 28, 2014, 9:21:26 PM (10 years ago)
Author:
chronos
Message:
  • Fixed: Unit move win probability was bad calculated if already existed move was modified.
  • Added: Easier close of unit move dialog by Escape or Enter key.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/UGame.pas

    r71 r72  
    14871487  end else Result := 1;
    14881488  if DefendCount = 0 then Exit;
    1489   if Depth > 5 then Exit;
     1489  // TODO: Limiting depth is not solving problem with probability of high near
     1490  // numbers like 96 vs. 92. Complexity of calculation should be simplified
     1491  // in different way
     1492  if Depth > 10 then Exit;
    14901493
    14911494  OA := Min(AttackCount, 3);
Note: See TracChangeset for help on using the changeset viewer.