Classe TChessGame
Unité
Déclaration
type TChessGame = class(TObject)
Description
This item has no description.
Hiérarchie
- TObject
- TChessGame
Aperçu
Méthodes
| Public | constructor Create(const AFenRecord: string); |
| Public | destructor Destroy; override; |
| Public | procedure Think; |
| Public | function IsLegal(const AMove: string): boolean; |
| Public | function ActiveColor: TPieceColor; |
| Public | function Check: boolean; |
| Public | procedure GetKingCheckedXY(out AX, AY: integer); |
| Public | function GetFen(const AFrc: boolean = TRUE): string; |
| Public | procedure DoMove(AMove: string); |
| Public | function IsPromotion(const AMove: string): boolean; |
| Public | function IsCapture(const AMove: string): boolean; |
| Public | function IsCastling(const AMove: string): boolean; |
| Public | function IsEnPassant(const AMove: string): string; |
| Public | function Repetition: boolean; |
| Public | function CurrPosToStr(): string; |
| Public | function GetSan(const AMove: string): string; |
| Public | function RandomMove: string; |
| Public | function LegalMoves: string; |
Propriétés
| Public | property State: TGameState read FState; |
Description
Méthodes
| Public | constructor Create(const AFenRecord: string); |
|
This item has no description. | |
| Public | destructor Destroy; override; |
|
This item has no description. | |
| Public | procedure Think; |
|
This item has no description. | |
| Public | function IsLegal(const AMove: string): boolean; |
|
This item has no description. | |
| Public | function ActiveColor: TPieceColor; |
|
This item has no description. | |
| Public | function Check: boolean; |
|
This item has no description. | |
| Public | procedure GetKingCheckedXY(out AX, AY: integer); |
|
This item has no description. | |
| Public | function GetFen(const AFrc: boolean = TRUE): string; |
|
This item has no description. | |
| Public | procedure DoMove(AMove: string); |
|
This item has no description. | |
| Public | function IsPromotion(const AMove: string): boolean; |
|
This item has no description. | |
| Public | function IsCapture(const AMove: string): boolean; |
|
This item has no description. | |
| Public | function IsCastling(const AMove: string): boolean; |
|
This item has no description. | |
| Public | function IsEnPassant(const AMove: string): string; |
|
This item has no description. | |
| Public | function Repetition: boolean; |
|
This item has no description. | |
| Public | function CurrPosToStr(): string; |
|
This item has no description. | |
| Public | function GetSan(const AMove: string): string; |
|
This item has no description. | |
| Public | function RandomMove: string; |
|
This item has no description. | |
| Public | function LegalMoves: string; |
|
This item has no description. | |
Propriétés
| Public | property State: TGameState read FState; |
|
This item has no description. | |
Produit par PasDoc 1.0.4.