const fs = require('fs'); const path = require('path'); const width = 2000; const height = 1800; // Hilfsfunktion für eine kleine Karte auf der Box-Vorderseite function drawMiniCard(x, y, rotation, color, num) { return ` ${num} ${num} `; } const svgContent = ` ${drawMiniCard(-60, 20, -15, '#43A047', '7')} ${drawMiniCard(-20, 0, -5, '#212121', '12')} ${drawMiniCard(20, 10, 10, '#E53935', '11')} ${drawMiniCard(60, 30, 25, '#FDD835', '4')} TROX TACTICAL CARD GAME HOW TO PLAY Bid exactly. Win tricks. Rule the table. 2-6 Players | Ages 7+ | 80 Cards `; const outputDir = path.join(__dirname, 'karten_export_v2'); if (!fs.existsSync(outputDir)) { fs.mkdirSync(outputDir); } fs.writeFileSync(path.join(outputDir, 'trox_tuck_box_v3.svg'), svgContent); console.log('Update abgeschlossen: Box-Design mit Karten-Illustration generiert.');