mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-05 13:53:12 +02:00
Fix
This commit is contained in:
@@ -4,7 +4,7 @@ const faces = ['Jack', 'Queen', 'King'];
|
||||
const { shuffle } = require('../../util/Util');
|
||||
|
||||
module.exports = class Deck {
|
||||
constructor(options) {
|
||||
constructor(options = {}) {
|
||||
this.deckCount = options.deckCount || 1;
|
||||
this.includeJokers = options.includeJokers || false;
|
||||
this.deck = [];
|
||||
|
||||
Reference in New Issue
Block a user