UNPKG
josiah_
Version:
latest (0.0.3)
1.0.0
0.0.3
Tic Tac Toe game api
github.com/jmnyarega/game-apis.git
jmnyarega/game-apis
josiah_
/
index.js
11 lines
(7 loc)
•
251 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
'use strict'
;
const
{
tictac
: multiplayer } =
require
(
'./lib/TicTacToe'
);
/** how to use the module * ticTac([1,3,4], [2, 5, 8]) // player two wins * You get back undefined if you pass number-uncoersable value */
module
.
exports
= multiplayer;