Unité Board

Description

Échiquier binaire.

Représentation d'un échiquier par une variable de 64 chiffres binaires.

Aperçu

Fonctions et procédures

function IsOn(const ABrd, ASqr: Int64): boolean;
procedure SwitchOn(var ABrd: Int64; const ASqr: Int64);
procedure SwitchOff(var ABrd: Int64; const ASqr: Int64);
procedure PrintBoard(const ABrd: Int64);

Description

Fonctions et procédures

function IsOn(const ABrd, ASqr: Int64): boolean;

Pour savoir si une case est allumée dans un damier.

procedure SwitchOn(var ABrd: Int64; const ASqr: Int64);

Allume une case dans un damier.

procedure SwitchOff(var ABrd: Int64; const ASqr: Int64);

Éteint une case.

procedure PrintBoard(const ABrd: Int64);

This item has no description.


Produit par PasDoc 1.0.4.