Skip to content

Commit 7dc749e

Browse files
committed
changed default target framework to net6
1 parent 9e1be75 commit 7dc749e

File tree

5 files changed

+9
-9
lines changed

5 files changed

+9
-9
lines changed

MinimalChess/MinimalChess.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFramework>net5.0</TargetFramework>
4+
<TargetFramework>net6.0</TargetFramework>
55
</PropertyGroup>
66

77
</Project>

MinimalChess/Playmaker.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,22 +6,22 @@ public static class Playmaker
66
{
77
internal static IEnumerable<(Move Move, Board Board)> Play(Board position, int depth, KillerMoves killers, History history)
88
{
9-
//1. Captures Mvv-Lva, PV excluded
9+
//1. Is there a known best move for this position? (PV Node)
1010
if (Transpositions.GetBestMove(position, out Move bestMove))
1111
{
1212
var nextPosition = new Board(position, bestMove);
1313
yield return (bestMove, nextPosition);
1414
}
1515

16-
//2. Captures Mvv-Lva, PV excluded
16+
//2. Try all captures ordered by Mvv-Lva
1717
foreach (var capture in MoveList.SortedCaptures(position))
1818
{
1919
var nextPosition = new Board(position, capture);
2020
if (!nextPosition.IsChecked(position.SideToMove))
2121
yield return (capture, nextPosition);
2222
}
2323

24-
//3. Killers if available
24+
//3. Play quiet moves that have caused a beta cutoff elsewhere if available
2525
foreach (Move killer in killers.Get(depth))
2626
{
2727
if (position[killer.ToSquare] != Piece.None || !position.IsPlayable(killer))
@@ -32,7 +32,7 @@ public static class Playmaker
3232
yield return (killer, nextPosition);
3333
}
3434

35-
//4. Play quiet moves that aren't known killers
35+
//4. Play the remaining quiet moves ordered by history
3636
foreach (var move in MoveList.SortedQuiets(position, history))
3737
{
3838
if (killers.Contains(depth, move))

MinimalChessBoard/MinimalChessBoard.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<PropertyGroup>
44
<OutputType>Exe</OutputType>
5-
<TargetFramework>net5.0</TargetFramework>
5+
<TargetFramework>net6.0</TargetFramework>
66
</PropertyGroup>
77

88
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">

MinimalChessEngine/MinimalChessEngine.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<PropertyGroup>
44
<OutputType>Exe</OutputType>
5-
<TargetFramework>net5.0</TargetFramework>
5+
<TargetFramework>net6.0</TargetFramework>
66
</PropertyGroup>
77

88
<ItemGroup>

MinimalChessEngine/Properties/PublishProfiles/Windows x64.pubxml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ https://go.microsoft.com/fwlink/?LinkID=208121.
77
<PublishProtocol>FileSystem</PublishProtocol>
88
<Configuration>Release</Configuration>
99
<Platform>Any CPU</Platform>
10-
<TargetFramework>net5.0</TargetFramework>
11-
<PublishDir>D:\Projekte\Chess\Builds\MinimalChess 0.6.1 Windows</PublishDir>
10+
<TargetFramework>net6.0</TargetFramework>
11+
<PublishDir>D:\Projekte\Chess\Builds\MinimalChess 0.6.2 Windows</PublishDir>
1212
<RuntimeIdentifier>win-x64</RuntimeIdentifier>
1313
<SelfContained>true</SelfContained>
1414
<PublishSingleFile>True</PublishSingleFile>

0 commit comments

Comments
 (0)