add GRDoubleStoneInPit to CommonGame
This commit is contained in:
parent
12dd04f4b8
commit
8676d00a91
@ -1,6 +1,7 @@
|
|||||||
import { MancalaGame } from '../core/MancalaGame';
|
import { MancalaGame } from '../core/MancalaGame';
|
||||||
import { CommonBoard } from './CommonBoard';
|
import { CommonBoard } from './CommonBoard';
|
||||||
import { GRClearBoardAtEnd } from './game_rules/GRClearBoardAtEnd';
|
import { GRClearBoardAtEnd } from './game_rules/GRClearBoardAtEnd';
|
||||||
|
import { GRDoubleStoneInPit } from './game_rules/GRDoubleStoneInPit';
|
||||||
import { GRLastStoneInBank } from './game_rules/GRLastStoneInBank';
|
import { GRLastStoneInBank } from './game_rules/GRLastStoneInBank';
|
||||||
import { GRLastStoneInEmptyPit } from './game_rules/GRLastStoneInEmptyPit';
|
import { GRLastStoneInEmptyPit } from './game_rules/GRLastStoneInEmptyPit';
|
||||||
|
|
||||||
@ -14,6 +15,7 @@ export class CommonMancalaGame extends MancalaGame {
|
|||||||
player1Id,
|
player1Id,
|
||||||
[
|
[
|
||||||
new GRLastStoneInEmptyPit(),
|
new GRLastStoneInEmptyPit(),
|
||||||
|
new GRDoubleStoneInPit(),
|
||||||
new GRLastStoneInBank(),
|
new GRLastStoneInBank(),
|
||||||
new GRClearBoardAtEnd()
|
new GRClearBoardAtEnd()
|
||||||
],
|
],
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user