You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

30 lines
487 B

//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();
})
});