class Player { constructor(name) { this._name = name; this._turn = false; this._canPlay = false } get name() { return this._name; } get turn(){ return this._turn; } get canPlay(){ return this._canPlay; } } module.exports = Player;