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.
25 lines
378 B
25 lines
378 B
//Legt mögliche Farben fest, "NONE" sind Auswahlkarten
|
|
import Game from "./Game.js";
|
|
|
|
export const CARD_COLORS = ["NONE", "BLUE", "GREEN", "RED", "YELLOW"];
|
|
|
|
let rules = {
|
|
startCards: 3,
|
|
firstPlaySpecial: true,
|
|
}
|
|
|
|
$(()=>{
|
|
|
|
let game = new Game(4, rules);
|
|
game.start();
|
|
|
|
$(window).on('resize', function () {
|
|
game.style.refreshHtml();
|
|
})
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|