@Component @Qualifier(value="crafty") public class CraftyEngineImpl extends Object implements ChessEngineController
| Constructor and Description |
|---|
CraftyEngineImpl() |
| Modifier and Type | Method and Description |
|---|---|
String |
computeNextMove(int depth,
int random,
Collection<String> game) |
void |
validateCompatibility() |
@PostConstruct public void validateCompatibility() throws IOException
IOExceptionpublic String computeNextMove(int depth, int random, Collection<String> game) throws ChessEngineFailureException
computeNextMove in interface ChessEngineControllerChessEngineFailureExceptionCopyright © 2016. All Rights Reserved.