mirror of
https://github.com/peterosterlund2/droidfish.git
synced 2025-12-09 07:32:40 +01:00
Removed useless comments.
This commit is contained in:
@@ -28,10 +28,7 @@ import chess.ComputerPlayer;
|
||||
import chess.Move;
|
||||
import chess.Position;
|
||||
|
||||
/**
|
||||
* The main class for the chess GUI.
|
||||
* @author petero
|
||||
*/
|
||||
/** The main class for the chess GUI. */
|
||||
public class AppletGUI extends javax.swing.JApplet implements GUIInterface {
|
||||
private static final long serialVersionUID = 7357610346389734323L;
|
||||
ChessBoardPainter cbp;
|
||||
|
||||
@@ -35,10 +35,7 @@ import java.io.IOException;
|
||||
import java.io.InputStream;
|
||||
import javax.swing.JLabel;
|
||||
|
||||
/**
|
||||
* Draws a graphical chess board. Also handles user interaction.
|
||||
* @author petero
|
||||
*/
|
||||
/** Draws a graphical chess board. Also handles user interaction. */
|
||||
public class ChessBoardPainter extends JLabel {
|
||||
private static final long serialVersionUID = -1319250011487017825L;
|
||||
private Position pos;
|
||||
|
||||
@@ -25,10 +25,6 @@ import chess.HumanPlayer;
|
||||
import chess.Player;
|
||||
import chess.TreeLogger;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author petero
|
||||
*/
|
||||
public class Main {
|
||||
|
||||
/**
|
||||
|
||||
@@ -41,10 +41,7 @@ import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
import java.util.Random;
|
||||
|
||||
/**
|
||||
* Control the search thread.
|
||||
* @author petero
|
||||
*/
|
||||
/** Control the search thread. */
|
||||
public class EngineControl {
|
||||
PrintStream os;
|
||||
|
||||
|
||||
@@ -22,10 +22,7 @@ import chess.Move;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* Store search parameters (times, increments, max depth, etc).
|
||||
* @author petero
|
||||
*/
|
||||
/** Store search parameters (times, increments, max depth, etc). */
|
||||
public class SearchParams {
|
||||
List<Move> searchMoves; // If non-empty, search only these moves
|
||||
int wTime; // White remaining time, ms
|
||||
|
||||
@@ -30,10 +30,7 @@ import java.io.InputStreamReader;
|
||||
import java.io.PrintStream;
|
||||
import java.util.ArrayList;
|
||||
|
||||
/**
|
||||
* Handle the UCI protocol mode.
|
||||
* @author petero
|
||||
*/
|
||||
/** Handle the UCI protocol mode. */
|
||||
public class UCIProtocol {
|
||||
// Data set by the "position" command.
|
||||
Position pos;
|
||||
|
||||
@@ -25,10 +25,6 @@ import org.junit.BeforeClass;
|
||||
import org.junit.Test;
|
||||
import static org.junit.Assert.*;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author petero
|
||||
*/
|
||||
public class UCIProtocolTest {
|
||||
|
||||
public UCIProtocolTest() {
|
||||
|
||||
Reference in New Issue
Block a user