Welcome to ChessSharp documentation
72 | 73 |ChessSharp is an open-source .NET library written in C# that handles the chess logic.
74 |An open source chess project written in C#. Check out our repository on GitHub.
-------------------------------------------------------------------------------- /src/ChessSharp/ExtensionMethods.cs: -------------------------------------------------------------------------------- 1 | using ChessSharp.Pieces; 2 | 3 | namespace ChessSharp; 4 | 5 | internal static class ExtensionMethods 6 | { 7 | public static bool Contains(this PawnMoveType moveType1, PawnMoveType moveType2) => 8 | (moveType1 & moveType2) == moveType2; 9 | } -------------------------------------------------------------------------------- /src/ChessSharp/Player.cs: -------------------------------------------------------------------------------- 1 | namespace ChessSharp; 2 | 3 | ///Welcome to ChessSharp!
8 |14 | Click the button below to invite a friend to game! 15 |
16 | 17 | 18 |Ask your friend who created the game to give you the game link.
22 |
12 | Request ID: @Model.RequestId
13 |
18 | Swapping to Development environment will display more detailed information about the error that occurred. 19 |
20 |21 | The Development environment shouldn't be enabled for deployed applications. 22 | It can result in displaying sensitive information from exceptions to end users. 23 | For local debugging, enable the Development environment by setting the ASPNETCORE_ENVIRONMENT environment variable to Development 24 | and restarting the app. 25 |
26 | -------------------------------------------------------------------------------- /Directory.Build.props: -------------------------------------------------------------------------------- 1 |