newGameForTest
fun newGameForTest(board: Board, players: MatchPlayers, myPiece: PieceType, currGameName: String? = null, service: GameServiceImpl): Game
Creates a new game instance for testing purposes with specified board and player configuration.
Return
A new Game instance with the provided configuration.
Parameters
board
The board to use for the game.
players
The players in the game.
myPiece
The piece type of the player controlling this game instance.
currGameName
Optional game name for storage (defaults to local game if null).