File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ import { ProcessGameConfig } from '../src/core/game';
1111import { CreateGameReducer } from '../src/core/reducer' ;
1212import { Async , Sync } from '../src/server/db/base' ;
1313import { Transport } from '../src/client/transport/transport' ;
14+ import { createMatch } from '../src/server/util' ;
1415
1516export {
1617 Async ,
@@ -19,4 +20,5 @@ export {
1920 ProcessGameConfig ,
2021 InitializeGame ,
2122 CreateGameReducer ,
23+ createMatch ,
2224} ;
Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ export const createMetadata = ({
3333} ;
3434
3535/**
36- * Creates matchID, initial state and metadata for a new match.
36+ * Creates initial state and metadata for a new match.
3737 * If the provided `setupData` doesn’t pass the game’s validation,
3838 * an error object is returned instead.
3939 */
You can’t perform that action at this time.
0 commit comments