class Cards { constructor(name, color) { this._onScreen = false; this._canPut = false; this._name = name; this._color = color; } get name() { return this._name; } get canPut() { return this._canPut; } get color() { return this._color; } get onScreen() { return this._onScreen; } } module.exports = Cards;