UNPKG
chessjs
Version:
latest (0.0.1)
0.0.1
A chess engine.
varl/chessjs
chessjs
/
lib
/
table.js
11 lines
(7 loc)
•
187 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
var
Game
=
require
(
'./game.js'
);
function
Table
(
whitePlayer, blackPlayer
) {
this
.
white
= whitePlayer;
this
.
black
= blackPlayer;
this
.
game
=
new
Game
(); }
module
.
exports
=
Table
;