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

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