Skip to content

Groupe batte man/exo06#101

Open
Nifle-CGE wants to merge 2 commits into
exo06from
groupeBatteMan/exo06
Open

Groupe batte man/exo06#101
Nifle-CGE wants to merge 2 commits into
exo06from
groupeBatteMan/exo06

Conversation

@Nifle-CGE

Copy link
Copy Markdown
Collaborator

No description provided.

export class Game {
private _lastSymbol = emptyPlay;
private _board: Board = new Board();
private _lastMark = emptyPlay;

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Symbol -> Mark

private _lastSymbol = emptyPlay;
private _board: Board = new Board();
private _lastMark = emptyPlay;
private _grid: Grid = new Grid();

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Board -> Grid


private validatePositionIsEmpty(x: number, y: number) {
if (this._board.TileAt(x, y).isNotEmpty) {
if (this._grid.SpaceAt(x, y).isNotEmpty) {

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tile -> Space

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant