equal
deleted
inserted
replaced
192 if (tentativeTurntime >= 100) |
192 if (tentativeTurntime >= 100) |
193 tentativeTurntime = 9999; |
193 tentativeTurntime = 9999; |
194 NSString *turnTime = [[NSString alloc] initWithFormat:@"e$turntime %d",tentativeTurntime * 1000]; |
194 NSString *turnTime = [[NSString alloc] initWithFormat:@"e$turntime %d",tentativeTurntime * 1000]; |
195 [self sendToEngine:turnTime]; |
195 [self sendToEngine:turnTime]; |
196 [turnTime release]; |
196 [turnTime release]; |
|
197 |
|
198 NSString *minesTime = [[NSString alloc] initWithFormat:@"e$turntime %d",[[basicArray objectAtIndex:2] intValue] * 1000]; |
|
199 [self sendToEngine:minesTime]; |
|
200 [minesTime release]; |
197 |
201 |
198 for (i = 2; i < [basicArray count]; i++) { |
202 for (i = 2; i < [basicArray count]; i++) { |
199 NSDictionary *basicDict = [mods objectAtIndex:i]; |
203 NSDictionary *basicDict = [mods objectAtIndex:i]; |
200 NSString *command = [basicDict objectForKey:@"command"]; |
204 NSString *command = [basicDict objectForKey:@"command"]; |
201 NSInteger value = [[basicArray objectAtIndex:i] intValue]; |
205 NSInteger value = [[basicArray objectAtIndex:i] intValue]; |