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

  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. let rules = {
  6. startCards: 5,
  7. firstPlaySpecial: true,
  8. }
  9. $(()=>{
  10. let game = new Game(4, rules);
  11. let style = new Style(game);
  12. game.start();
  13. style.showDebug();
  14. style.refreshHtml();
  15. $(window).on('resize', function () {
  16. style.refreshHtml();
  17. })
  18. });