Skip to content

Commit 59d0061

Browse files
committed
Abande libre going live
1 parent 91c3174 commit 59d0061

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/games/abande.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,6 @@ export class AbandeGame extends GameBase {
6767
{
6868
uid: "libre",
6969
group: "board",
70-
experimental: true,
7170
}
7271
],
7372
categories: ["goal>score>eog", "mechanic>place", "mechanic>stack", "board>shape>rect", "board>shape>hex", "board>connect>rect", "board>connect>hex", "board>connect>snub", "components>simple>1per"],
@@ -148,12 +147,11 @@ export class AbandeGame extends GameBase {
148147
return this;
149148
}
150149

151-
private genHexBoard(): ModularBoard|undefined {
150+
private genHexBoard(): void {
152151
if (this.variants.includes("libre")) {
153152
const hexes: IHexCoord[] = [...this.board.keys()].map(str => AbandeGame.uid2hexCoord(str));
154153
this.hexBoard = new ModularBoard({orientation: Orientation.POINTY, offset: 1, centres: hexes});
155154
}
156-
return undefined;
157155
}
158156

159157
private buildGraph(): AbandeGame {
@@ -755,6 +753,8 @@ export class AbandeGame extends GameBase {
755753
}
756754
}
757755

756+
this.genHexBoard();
757+
758758
// update currplayer
759759
this.lastmove = m;
760760
let newplayer = (this.currplayer as number) + 1;

0 commit comments

Comments
 (0)