Skip to content

Commit fa61164

Browse files
authored
Merge pull request #3 from weebforge/dev
Dev 1.0.0
2 parents 06049dc + 27b631a commit fa61164

45 files changed

Lines changed: 253 additions & 49 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

dist/__scripts__/bot.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/__scripts__/bot.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/classes/chess.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ export declare class Chess {
3333
display(displayType: Exclude<ChessBoardDisplayType, ChessBoardDisplayType.Json>): string;
3434
makeMove(notation: string): PlayedMove;
3535
undoMove(): boolean;
36+
get FEN(): string;
3637
toJSON(): {
3738
id: string;
3839
options: IChessOptions;

dist/classes/chess.d.ts.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/classes/chess.js

Lines changed: 5 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/classes/chess.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/classes/util.d.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,15 @@
11
import { ChessBoard } from "chess";
2+
import { Chess } from "./chess";
23
export declare const BoardDisplay: {
34
readonly Ascii: (board: ChessBoard, whiteAtBottom?: boolean, coords?: boolean) => string;
45
};
56
export declare enum FCError {
67
NoChess = "No chess game found.",
78
InvalidChess = "This is not a chess game."
89
}
10+
export declare function generateFEN(chess: Chess): string;
11+
export declare function getCastlingRight(chess: Chess): string | null;
12+
export declare function getHalfclockMoves(chess: Chess): number;
13+
export declare function getFullmoveNumber(chess: Chess): number;
14+
export declare function possibleEnPassant(chess: Chess): string | null;
915
//# sourceMappingURL=util.d.ts.map

dist/classes/util.d.ts.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)