diff --git a/uno/js/cards/Card.js b/uno/js/cards/Card.js index 2cf0347..8e0a0f2 100644 --- a/uno/js/cards/Card.js +++ b/uno/js/cards/Card.js @@ -34,4 +34,5 @@ class Card { } +//Exportiert Modul Card module.exports = Card; \ No newline at end of file diff --git a/uno/js/uno.js b/uno/js/uno.js index d309a03..9a94c5f 100644 --- a/uno/js/uno.js +++ b/uno/js/uno.js @@ -1,5 +1,7 @@ +//Legt mögliche Farben fest, "NONE" sind Auswahlkarten const CARD_COLORS = ["NONE", "BLUE", "GREEN", "RED", "YELLOW"]; +//Exportiert CARD_COLORS module.exports = { CARD_COLORS: CARD_COLORS, } \ No newline at end of file