|
@ -1,5 +1,6 @@ |
|
|
//Legt mögliche Farben fest, "NONE" sind Auswahlkarten
|
|
|
//Legt mögliche Farben fest, "NONE" sind Auswahlkarten
|
|
|
import Game from "./Game.js"; |
|
|
import Game from "./Game.js"; |
|
|
|
|
|
import Style from "./Style.js"; |
|
|
|
|
|
|
|
|
export const CARD_COLORS = ["NONE", "BLUE", "GREEN", "RED", "YELLOW"]; |
|
|
export const CARD_COLORS = ["NONE", "BLUE", "GREEN", "RED", "YELLOW"]; |
|
|
|
|
|
|
|
@ -11,8 +12,10 @@ let rules = { |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
let game = new Game(2, rules); |
|
|
let game = new Game(2, rules); |
|
|
|
|
|
let style = new Style(game); |
|
|
game.start(); |
|
|
game.start(); |
|
|
|
|
|
|
|
|
console.log(game.currentPlayer + game.cardOnDeck.name +""); |
|
|
|
|
|
|
|
|
style.showDebug(); |
|
|
|
|
|
style.refreshDebug(); |
|
|
|
|
|
|
|
|
|
|
|
|