6 মিনিট
Build ও ZIP export
Inspection pass করা self-contained archive বানান।
Archive layout
- 1.index.html ZIP root-এ রাখুন।
- 2.Optional scoring config-এর exact root filename d3-game.config.json হতে হবে।
- 3.Portable relative path ব্যবহার করুন; localhost বা drive path নয়।
- 4.Source map, cache, dev file ও secret সরান।
my-game.zip
├── index.html
├── d3-game.config.json # optional, সর্বোচ্চ 256 KB
├── game.js
├── styles.css
└── assets/Portable scoring configuration
Root d3-game.config.json শুধু data হিসেবে parse হয়ে Draft-এ import হয়। Portal game slug, metric, ranking, season, capability ও scoring version validate করে; JSON path error এবং published config-এর diff দেখায়।
Upload কখনো config publish করে না। Diff review করে explicit validate ও publish করুন। Duplicate key, secret, API override, unsafe key, nested copy ও ambiguous filename reject হয়।
Upload-এর পরে
Portal archive safety, entry point, file limit, viewport, SDK, versioned static security rule ও external origin check করে; এরপর asynchronous malware scan চালায়। CLEAN result-এর আগে submit করা যায় না।
প্রতিটি third-party origin-এর purpose লিখুন। Reviewer finding disposition ও origin approval দেয়; release CSP শুধু approved allowlist ব্যবহার করে।