X-Git-Url: https://git.hedgecode.org/?a=blobdiff_plain;f=chesshog-uci%2Fsrc%2Fmain%2Fjava%2Forg%2Fhedgecode%2Fchess%2Fuci%2FEngine.java;fp=chesshog-uci%2Fsrc%2Fmain%2Fjava%2Forg%2Fhedgecode%2Fchess%2Fuci%2FEngine.java;h=0ee971f6bcae6d6c303dbd118a7a7b078cd25fa6;hb=1c1d899a4dc4144e6b8ec93c0afcda09b38b5f6f;hp=0000000000000000000000000000000000000000;hpb=1fbf14530416c16f1c6fa5ee3e589482dd722a5d;p=chesshog.git diff --git a/chesshog-uci/src/main/java/org/hedgecode/chess/uci/Engine.java b/chesshog-uci/src/main/java/org/hedgecode/chess/uci/Engine.java new file mode 100644 index 0000000..0ee971f --- /dev/null +++ b/chesshog-uci/src/main/java/org/hedgecode/chess/uci/Engine.java @@ -0,0 +1,40 @@ +/* + * Copyright (c) 2018. Developed by Hedgecode. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package org.hedgecode.chess.uci; + +/** + * Universal Chess Interface (UCI) Engine. + * + * @author Dmitry Samoshin aka gotty + */ +public interface Engine { + + void init(); + + void debug(DebugMode mode); + + void isReady(); + + void go(); + + void stop(); + + void ponderhit(); + + void quit(); + +}