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.

26 lines
423 B

  1. //Legt mögliche Farben fest, "NONE" sind Auswahlkarten
  2. import Game from "./Game.js";
  3. import Style from "./Style.js";
  4. export const CARD_COLORS = ["NONE", "BLUE", "GREEN", "RED", "YELLOW"];
  5. export let style;
  6. let rules = {
  7. startCards: 5,
  8. firstPlaySpecial: true,
  9. }
  10. $(()=>{
  11. let game = new Game(2, rules);
  12. style = new Style(game);
  13. game.start();
  14. Style.showDebug();
  15. style.refreshDebug();
  16. });