//Legt mögliche Farben fest, "NONE" sind Auswahlkarten import Game from "./Game.js"; import Style from "./Style.js"; export const CARD_COLORS = ["NONE", "BLUE", "GREEN", "RED", "YELLOW"]; let rules = { startCards: 5, firstPlaySpecial: true, } $(()=>{ let game = new Game(4, rules); let style = new Style(game); game.start(); style.showDebug(); style.refreshHtml(); $(window).on('resize', function () { style.refreshHtml(); }) });