-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve AI by selecting a random 'equal best move', this avoid repeti…
…tive play and creates opportunities
- Loading branch information
Showing
97 changed files
with
19,715 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> | ||
<!-- NewPage --> | ||
<html lang="fr"> | ||
<head> | ||
<!-- Generated by javadoc (1.8.0_171) on Sun Jun 03 19:18:54 CEST 2018 --> | ||
<title>All Classes</title> | ||
<meta name="date" content="2018-06-03"> | ||
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style"> | ||
<script type="text/javascript" src="script.js"></script> | ||
</head> | ||
<body> | ||
<h1 class="bar">All Classes</h1> | ||
<div class="indexContainer"> | ||
<ul> | ||
<li><a href="fr/insalyon/chess/core/AbstractPawn.html" title="class in fr.insalyon.chess.core" target="classFrame">AbstractPawn</a></li> | ||
<li><a href="fr/insalyon/chess/gui/AsyncComputerPlay.html" title="class in fr.insalyon.chess.gui" target="classFrame">AsyncComputerPlay</a></li> | ||
<li><a href="fr/insalyon/chess/core/pawns/Bishop.html" title="class in fr.insalyon.chess.core.pawns" target="classFrame">Bishop</a></li> | ||
<li><a href="fr/insalyon/chess/ai/ChessAI.html" title="class in fr.insalyon.chess.ai" target="classFrame">ChessAI</a></li> | ||
<li><a href="fr/insalyon/chess/ai/ChessAI2.html" title="class in fr.insalyon.chess.ai" target="classFrame">ChessAI2</a></li> | ||
<li><a href="fr/insalyon/chess/ai/ChessAI3.html" title="class in fr.insalyon.chess.ai" target="classFrame">ChessAI3</a></li> | ||
<li><a href="fr/insalyon/chess/ChessGame.html" title="class in fr.insalyon.chess" target="classFrame">ChessGame</a></li> | ||
<li><a href="fr/insalyon/chess/gui/DragOverAccept.html" title="class in fr.insalyon.chess.gui" target="classFrame">DragOverAccept</a></li> | ||
<li><a href="fr/insalyon/chess/core/End.html" title="enum in fr.insalyon.chess.core" target="classFrame">End</a></li> | ||
<li><a href="fr/insalyon/chess/Game.html" title="class in fr.insalyon.chess" target="classFrame">Game</a></li> | ||
<li><a href="fr/insalyon/chess/gui/GameApplication.html" title="class in fr.insalyon.chess.gui" target="classFrame">GameApplication</a></li> | ||
<li><a href="fr/insalyon/chess/core/pawns/King.html" title="class in fr.insalyon.chess.core.pawns" target="classFrame">King</a></li> | ||
<li><a href="fr/insalyon/chess/core/pawns/Knight.html" title="class in fr.insalyon.chess.core.pawns" target="classFrame">Knight</a></li> | ||
<li><a href="fr/insalyon/chess/core/pawns/LittlePawn.html" title="class in fr.insalyon.chess.core.pawns" target="classFrame">LittlePawn</a></li> | ||
<li><a href="fr/insalyon/chess/core/Location.html" title="class in fr.insalyon.chess.core" target="classFrame">Location</a></li> | ||
<li><a href="fr/insalyon/chess/core/MovementBuilder.html" title="class in fr.insalyon.chess.core" target="classFrame">MovementBuilder</a></li> | ||
<li><a href="fr/insalyon/chess/core/MovementType.html" title="enum in fr.insalyon.chess.core" target="classFrame">MovementType</a></li> | ||
<li><a href="fr/insalyon/chess/gui/PawnDragEvent.html" title="class in fr.insalyon.chess.gui" target="classFrame">PawnDragEvent</a></li> | ||
<li><a href="fr/insalyon/chess/core/pawns/Queen.html" title="class in fr.insalyon.chess.core.pawns" target="classFrame">Queen</a></li> | ||
<li><a href="fr/insalyon/chess/core/pawns/Rook.html" title="class in fr.insalyon.chess.core.pawns" target="classFrame">Rook</a></li> | ||
<li><a href="fr/insalyon/chess/gui/TakePlaceHandler.html" title="class in fr.insalyon.chess.gui" target="classFrame">TakePlaceHandler</a></li> | ||
<li><a href="fr/insalyon/chess/core/Team.html" title="enum in fr.insalyon.chess.core" target="classFrame">Team</a></li> | ||
</ul> | ||
</div> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> | ||
<!-- NewPage --> | ||
<html lang="fr"> | ||
<head> | ||
<!-- Generated by javadoc (1.8.0_171) on Sun Jun 03 19:18:54 CEST 2018 --> | ||
<title>All Classes</title> | ||
<meta name="date" content="2018-06-03"> | ||
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style"> | ||
<script type="text/javascript" src="script.js"></script> | ||
</head> | ||
<body> | ||
<h1 class="bar">All Classes</h1> | ||
<div class="indexContainer"> | ||
<ul> | ||
<li><a href="fr/insalyon/chess/core/AbstractPawn.html" title="class in fr.insalyon.chess.core">AbstractPawn</a></li> | ||
<li><a href="fr/insalyon/chess/gui/AsyncComputerPlay.html" title="class in fr.insalyon.chess.gui">AsyncComputerPlay</a></li> | ||
<li><a href="fr/insalyon/chess/core/pawns/Bishop.html" title="class in fr.insalyon.chess.core.pawns">Bishop</a></li> | ||
<li><a href="fr/insalyon/chess/ai/ChessAI.html" title="class in fr.insalyon.chess.ai">ChessAI</a></li> | ||
<li><a href="fr/insalyon/chess/ai/ChessAI2.html" title="class in fr.insalyon.chess.ai">ChessAI2</a></li> | ||
<li><a href="fr/insalyon/chess/ai/ChessAI3.html" title="class in fr.insalyon.chess.ai">ChessAI3</a></li> | ||
<li><a href="fr/insalyon/chess/ChessGame.html" title="class in fr.insalyon.chess">ChessGame</a></li> | ||
<li><a href="fr/insalyon/chess/gui/DragOverAccept.html" title="class in fr.insalyon.chess.gui">DragOverAccept</a></li> | ||
<li><a href="fr/insalyon/chess/core/End.html" title="enum in fr.insalyon.chess.core">End</a></li> | ||
<li><a href="fr/insalyon/chess/Game.html" title="class in fr.insalyon.chess">Game</a></li> | ||
<li><a href="fr/insalyon/chess/gui/GameApplication.html" title="class in fr.insalyon.chess.gui">GameApplication</a></li> | ||
<li><a href="fr/insalyon/chess/core/pawns/King.html" title="class in fr.insalyon.chess.core.pawns">King</a></li> | ||
<li><a href="fr/insalyon/chess/core/pawns/Knight.html" title="class in fr.insalyon.chess.core.pawns">Knight</a></li> | ||
<li><a href="fr/insalyon/chess/core/pawns/LittlePawn.html" title="class in fr.insalyon.chess.core.pawns">LittlePawn</a></li> | ||
<li><a href="fr/insalyon/chess/core/Location.html" title="class in fr.insalyon.chess.core">Location</a></li> | ||
<li><a href="fr/insalyon/chess/core/MovementBuilder.html" title="class in fr.insalyon.chess.core">MovementBuilder</a></li> | ||
<li><a href="fr/insalyon/chess/core/MovementType.html" title="enum in fr.insalyon.chess.core">MovementType</a></li> | ||
<li><a href="fr/insalyon/chess/gui/PawnDragEvent.html" title="class in fr.insalyon.chess.gui">PawnDragEvent</a></li> | ||
<li><a href="fr/insalyon/chess/core/pawns/Queen.html" title="class in fr.insalyon.chess.core.pawns">Queen</a></li> | ||
<li><a href="fr/insalyon/chess/core/pawns/Rook.html" title="class in fr.insalyon.chess.core.pawns">Rook</a></li> | ||
<li><a href="fr/insalyon/chess/gui/TakePlaceHandler.html" title="class in fr.insalyon.chess.gui">TakePlaceHandler</a></li> | ||
<li><a href="fr/insalyon/chess/core/Team.html" title="enum in fr.insalyon.chess.core">Team</a></li> | ||
</ul> | ||
</div> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,274 @@ | ||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> | ||
<!-- NewPage --> | ||
<html lang="fr"> | ||
<head> | ||
<!-- Generated by javadoc (1.8.0_171) on Sun Jun 03 19:18:54 CEST 2018 --> | ||
<title>Constant Field Values</title> | ||
<meta name="date" content="2018-06-03"> | ||
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style"> | ||
<script type="text/javascript" src="script.js"></script> | ||
</head> | ||
<body> | ||
<script type="text/javascript"><!-- | ||
try { | ||
if (location.href.indexOf('is-external=true') == -1) { | ||
parent.document.title="Constant Field Values"; | ||
} | ||
} | ||
catch(err) { | ||
} | ||
//--> | ||
</script> | ||
<noscript> | ||
<div>JavaScript is disabled on your browser.</div> | ||
</noscript> | ||
<!-- ========= START OF TOP NAVBAR ======= --> | ||
<div class="topNav"><a name="navbar.top"> | ||
<!-- --> | ||
</a> | ||
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div> | ||
<a name="navbar.top.firstrow"> | ||
<!-- --> | ||
</a> | ||
<ul class="navList" title="Navigation"> | ||
<li><a href="overview-summary.html">Overview</a></li> | ||
<li>Package</li> | ||
<li>Class</li> | ||
<li>Use</li> | ||
<li><a href="overview-tree.html">Tree</a></li> | ||
<li><a href="index-files/index-1.html">Index</a></li> | ||
<li><a href="help-doc.html">Help</a></li> | ||
</ul> | ||
</div> | ||
<div class="subNav"> | ||
<ul class="navList"> | ||
<li>Prev</li> | ||
<li>Next</li> | ||
</ul> | ||
<ul class="navList"> | ||
<li><a href="index.html?constant-values.html" target="_top">Frames</a></li> | ||
<li><a href="constant-values.html" target="_top">No Frames</a></li> | ||
</ul> | ||
<ul class="navList" id="allclasses_navbar_top"> | ||
<li><a href="allclasses-noframe.html">All Classes</a></li> | ||
</ul> | ||
<div> | ||
<script type="text/javascript"><!-- | ||
allClassesLink = document.getElementById("allclasses_navbar_top"); | ||
if(window==top) { | ||
allClassesLink.style.display = "block"; | ||
} | ||
else { | ||
allClassesLink.style.display = "none"; | ||
} | ||
//--> | ||
</script> | ||
</div> | ||
<a name="skip.navbar.top"> | ||
<!-- --> | ||
</a></div> | ||
<!-- ========= END OF TOP NAVBAR ========= --> | ||
<div class="header"> | ||
<h1 title="Constant Field Values" class="title">Constant Field Values</h1> | ||
<h2 title="Contents">Contents</h2> | ||
<ul> | ||
<li><a href="#fr.insalyon">fr.insalyon.*</a></li> | ||
</ul> | ||
</div> | ||
<div class="constantValuesContainer"><a name="fr.insalyon"> | ||
<!-- --> | ||
</a> | ||
<h2 title="fr.insalyon">fr.insalyon.*</h2> | ||
<ul class="blockList"> | ||
<li class="blockList"> | ||
<table class="constantsSummary" border="0" cellpadding="3" cellspacing="0" summary="Constant Field Values table, listing constant fields, and values"> | ||
<caption><span>fr.insalyon.chess.core.pawns.<a href="fr/insalyon/chess/core/pawns/Bishop.html" title="class in fr.insalyon.chess.core.pawns">Bishop</a></span><span class="tabEnd"> </span></caption> | ||
<tr> | ||
<th class="colFirst" scope="col">Modifier and Type</th> | ||
<th scope="col">Constant Field</th> | ||
<th class="colLast" scope="col">Value</th> | ||
</tr> | ||
<tbody> | ||
<tr class="altColor"> | ||
<td class="colFirst"><a name="fr.insalyon.chess.core.pawns.Bishop.NAME"> | ||
<!-- --> | ||
</a><code>private final java.lang.String</code></td> | ||
<td><code><a href="fr/insalyon/chess/core/pawns/Bishop.html#NAME">NAME</a></code></td> | ||
<td class="colLast"><code>"bishop"</code></td> | ||
</tr> | ||
</tbody> | ||
</table> | ||
</li> | ||
<li class="blockList"> | ||
<table class="constantsSummary" border="0" cellpadding="3" cellspacing="0" summary="Constant Field Values table, listing constant fields, and values"> | ||
<caption><span>fr.insalyon.chess.core.pawns.<a href="fr/insalyon/chess/core/pawns/King.html" title="class in fr.insalyon.chess.core.pawns">King</a></span><span class="tabEnd"> </span></caption> | ||
<tr> | ||
<th class="colFirst" scope="col">Modifier and Type</th> | ||
<th scope="col">Constant Field</th> | ||
<th class="colLast" scope="col">Value</th> | ||
</tr> | ||
<tbody> | ||
<tr class="altColor"> | ||
<td class="colFirst"><a name="fr.insalyon.chess.core.pawns.King.NAME"> | ||
<!-- --> | ||
</a><code>private final java.lang.String</code></td> | ||
<td><code><a href="fr/insalyon/chess/core/pawns/King.html#NAME">NAME</a></code></td> | ||
<td class="colLast"><code>"king"</code></td> | ||
</tr> | ||
</tbody> | ||
</table> | ||
</li> | ||
<li class="blockList"> | ||
<table class="constantsSummary" border="0" cellpadding="3" cellspacing="0" summary="Constant Field Values table, listing constant fields, and values"> | ||
<caption><span>fr.insalyon.chess.core.pawns.<a href="fr/insalyon/chess/core/pawns/Knight.html" title="class in fr.insalyon.chess.core.pawns">Knight</a></span><span class="tabEnd"> </span></caption> | ||
<tr> | ||
<th class="colFirst" scope="col">Modifier and Type</th> | ||
<th scope="col">Constant Field</th> | ||
<th class="colLast" scope="col">Value</th> | ||
</tr> | ||
<tbody> | ||
<tr class="altColor"> | ||
<td class="colFirst"><a name="fr.insalyon.chess.core.pawns.Knight.NAME"> | ||
<!-- --> | ||
</a><code>private final java.lang.String</code></td> | ||
<td><code><a href="fr/insalyon/chess/core/pawns/Knight.html#NAME">NAME</a></code></td> | ||
<td class="colLast"><code>"knight"</code></td> | ||
</tr> | ||
</tbody> | ||
</table> | ||
</li> | ||
<li class="blockList"> | ||
<table class="constantsSummary" border="0" cellpadding="3" cellspacing="0" summary="Constant Field Values table, listing constant fields, and values"> | ||
<caption><span>fr.insalyon.chess.core.pawns.<a href="fr/insalyon/chess/core/pawns/LittlePawn.html" title="class in fr.insalyon.chess.core.pawns">LittlePawn</a></span><span class="tabEnd"> </span></caption> | ||
<tr> | ||
<th class="colFirst" scope="col">Modifier and Type</th> | ||
<th scope="col">Constant Field</th> | ||
<th class="colLast" scope="col">Value</th> | ||
</tr> | ||
<tbody> | ||
<tr class="altColor"> | ||
<td class="colFirst"><a name="fr.insalyon.chess.core.pawns.LittlePawn.NAME"> | ||
<!-- --> | ||
</a><code>private final java.lang.String</code></td> | ||
<td><code><a href="fr/insalyon/chess/core/pawns/LittlePawn.html#NAME">NAME</a></code></td> | ||
<td class="colLast"><code>"pawn"</code></td> | ||
</tr> | ||
</tbody> | ||
</table> | ||
</li> | ||
<li class="blockList"> | ||
<table class="constantsSummary" border="0" cellpadding="3" cellspacing="0" summary="Constant Field Values table, listing constant fields, and values"> | ||
<caption><span>fr.insalyon.chess.core.pawns.<a href="fr/insalyon/chess/core/pawns/Queen.html" title="class in fr.insalyon.chess.core.pawns">Queen</a></span><span class="tabEnd"> </span></caption> | ||
<tr> | ||
<th class="colFirst" scope="col">Modifier and Type</th> | ||
<th scope="col">Constant Field</th> | ||
<th class="colLast" scope="col">Value</th> | ||
</tr> | ||
<tbody> | ||
<tr class="altColor"> | ||
<td class="colFirst"><a name="fr.insalyon.chess.core.pawns.Queen.NAME"> | ||
<!-- --> | ||
</a><code>private final java.lang.String</code></td> | ||
<td><code><a href="fr/insalyon/chess/core/pawns/Queen.html#NAME">NAME</a></code></td> | ||
<td class="colLast"><code>"queen"</code></td> | ||
</tr> | ||
</tbody> | ||
</table> | ||
</li> | ||
<li class="blockList"> | ||
<table class="constantsSummary" border="0" cellpadding="3" cellspacing="0" summary="Constant Field Values table, listing constant fields, and values"> | ||
<caption><span>fr.insalyon.chess.core.pawns.<a href="fr/insalyon/chess/core/pawns/Rook.html" title="class in fr.insalyon.chess.core.pawns">Rook</a></span><span class="tabEnd"> </span></caption> | ||
<tr> | ||
<th class="colFirst" scope="col">Modifier and Type</th> | ||
<th scope="col">Constant Field</th> | ||
<th class="colLast" scope="col">Value</th> | ||
</tr> | ||
<tbody> | ||
<tr class="altColor"> | ||
<td class="colFirst"><a name="fr.insalyon.chess.core.pawns.Rook.NAME"> | ||
<!-- --> | ||
</a><code>private final java.lang.String</code></td> | ||
<td><code><a href="fr/insalyon/chess/core/pawns/Rook.html#NAME">NAME</a></code></td> | ||
<td class="colLast"><code>"rook"</code></td> | ||
</tr> | ||
</tbody> | ||
</table> | ||
</li> | ||
</ul> | ||
<ul class="blockList"> | ||
<li class="blockList"> | ||
<table class="constantsSummary" border="0" cellpadding="3" cellspacing="0" summary="Constant Field Values table, listing constant fields, and values"> | ||
<caption><span>fr.insalyon.chess.gui.<a href="fr/insalyon/chess/gui/GameApplication.html" title="class in fr.insalyon.chess.gui">GameApplication</a></span><span class="tabEnd"> </span></caption> | ||
<tr> | ||
<th class="colFirst" scope="col">Modifier and Type</th> | ||
<th scope="col">Constant Field</th> | ||
<th class="colLast" scope="col">Value</th> | ||
</tr> | ||
<tbody> | ||
<tr class="altColor"> | ||
<td class="colFirst"><a name="fr.insalyon.chess.gui.GameApplication.HEIGHT"> | ||
<!-- --> | ||
</a><code>public static final int</code></td> | ||
<td><code><a href="fr/insalyon/chess/gui/GameApplication.html#HEIGHT">HEIGHT</a></code></td> | ||
<td class="colLast"><code>600</code></td> | ||
</tr> | ||
<tr class="rowColor"> | ||
<td class="colFirst"><a name="fr.insalyon.chess.gui.GameApplication.WIDTH"> | ||
<!-- --> | ||
</a><code>public static final int</code></td> | ||
<td><code><a href="fr/insalyon/chess/gui/GameApplication.html#WIDTH">WIDTH</a></code></td> | ||
<td class="colLast"><code>600</code></td> | ||
</tr> | ||
</tbody> | ||
</table> | ||
</li> | ||
</ul> | ||
</div> | ||
<!-- ======= START OF BOTTOM NAVBAR ====== --> | ||
<div class="bottomNav"><a name="navbar.bottom"> | ||
<!-- --> | ||
</a> | ||
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div> | ||
<a name="navbar.bottom.firstrow"> | ||
<!-- --> | ||
</a> | ||
<ul class="navList" title="Navigation"> | ||
<li><a href="overview-summary.html">Overview</a></li> | ||
<li>Package</li> | ||
<li>Class</li> | ||
<li>Use</li> | ||
<li><a href="overview-tree.html">Tree</a></li> | ||
<li><a href="index-files/index-1.html">Index</a></li> | ||
<li><a href="help-doc.html">Help</a></li> | ||
</ul> | ||
</div> | ||
<div class="subNav"> | ||
<ul class="navList"> | ||
<li>Prev</li> | ||
<li>Next</li> | ||
</ul> | ||
<ul class="navList"> | ||
<li><a href="index.html?constant-values.html" target="_top">Frames</a></li> | ||
<li><a href="constant-values.html" target="_top">No Frames</a></li> | ||
</ul> | ||
<ul class="navList" id="allclasses_navbar_bottom"> | ||
<li><a href="allclasses-noframe.html">All Classes</a></li> | ||
</ul> | ||
<div> | ||
<script type="text/javascript"><!-- | ||
allClassesLink = document.getElementById("allclasses_navbar_bottom"); | ||
if(window==top) { | ||
allClassesLink.style.display = "block"; | ||
} | ||
else { | ||
allClassesLink.style.display = "none"; | ||
} | ||
//--> | ||
</script> | ||
</div> | ||
<a name="skip.navbar.bottom"> | ||
<!-- --> | ||
</a></div> | ||
<!-- ======== END OF BOTTOM NAVBAR ======= --> | ||
</body> | ||
</html> |
Oops, something went wrong.