point rows with place, per-kind hours, game-fit field, credit tiers, stricter checks
Browse files
app.js
CHANGED
|
@@ -18,33 +18,36 @@ const LOCAL = { // texts only this page needs
|
|
| 18 |
drop: ["Click to choose files, or drop them here", "点击选择文件,或拖到这里"],
|
| 19 |
drop_sub: ["png · jpg · webp · mp4 · webm · mov · txt · md", "png · jpg · webp · mp4 · webm · mov · txt · md"],
|
| 20 |
sec_ref: ["Reference", "素材"], sec_task: ["Task", "题目"], sec_you: ["Credit", "署名"],
|
| 21 |
-
h_len: ["
|
| 22 |
-
|
| 23 |
-
|
| 24 |
-
|
| 25 |
-
|
| 26 |
-
ex_idea: ["What should the AI build?", "想让 AI 做成什么"], ex_edit: ["Follow-up edit", "后续修改"],
|
| 27 |
};
|
| 28 |
let D, lang = "en", OA = null, screenState = null, verdictShown = false, files = [], exTab = 0;
|
| 29 |
const li = () => D.langs.indexOf(lang);
|
| 30 |
const fmt = (s, kw = {}) => s.replace(/\{(\w+)(?::\.(\d)f)?\}/g, (_, k, p) => p != null ? Number(kw[k]).toFixed(+p) : kw[k] ?? "");
|
| 31 |
-
const t = (k, kw) => fmt((D.text[k] || LOCAL[k])[li()], kw), msg = (k, kw) => fmt(D.msg[k][li()], kw);
|
| 32 |
const rich = s => esc(s).replace(/\*\*(.+?)\*\*/g, "<b>$1</b>").replace(/`(.+?)`/g, "<code>$1</code>").replace(/^### (.*)$/m, "<h3>$1</h3>").replace(/\n\n/g, "<br>");
|
| 33 |
|
| 34 |
// ---------------------------------------------------------------- checks (mirror of validator.py)
|
| 35 |
-
const CJK = /[㐀-鿿]/g;
|
| 36 |
-
const
|
|
|
|
|
|
|
| 37 |
const WHERE = /\d{1,2}:\d{2}|图\s*\d|第\s*\d+\s*[段张页章幕]|\b(imgs?|images?|photos?|pictures?|figs?|paras?|paragraphs?|ch|chapters?|pages?|pp?)\.?\s*\d|段落|开头|结尾|\b(opening|ending|first|last) (scene|shot|line|paragraph|image)/i;
|
| 38 |
const RANGE = /^\s*(\d{1,2}:)?\d{1,2}:\d{2}(\.\d+)?\s*[-–~到至]\s*(\d{1,2}:)?\d{1,2}:\d{2}(\.\d+)?\s*$/;
|
| 39 |
const NEGATIVE = /^\s*(no\b|not\b|never\b|don'?t\b|must not\b|should not\b|without\b|不能|不要|不可|不许|没有|禁止)/i;
|
| 40 |
const VAGUE = /\b(awesome|beautiful|realistic|faithful|accurate|high[- ]quality|looks? like the (video|image|reference|original))\b|好看|好玩|逼真|还原度高|高质量|精美|酷炫|和(原片|视频|图片|素材)一样/i;
|
| 41 |
const ext = n => (n.match(/\.[^.]+$/) || [""])[0].toLowerCase();
|
| 42 |
const kind = n => D.ext.image.includes(ext(n)) ? "image" : D.ext.video.includes(ext(n)) ? "video" : D.ext.text.includes(ext(n)) ? "text" : "";
|
| 43 |
-
const lines = s => (s || "").split("\n").map(x => x.replace(/^\s*(?:[-*•·]|\d+[.、))])\s*/, "").trim()).filter(Boolean);
|
| 44 |
const norm = p => p.replace(/[((][^()()]*[))]/g, " ").replace(/[^\p{L}\p{N}]+/gu, " ").trim().toLowerCase();
|
| 45 |
-
const
|
| 46 |
-
const
|
| 47 |
-
const
|
|
|
|
|
|
|
|
|
|
| 48 |
|
| 49 |
function knownGames(genres) {
|
| 50 |
const ids = [];
|
|
@@ -52,13 +55,14 @@ function knownGames(genres) {
|
|
| 52 |
if (genres.includes("other")) for (const id of D.game_ids) if (!ids.includes(id)) ids.push(id);
|
| 53 |
return ids;
|
| 54 |
}
|
| 55 |
-
function screen(genres,
|
| 56 |
-
const
|
| 57 |
-
if (!
|
| 58 |
-
if (!
|
| 59 |
if (!modding) return {ok: false, message: msg("need_modding_answer")};
|
| 60 |
-
|
| 61 |
-
return {ok:
|
|
|
|
| 62 |
}
|
| 63 |
const videoSeconds = f => new Promise(res => { const v = document.createElement("video"); v.preload = "metadata";
|
| 64 |
v.onloadedmetadata = () => { URL.revokeObjectURL(v.src); res(v.duration); }; v.onerror = () => res(NaN); v.src = URL.createObjectURL(f); });
|
|
@@ -66,7 +70,7 @@ const videoSeconds = f => new Promise(res => { const v = document.createElement(
|
|
| 66 |
async function check(v) {
|
| 67 |
const errors = [], warnings = [], M = D.max, L = D.limits, MB = 1e6;
|
| 68 |
if (!screenState) return {errors: [msg("screen_first")]};
|
| 69 |
-
const points =
|
| 70 |
if (!D.game_track[v.game]) errors.push(msg("game")); else if (!screenState.games.includes(v.game)) errors.push(msg("game_not_known"));
|
| 71 |
if (!v.category) errors.push(msg("category"));
|
| 72 |
if (!v.license) errors.push(msg("license"));
|
|
@@ -86,28 +90,32 @@ async function check(v) {
|
|
| 86 |
if (v.license === "third_party") { if (files.length) errors.push(msg("third_files")); if (!v.link) errors.push(msg("third_link")); }
|
| 87 |
if (["public_domain", "cc"].includes(v.license) && !v.source) errors.push(msg("source"));
|
| 88 |
if (v.link && !files.length && !v.time_range) warnings.push(msg("w_range_link"));
|
| 89 |
-
|
|
|
|
| 90 |
else if (hasVideo) for (const f of files.filter(f => kind(f.name) === "video")) { // a whole uploaded video is the reference
|
| 91 |
const n = Math.round(await videoSeconds(f));
|
| 92 |
if (n > c1) errors.push(msg("clip_len", {a: c0, b: c1, x: f.name, n})); else if (!(n >= c0)) warnings.push(msg("w_range_video"));
|
| 93 |
}
|
| 94 |
if (kinds.length && kinds.every(k => k === "image") && !v.link && files.length < L.images) errors.push(msg("few_images", {m: L.images, n: files.length}));
|
| 95 |
-
|
|
|
|
| 96 |
|
| 97 |
-
const n =
|
| 98 |
-
|
| 99 |
-
let enough = true;
|
| 100 |
for (const d of D.dims) { const k = points[d.id].length, name = d.label[li()];
|
| 101 |
-
if (k < d.min)
|
| 102 |
if (k > L.points_per_dim) errors.push(msg("dim_max", {d: name, m: L.points_per_dim, n: k})); }
|
| 103 |
-
const flat = D.dims.flatMap(d => points[d.id]);
|
| 104 |
-
|
| 105 |
-
|
| 106 |
-
|
| 107 |
-
["
|
| 108 |
-
|
| 109 |
-
|
| 110 |
-
if (
|
|
|
|
|
|
|
|
|
|
| 111 |
|
| 112 |
const visibility = v.license === "third_party" ? "private" : "public";
|
| 113 |
if (visibility === "private") warnings.push(msg("w_private"));
|
|
@@ -126,9 +134,12 @@ async function check(v) {
|
|
| 126 |
const radio = name => ($(`input[name=${name}]:checked`) || {}).value || "";
|
| 127 |
const boxes = name => $$(`input[name=${name}]:checked`).map(x => x.value);
|
| 128 |
const val = id => $("#" + id).value.trim();
|
| 129 |
-
const
|
| 130 |
-
|
| 131 |
-
|
|
|
|
|
|
|
|
|
|
| 132 |
|
| 133 |
// ---------------------------------------------------------------- rendering
|
| 134 |
function options(el, name, type, key) { // radio / checkbox group that keeps its answers across languages
|
|
@@ -138,6 +149,37 @@ function options(el, name, type, key) { // radio / checkbox group that keep
|
|
| 138 |
return `<label class="opt"><input type="${type}" name="${name}" value="${id}"${keep.includes(id) ? " checked" : ""}><span>${esc(a)}${b ? ` <em>→ ${esc(b)}</em>` : ""}</span></label>`;
|
| 139 |
}).join("");
|
| 140 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 141 |
function fillGames(preferred) {
|
| 142 |
const sel = $("#game"), cur = preferred || sel.value, ids = screenState ? screenState.games : [];
|
| 143 |
const label = Object.fromEntries(D.choices.games[lang].map(([l, id]) => [id, l]));
|
|
@@ -145,9 +187,10 @@ function fillGames(preferred) {
|
|
| 145 |
sel.value = ids.includes(cur) ? cur : ids[0] || "";
|
| 146 |
}
|
| 147 |
function showVerdict() {
|
| 148 |
-
const g =
|
| 149 |
-
$("#verdict").innerHTML = s.ok ? rich(
|
| 150 |
-
|
|
|
|
| 151 |
$("#verdict").className = "verdict " + (s.ok ? "ok" : "wait"); return s;
|
| 152 |
}
|
| 153 |
function renderFiles() {
|
|
@@ -165,26 +208,22 @@ function renderExample() {
|
|
| 165 |
const media = e.images.length ? `<div class="gallery">${e.images.map(([src, cap]) => `<a href="${src}" target="_blank" rel="noopener"><img src="${src}" alt="${esc(cap)}" loading="lazy"><span>${esc(cap.replace("img", lang === "zh" ? "图" : "img"))}</span></a>`).join("")}</div>`
|
| 166 |
: e.video ? `<video src="${e.video}" controls preload="metadata"></video>`
|
| 167 |
: `<figure class="quote"><figcaption>${t("ex_excerpt")}</figcaption>${e.quote.map(p => `<p>${esc(p)}</p>`).join("")}</figure>`;
|
| 168 |
-
const dims = D.dims.map(d => `<div class="dim ${d.id}"><h4>${esc(d.label[i])}</h4><
|
| 169 |
-
$("#ex_body").innerHTML = `<div class="ex_media">${media}<p class="ex_ref"><b>${t("ex_ref")}</b> ${esc(e.reference[i])}</p>${e.credit ? `<p class="credit">${esc(e.credit)}</p>` : ""}
|
|
|
|
| 170 |
`<div class="ex_text"><div class="chips"><span>${esc(e.game[i])}</span><span>${esc(e.category[i])}</span></div>` +
|
| 171 |
-
`<h4>${t("
|
| 172 |
-
`<h4>${t("ex_edit")}</h4><p>${esc(e.edit[i])}</p><p class="result">${esc(e.result[i])}</p></div>`;
|
| 173 |
}
|
| 174 |
function counters() {
|
| 175 |
-
const
|
| 176 |
-
|
| 177 |
-
const
|
| 178 |
-
|
| 179 |
-
|
| 180 |
-
|
| 181 |
-
|
| 182 |
-
let hint = ""; ps.some((p, k) => { const x = pointIssue(p); if (x) hint = t("h_" + x, {i: k + 1, a: L.point[0], b: L.point[1]}); return x; });
|
| 183 |
-
const ok = ps.length >= d.min && ps.length <= L.points_per_dim && !hint;
|
| 184 |
-
el.innerHTML = `<b>${ps.length}</b> ${t("points_unit")} · ${t("h_need", {m: d.min})}${hint ? ` · <span>${esc(hint)}</span>` : ""}`;
|
| 185 |
-
el.className = "count " + (!ps.length ? "" : ok ? "good" : "bad");
|
| 186 |
}
|
| 187 |
-
const tt = $("#pts_n"); tt.textContent = `${total}
|
| 188 |
}
|
| 189 |
function render() {
|
| 190 |
document.documentElement.lang = lang === "zh" ? "zh-CN" : "en"; document.title = t("title");
|
|
@@ -195,10 +234,11 @@ function render() {
|
|
| 195 |
renderExample();
|
| 196 |
for (const el of $$("[data-t]")) el.textContent = t(el.dataset.t);
|
| 197 |
for (const el of $$("[data-ph]")) el.placeholder = t(el.dataset.ph);
|
| 198 |
-
|
|
|
|
| 199 |
options($("#modding"), "modding", "radio", "modding"); options($("#category"), "category", "radio", "categories");
|
| 200 |
options($("#license"), "license", "radio", "licenses");
|
| 201 |
-
fillGames(); $("#notes").innerHTML = D.notes[lang]; renderAuth(); counters();
|
| 202 |
if (verdictShown) showVerdict();
|
| 203 |
$("#result").innerHTML = ""; $("#result").className = ""; stale();
|
| 204 |
}
|
|
@@ -207,14 +247,16 @@ const stale = () => { $("#submit").disabled = true; };
|
|
| 207 |
// ---------------------------------------------------------------- actions
|
| 208 |
function doScreen() {
|
| 209 |
const s = showVerdict(); verdictShown = true;
|
| 210 |
-
|
| 211 |
-
|
| 212 |
-
profile: val("profile").slice(0, 300), games: s.games};
|
| 213 |
-
fillGames();
|
| 214 |
-
} else screenState = null;
|
| 215 |
const was = $("#form").hidden; $("#form").hidden = !s.ok;
|
| 216 |
if (s.ok && was) $("#s2").scrollIntoView({behavior: "smooth", block: "start"});
|
| 217 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 218 |
async function doCheck() {
|
| 219 |
const v = form(), r = await check(v), box = $("#result");
|
| 220 |
if (r.errors.length) { box.className = "bad"; box.innerHTML = `<h3>${t("problems").replace(/^#+ /, "")}</h3><ul>${r.errors.map(e => `<li>${esc(e)}</li>`).join("")}</ul>`; stale(); return null; }
|
|
@@ -228,22 +270,32 @@ async function doCheck() {
|
|
| 228 |
$("#submit").disabled = false; return {v, r};
|
| 229 |
}
|
| 230 |
async function makeId(v, points) {
|
| 231 |
-
const parts = [v.email, v.game, v.idea, v.link, ...D.dims.flatMap(d => points[d.id]), ...files.map(f => f.name + ":" + f.size)];
|
| 232 |
const h = await crypto.subtle.digest("SHA-256", new TextEncoder().encode(parts.join("\0")));
|
| 233 |
const hex = [...new Uint8Array(h)].map(b => b.toString(16).padStart(2, "0")).join("").slice(0, 6);
|
| 234 |
return `C-${v.game}-${new Date().toISOString().slice(0, 10).replace(/-/g, "")}-${hex}`;
|
| 235 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 236 |
async function doSubmit() {
|
| 237 |
const c = await doCheck(); if (!c) return; // the form may have changed since the check: check again
|
| 238 |
const box = $("#result");
|
| 239 |
if (!OA) { box.className = "bad"; box.innerHTML = `<h3>${t("need_signin")}</h3>`; $("#auth").scrollIntoView({behavior: "smooth", block: "center"}); return; }
|
|
|
|
|
|
|
| 240 |
const {v, r} = c, id = await makeId(v, r.points);
|
| 241 |
const stored = files.map((f, i) => `refs/${id}/${String(i + 1).padStart(2, "0")}${ext(f.name)}`);
|
| 242 |
const record = {submission_id: id, submitted_at: new Date().toISOString().replace(/\.\d+Z$/, "Z"), status: "pending_review", language: lang,
|
| 243 |
-
contributor: {nickname: v.nickname, email: v.email, hf_user:
|
| 244 |
-
|
| 245 |
target_game: v.game, track: D.game_track[v.game], category: v.category, modality: r.modality, visibility: r.visibility,
|
| 246 |
-
idea: v.idea, points: r.points, edit_request: v.edit,
|
| 247 |
reference: {files: files.map((f, i) => ({path: stored[i], name: f.name})), link: v.link, time_range: v.time_range, license: v.license, source: v.source}};
|
| 248 |
$("#submit").disabled = true; box.className = ""; box.innerHTML = `<h3>${t("sending")}</h3>`;
|
| 249 |
try {
|
|
@@ -260,9 +312,9 @@ async function doSubmit() {
|
|
| 260 |
}
|
| 261 |
|
| 262 |
// ---------------------------------------------------------------- draft kept across the sign-in redirect (files cannot be kept)
|
| 263 |
-
const TEXT_FIELDS = ["genre_other", "profile", "link", "time_range", "source", "
|
| 264 |
function saveDraft() {
|
| 265 |
-
const d = {lang, genres:
|
| 266 |
category: radio("category"), license: radio("license"), ack: $("#ack").checked, consent: $("#consent").checked};
|
| 267 |
for (const k of TEXT_FIELDS) d[k] = $("#" + k).value;
|
| 268 |
try { sessionStorage.setItem("ga-submit-draft", JSON.stringify(d)); } catch (e) {}
|
|
@@ -271,10 +323,11 @@ function loadDraft() {
|
|
| 271 |
let d; try { d = JSON.parse(sessionStorage.getItem("ga-submit-draft") || "null"); } catch (e) {}
|
| 272 |
if (!d) return;
|
| 273 |
lang = d.lang || lang; render();
|
| 274 |
-
for (const g of d.genres ||
|
| 275 |
-
|
|
|
|
| 276 |
for (const k of TEXT_FIELDS) $("#" + k).value = d[k] || "";
|
| 277 |
-
$("#ack").checked = !!d.ack; $("#consent").checked = !!d.consent; counters();
|
| 278 |
if (d.shown) { doScreen(); fillGames(d.game); }
|
| 279 |
}
|
| 280 |
async function auth() {
|
|
@@ -285,14 +338,12 @@ async function auth() {
|
|
| 285 |
|
| 286 |
async function main() {
|
| 287 |
D = await (await fetch("data.json")).json();
|
| 288 |
-
await auth(); render(); loadDraft();
|
| 289 |
$$("#lang button").forEach(b => b.onclick = () => { lang = b.dataset.lang; render(); });
|
| 290 |
$("#continue").onclick = doScreen; $("#check").onclick = doCheck; $("#submit").onclick = doSubmit;
|
| 291 |
-
$("#genres").addEventListener("change", () => {
|
| 292 |
-
|
| 293 |
-
|
| 294 |
-
if (s.ok) { screenState = {...screenState, genres: boxes("genres"), games: s.games}; fillGames(); showVerdict(); }
|
| 295 |
-
});
|
| 296 |
const add = list => { for (const f of list) if (!files.some(x => x.name === f.name && x.size === f.size)) files.push(f); renderFiles(); stale(); };
|
| 297 |
$("#file").onchange = e => { add(e.target.files); e.target.value = ""; };
|
| 298 |
const drop = $("#drop");
|
|
|
|
| 18 |
drop: ["Click to choose files, or drop them here", "点击选择文件,或拖到这里"],
|
| 19 |
drop_sub: ["png · jpg · webp · mp4 · webm · mov · txt · md", "png · jpg · webp · mp4 · webm · mov · txt · md"],
|
| 20 |
sec_ref: ["Reference", "素材"], sec_task: ["Task", "题目"], sec_you: ["Credit", "署名"],
|
| 21 |
+
h_len: ["{a}–{b} {u}", "{a}–{b} {u}"], h_where: ["add where the reference shows it", "请填素材里的位置"],
|
| 22 |
+
h_negative: ["write what must be there, not what must be absent", "请写“要有什么”,不要写“不能有什么”"],
|
| 23 |
+
h_vague: ["name something that can be seen or tried", "请写看得到、试得出的具体内容"],
|
| 24 |
+
ex_ref: ["Reference", "素材"], ex_fit: ["Why this game fits", "为什么适合这款游戏"],
|
| 25 |
+
ex_idea: ["What should the AI build?", "想让 AI 做成什么"], ex_edit: ["Follow-up edit", "后续修改"], hours_ph: ["Hours played…", "玩了多久……"],
|
|
|
|
| 26 |
};
|
| 27 |
let D, lang = "en", OA = null, screenState = null, verdictShown = false, files = [], exTab = 0;
|
| 28 |
const li = () => D.langs.indexOf(lang);
|
| 29 |
const fmt = (s, kw = {}) => s.replace(/\{(\w+)(?::\.(\d)f)?\}/g, (_, k, p) => p != null ? Number(kw[k]).toFixed(+p) : kw[k] ?? "");
|
| 30 |
+
const t = (k, kw) => fmt((D.text[k] || LOCAL[k])[li()], {u: D.unit[lang], ...kw}), msg = (k, kw) => fmt(D.msg[k][li()], {u: D.unit[lang], ...kw});
|
| 31 |
const rich = s => esc(s).replace(/\*\*(.+?)\*\*/g, "<b>$1</b>").replace(/`(.+?)`/g, "<code>$1</code>").replace(/^### (.*)$/m, "<h3>$1</h3>").replace(/\n\n/g, "<br>");
|
| 32 |
|
| 33 |
// ---------------------------------------------------------------- checks (mirror of validator.py)
|
| 34 |
+
const CJK = /[㐀-鿿]/g, WORD = /\p{L}+|\d+/gu;
|
| 35 |
+
const cjkN = s => (s.match(CJK) || []).length, wordN = s => (s.replace(CJK, " ").match(WORD) || []).length;
|
| 36 |
+
const size = s => lang === "zh" ? cjkN(s) + Math.floor((3 * wordN(s) + 1) / 2) : wordN(s) + Math.floor((2 * cjkN(s) + 2) / 3);
|
| 37 |
+
const lim = k => D.limits[k].map(x => Math.floor(x * D.scale[lang]));
|
| 38 |
const WHERE = /\d{1,2}:\d{2}|图\s*\d|第\s*\d+\s*[段张页章幕]|\b(imgs?|images?|photos?|pictures?|figs?|paras?|paragraphs?|ch|chapters?|pages?|pp?)\.?\s*\d|段落|开头|结尾|\b(opening|ending|first|last) (scene|shot|line|paragraph|image)/i;
|
| 39 |
const RANGE = /^\s*(\d{1,2}:)?\d{1,2}:\d{2}(\.\d+)?\s*[-–~到至]\s*(\d{1,2}:)?\d{1,2}:\d{2}(\.\d+)?\s*$/;
|
| 40 |
const NEGATIVE = /^\s*(no\b|not\b|never\b|don'?t\b|must not\b|should not\b|without\b|不能|不要|不可|不许|没有|禁止)/i;
|
| 41 |
const VAGUE = /\b(awesome|beautiful|realistic|faithful|accurate|high[- ]quality|looks? like the (video|image|reference|original))\b|好看|好玩|逼真|还原度高|高质量|精美|酷炫|和(原片|视频|图片|素材)一样/i;
|
| 42 |
const ext = n => (n.match(/\.[^.]+$/) || [""])[0].toLowerCase();
|
| 43 |
const kind = n => D.ext.image.includes(ext(n)) ? "image" : D.ext.video.includes(ext(n)) ? "video" : D.ext.text.includes(ext(n)) ? "text" : "";
|
|
|
|
| 44 |
const norm = p => p.replace(/[((][^()()]*[))]/g, " ").replace(/[^\p{L}\p{N}]+/gu, " ").trim().toLowerCase();
|
| 45 |
+
const seconds = x => x.trim().split(":").reduce((a, b) => a * 60 + parseFloat(b), 0);
|
| 46 |
+
const clipBounds = r => r.trim().split(/\s*[-–~到至]\s*/).map(seconds);
|
| 47 |
+
const lowEffort = s => { const tk = [...(s.match(CJK) || []), ...(s.replace(CJK, " ").match(WORD) || [])].map(x => x.toLowerCase());
|
| 48 |
+
return /(.)\1{4,}/u.test(s) || (tk.length >= 10 && new Set(tk).size / tk.length < 0.34); };
|
| 49 |
+
const quote = xs => xs.map(x => `“${x.length <= 44 ? x : x.slice(0, 42) + "…"}”`).join(" / ");
|
| 50 |
+
const pointIssue = p => { const [a, b] = lim("point"), n = size(p.text); return n < a || n > b ? "len" : NEGATIVE.test(p.text) ? "negative" : VAGUE.test(p.text) ? "vague" : !WHERE.test(p.where) ? "where" : ""; };
|
| 51 |
|
| 52 |
function knownGames(genres) {
|
| 53 |
const ids = [];
|
|
|
|
| 55 |
if (genres.includes("other")) for (const id of D.game_ids) if (!ids.includes(id)) ids.push(id);
|
| 56 |
return ids;
|
| 57 |
}
|
| 58 |
+
function screen(genres, modding) { // genres: {kind: hours band}
|
| 59 |
+
const kinds = Object.keys(genres);
|
| 60 |
+
if (!kinds.length) return {ok: false, message: msg("need_genre")};
|
| 61 |
+
if (kinds.some(g => !genres[g])) return {ok: false, message: msg("need_hours_answer")};
|
| 62 |
if (!modding) return {ok: false, message: msg("need_modding_answer")};
|
| 63 |
+
const ok = kinds.filter(g => genres[g] !== "lt10" || D.makers.includes(modding));
|
| 64 |
+
if (!ok.length) return {ok: false, message: msg("too_new")};
|
| 65 |
+
return {ok: true, games: knownGames(ok), skipped: kinds.filter(g => !ok.includes(g))};
|
| 66 |
}
|
| 67 |
const videoSeconds = f => new Promise(res => { const v = document.createElement("video"); v.preload = "metadata";
|
| 68 |
v.onloadedmetadata = () => { URL.revokeObjectURL(v.src); res(v.duration); }; v.onerror = () => res(NaN); v.src = URL.createObjectURL(f); });
|
|
|
|
| 70 |
async function check(v) {
|
| 71 |
const errors = [], warnings = [], M = D.max, L = D.limits, MB = 1e6;
|
| 72 |
if (!screenState) return {errors: [msg("screen_first")]};
|
| 73 |
+
const points = v.points;
|
| 74 |
if (!D.game_track[v.game]) errors.push(msg("game")); else if (!screenState.games.includes(v.game)) errors.push(msg("game_not_known"));
|
| 75 |
if (!v.category) errors.push(msg("category"));
|
| 76 |
if (!v.license) errors.push(msg("license"));
|
|
|
|
| 90 |
if (v.license === "third_party") { if (files.length) errors.push(msg("third_files")); if (!v.link) errors.push(msg("third_link")); }
|
| 91 |
if (["public_domain", "cc"].includes(v.license) && !v.source) errors.push(msg("source"));
|
| 92 |
if (v.link && !files.length && !v.time_range) warnings.push(msg("w_range_link"));
|
| 93 |
+
let clip = null;
|
| 94 |
+
if (v.time_range && RANGE.test(v.time_range)) { clip = clipBounds(v.time_range); const n = Math.round(clip[1] - clip[0]); if (n < c0 || n > c1) errors.push(msg("clip_len", {a: c0, b: c1, x: v.time_range, n})); }
|
| 95 |
else if (hasVideo) for (const f of files.filter(f => kind(f.name) === "video")) { // a whole uploaded video is the reference
|
| 96 |
const n = Math.round(await videoSeconds(f));
|
| 97 |
if (n > c1) errors.push(msg("clip_len", {a: c0, b: c1, x: f.name, n})); else if (!(n >= c0)) warnings.push(msg("w_range_video"));
|
| 98 |
}
|
| 99 |
if (kinds.length && kinds.every(k => k === "image") && !v.link && files.length < L.images) errors.push(msg("few_images", {m: L.images, n: files.length}));
|
| 100 |
+
const tm = Math.floor(L.text_units * D.scale[lang]);
|
| 101 |
+
for (const f of files) if (kind(f.name) === "text" && f.size <= M.text) { const n = size(await f.text()); if (n < tm) errors.push(msg("short_text", {x: f.name, n, m: tm})); }
|
| 102 |
|
| 103 |
+
const length = (key, text, label) => { const [a, b] = lim(key), n = size(text); if (n < a || n > b) errors.push(msg(label, {a, b, n})); };
|
| 104 |
+
length("idea", v.idea, "idea_len"); length("fit", v.fit, "fit_len"); if (v.edit) length("edit", v.edit, "edit_len");
|
|
|
|
| 105 |
for (const d of D.dims) { const k = points[d.id].length, name = d.label[li()];
|
| 106 |
+
if (k < d.min) errors.push(msg("dim_min", {d: name, m: d.min, n: k}));
|
| 107 |
if (k > L.points_per_dim) errors.push(msg("dim_max", {d: name, m: L.points_per_dim, n: k})); }
|
| 108 |
+
const flat = D.dims.flatMap(d => points[d.id]), texts = flat.map(p => p.text), norms = texts.map(norm), [a, b] = lim("point"), all = [v.idea, v.fit, v.edit, ...texts].filter(Boolean);
|
| 109 |
+
for (const [key, bad] of [["point_len", texts.filter(x => size(x) < a || size(x) > b)], ["point_where", flat.filter(p => !WHERE.test(p.where)).map(p => p.text || "…")],
|
| 110 |
+
["point_negative", texts.filter(x => NEGATIVE.test(x))], ["point_vague", texts.filter(x => VAGUE.test(x))],
|
| 111 |
+
["point_dup", [...new Set(texts.filter(x => x && norms.filter(y => y === norm(x)).length > 1))].sort()],
|
| 112 |
+
["low_effort", all.filter(lowEffort)], ["copied", all.filter(x => D.copied.includes(norm(x)))]])
|
| 113 |
+
if (bad.length) errors.push(msg(key, {a, b, x: quote(bad)}));
|
| 114 |
+
const nImg = kinds.filter(k => k === "image").length;
|
| 115 |
+
if (nImg && !v.link) { const cited = flat.flatMap(p => [...p.where.matchAll(/(?:imgs?|images?|photos?|pictures?|图)\.?\s*(\d+)/gi)].map(m => +m[1]));
|
| 116 |
+
if (cited.length && Math.max(...cited) > nImg) errors.push(msg("where_img", {n: Math.max(...cited), m: nImg})); }
|
| 117 |
+
if (clip) for (const p of flat) { const out = (p.where.match(/\d{1,2}:\d{2}(?::\d{2})?/g) || []).filter(x => !((clip[0] - 1 <= seconds(x) && seconds(x) <= clip[1] + 1) || seconds(x) <= clip[1] - clip[0] + 1));
|
| 118 |
+
if (out.length) { errors.push(msg("where_time", {x: out[0], r: v.time_range})); break; } }
|
| 119 |
|
| 120 |
const visibility = v.license === "third_party" ? "private" : "public";
|
| 121 |
if (visibility === "private") warnings.push(msg("w_private"));
|
|
|
|
| 134 |
const radio = name => ($(`input[name=${name}]:checked`) || {}).value || "";
|
| 135 |
const boxes = name => $$(`input[name=${name}]:checked`).map(x => x.value);
|
| 136 |
const val = id => $("#" + id).value.trim();
|
| 137 |
+
const genreHours = () => Object.fromEntries(boxes("genres").map(g => [g, ($(`#hours select[data-g=${g}]`) || {}).value || ""]));
|
| 138 |
+
const readPoints = (keepEmpty = false) => Object.fromEntries(D.dims.map(d => [d.id, $$(`#${d.id}_rows .point`).map(r => ({text: $("textarea", r).value.trim(), where: $("input", r).value.trim()}))
|
| 139 |
+
.filter(p => keepEmpty || p.text || p.where)]));
|
| 140 |
+
const form = () => ({game: $("#game").value, category: radio("category"), link: val("link"), time_range: val("time_range"), license: radio("license"),
|
| 141 |
+
source: val("source"), fit: val("fit"), idea: val("idea"), points: readPoints(), edit: val("edit"), nickname: val("nickname"), email: val("email"),
|
| 142 |
+
ack: $("#ack").checked, consent: $("#consent").checked});
|
| 143 |
|
| 144 |
// ---------------------------------------------------------------- rendering
|
| 145 |
function options(el, name, type, key) { // radio / checkbox group that keeps its answers across languages
|
|
|
|
| 149 |
return `<label class="opt"><input type="${type}" name="${name}" value="${id}"${keep.includes(id) ? " checked" : ""}><span>${esc(a)}${b ? ` <em>→ ${esc(b)}</em>` : ""}</span></label>`;
|
| 150 |
}).join("");
|
| 151 |
}
|
| 152 |
+
function renderHours(preset) { // one hours question per ticked kind
|
| 153 |
+
const keep = preset || genreHours(), label = Object.fromEntries(D.choices.genres[lang].map(([l, id]) => [id, l.split(" → ")[0]]));
|
| 154 |
+
const kinds = boxes("genres");
|
| 155 |
+
$("#hours").innerHTML = kinds.length ? kinds.map(g => `<label class="hrow"><span>${esc(label[g])}</span><select data-g="${g}" aria-label="${esc(label[g])}">` +
|
| 156 |
+
`<option value="">${t("hours_ph")}</option>${D.choices.hours[lang].map(([l, id]) => `<option value="${id}"${keep[g] === id ? " selected" : ""}>${esc(l)}</option>`).join("")}</select></label>`).join("")
|
| 157 |
+
: `<p class="info">${t("q_hours_none")}</p>`;
|
| 158 |
+
}
|
| 159 |
+
function pointRow(d, p = {text: "", where: ""}) {
|
| 160 |
+
const row = document.createElement("div"); row.className = "point";
|
| 161 |
+
row.innerHTML = `<span class="pn"></span><div class="pbody"><textarea rows="2"></textarea>` +
|
| 162 |
+
`<div class="pwhere"><input type="text"><button type="button" class="x">×</button></div><div class="count"></div></div>`;
|
| 163 |
+
$("textarea", row).value = p.text; $("input", row).value = p.where;
|
| 164 |
+
$(".x", row).onclick = () => { row.remove(); labelRows(); counters(); stale(); };
|
| 165 |
+
return row;
|
| 166 |
+
}
|
| 167 |
+
function labelRows() {
|
| 168 |
+
for (const d of D.dims) {
|
| 169 |
+
const rows = $$(`#${d.id}_rows .point`);
|
| 170 |
+
rows.forEach((r, i) => { $(".pn", r).textContent = i + 1; const ta = $("textarea", r), inp = $("input", r);
|
| 171 |
+
ta.placeholder = i === 0 ? t(d.id + "_ph") : ""; ta.setAttribute("aria-label", `${d.label[li()]} · ${t("p_n", {i: i + 1})}`);
|
| 172 |
+
inp.placeholder = t("p_where_ph"); inp.setAttribute("aria-label", t("p_where")); $(".x", r).setAttribute("aria-label", t("p_remove")); $(".x", r).title = t("p_remove");
|
| 173 |
+
$(".x", r).hidden = rows.length <= d.min; });
|
| 174 |
+
$(`#${d.id}_add`).hidden = rows.length >= D.limits.points_per_dim;
|
| 175 |
+
}
|
| 176 |
+
}
|
| 177 |
+
function setPoints(points) {
|
| 178 |
+
for (const d of D.dims) { const box = $(`#${d.id}_rows`); box.innerHTML = "";
|
| 179 |
+
const ps = [...(points?.[d.id] || [])]; while (ps.length < d.min) ps.push({text: "", where: ""});
|
| 180 |
+
ps.forEach(p => box.appendChild(pointRow(d, p))); }
|
| 181 |
+
labelRows();
|
| 182 |
+
}
|
| 183 |
function fillGames(preferred) {
|
| 184 |
const sel = $("#game"), cur = preferred || sel.value, ids = screenState ? screenState.games : [];
|
| 185 |
const label = Object.fromEntries(D.choices.games[lang].map(([l, id]) => [id, l]));
|
|
|
|
| 187 |
sel.value = ids.includes(cur) ? cur : ids[0] || "";
|
| 188 |
}
|
| 189 |
function showVerdict() {
|
| 190 |
+
const g = genreHours(), s = screen(g, radio("modding")), label = Object.fromEntries(D.choices.genres[lang].map(([l, id]) => [id, l.split(" → ")[0]]));
|
| 191 |
+
$("#verdict").innerHTML = !s.ok ? `${rich(t("v_no"))}${esc(s.message)}`
|
| 192 |
+
: rich(("other" in g && !s.skipped.includes("other") ? t("v_ok_other") : t("v_ok", {games: s.games.map(x => D.game_short[lang][x]).join(", ")})) +
|
| 193 |
+
(s.skipped.length ? t("v_skipped", {kinds: s.skipped.map(k => label[k]).join(", ")}) : ""));
|
| 194 |
$("#verdict").className = "verdict " + (s.ok ? "ok" : "wait"); return s;
|
| 195 |
}
|
| 196 |
function renderFiles() {
|
|
|
|
| 208 |
const media = e.images.length ? `<div class="gallery">${e.images.map(([src, cap]) => `<a href="${src}" target="_blank" rel="noopener"><img src="${src}" alt="${esc(cap)}" loading="lazy"><span>${esc(cap.replace("img", lang === "zh" ? "图" : "img"))}</span></a>`).join("")}</div>`
|
| 209 |
: e.video ? `<video src="${e.video}" controls preload="metadata"></video>`
|
| 210 |
: `<figure class="quote"><figcaption>${t("ex_excerpt")}</figcaption>${e.quote.map(p => `<p>${esc(p)}</p>`).join("")}</figure>`;
|
| 211 |
+
const dims = D.dims.map(d => `<div class="dim ${d.id}"><h4>${esc(d.label[i])}</h4><ol>${e.points[d.id].map(p => `<li>${esc(p[i])}<span class="where">${esc(p[2 + i])}</span></li>`).join("")}</ol></div>`).join("");
|
| 212 |
+
$("#ex_body").innerHTML = `<div class="ex_media">${media}<p class="ex_ref"><b>${t("ex_ref")}</b> ${esc(e.reference[i])}</p>${e.credit ? `<p class="credit">${esc(e.credit)}</p>` : ""}` +
|
| 213 |
+
`<h4>${t("ex_fit")}</h4><p>${esc(e.fit[i])}</p><h4>${t("ex_idea")}</h4><p>${esc(e.idea[i])}</p><h4>${t("ex_edit")}</h4><p>${esc(e.edit[i])}</p></div>` +
|
| 214 |
`<div class="ex_text"><div class="chips"><span>${esc(e.game[i])}</span><span>${esc(e.category[i])}</span></div>` +
|
| 215 |
+
`<h4>${t("sum_points")}</h4><div class="dims">${dims}</div><p class="result">${esc(e.result[i])}</p></div>`;
|
|
|
|
| 216 |
}
|
| 217 |
function counters() {
|
| 218 |
+
for (const k of ["idea", "fit", "edit"]) { const [a, b] = lim(k), n = size($("#" + k).value), c = $(`#${k}_n`);
|
| 219 |
+
c.textContent = n || k !== "edit" ? `${n} / ${a}–${b} ${D.unit[lang]}` : ""; c.className = "count " + (!n ? "" : n >= a && n <= b ? "good" : "bad"); }
|
| 220 |
+
const [a, b] = lim("point"); let total = 0;
|
| 221 |
+
for (const d of D.dims) for (const r of $$(`#${d.id}_rows .point`)) {
|
| 222 |
+
const p = {text: $("textarea", r).value.trim(), where: $("input", r).value.trim()}, c = $(".count", r), n = size(p.text), issue = p.text ? pointIssue(p) : "";
|
| 223 |
+
if (p.text && !issue) total++;
|
| 224 |
+
c.textContent = !p.text ? "" : `${n} ${D.unit[lang]}` + (issue ? ` · ${t("h_" + issue, {a, b})}` : " ✓"); c.className = "count " + (!p.text ? "" : issue ? "bad" : "good");
|
|
|
|
|
|
|
|
|
|
|
|
|
| 225 |
}
|
| 226 |
+
const need = D.dims.reduce((s, d) => s + d.min, 0), tt = $("#pts_n"); tt.textContent = `${total} ✓`; tt.className = "pill " + (total >= need ? "good" : "");
|
| 227 |
}
|
| 228 |
function render() {
|
| 229 |
document.documentElement.lang = lang === "zh" ? "zh-CN" : "en"; document.title = t("title");
|
|
|
|
| 234 |
renderExample();
|
| 235 |
for (const el of $$("[data-t]")) el.textContent = t(el.dataset.t);
|
| 236 |
for (const el of $$("[data-ph]")) el.placeholder = t(el.dataset.ph);
|
| 237 |
+
$("#tier3").hidden = !D.has_author_tier;
|
| 238 |
+
options($("#genres"), "genres", "checkbox", "genres"); renderHours();
|
| 239 |
options($("#modding"), "modding", "radio", "modding"); options($("#category"), "category", "radio", "categories");
|
| 240 |
options($("#license"), "license", "radio", "licenses");
|
| 241 |
+
fillGames(); labelRows(); $("#notes").innerHTML = D.notes[lang]; renderAuth(); counters();
|
| 242 |
if (verdictShown) showVerdict();
|
| 243 |
$("#result").innerHTML = ""; $("#result").className = ""; stale();
|
| 244 |
}
|
|
|
|
| 247 |
// ---------------------------------------------------------------- actions
|
| 248 |
function doScreen() {
|
| 249 |
const s = showVerdict(); verdictShown = true;
|
| 250 |
+
screenState = s.ok ? {genres: genreHours(), genre_other: val("genre_other").slice(0, 200), modding: radio("modding"), profile: val("profile").slice(0, 300), games: s.games} : null;
|
| 251 |
+
if (s.ok) fillGames();
|
|
|
|
|
|
|
|
|
|
| 252 |
const was = $("#form").hidden; $("#form").hidden = !s.ok;
|
| 253 |
if (s.ok && was) $("#s2").scrollIntoView({behavior: "smooth", block: "start"});
|
| 254 |
}
|
| 255 |
+
function resync() { // the kinds or hours changed after the form was opened: the target-game list follows at once
|
| 256 |
+
if (!screenState) return;
|
| 257 |
+
const s = screen(genreHours(), radio("modding"));
|
| 258 |
+
if (s.ok) { screenState = {...screenState, genres: genreHours(), modding: radio("modding"), games: s.games}; fillGames(); showVerdict(); }
|
| 259 |
+
}
|
| 260 |
async function doCheck() {
|
| 261 |
const v = form(), r = await check(v), box = $("#result");
|
| 262 |
if (r.errors.length) { box.className = "bad"; box.innerHTML = `<h3>${t("problems").replace(/^#+ /, "")}</h3><ul>${r.errors.map(e => `<li>${esc(e)}</li>`).join("")}</ul>`; stale(); return null; }
|
|
|
|
| 270 |
$("#submit").disabled = false; return {v, r};
|
| 271 |
}
|
| 272 |
async function makeId(v, points) {
|
| 273 |
+
const parts = [v.email, v.game, v.idea, v.link, ...D.dims.flatMap(d => points[d.id].map(p => p.text)), ...files.map(f => f.name + ":" + f.size)];
|
| 274 |
const h = await crypto.subtle.digest("SHA-256", new TextEncoder().encode(parts.join("\0")));
|
| 275 |
const hex = [...new Uint8Array(h)].map(b => b.toString(16).padStart(2, "0")).join("").slice(0, 6);
|
| 276 |
return `C-${v.game}-${new Date().toISOString().slice(0, 10).replace(/-/g, "")}-${hex}`;
|
| 277 |
}
|
| 278 |
+
async function openProposals(user) { // pull requests of this account that are still under review; review_prs.py enforces the same cap
|
| 279 |
+
try {
|
| 280 |
+
const r = await fetch(`https://huggingface.co/api/${REPO.type}s/${REPO.name}/discussions?type=pull_request&status=open&author=${encodeURIComponent(user)}`,
|
| 281 |
+
{headers: {Authorization: `Bearer ${OA.accessToken}`}});
|
| 282 |
+
if (!r.ok) return 0;
|
| 283 |
+
return ((await r.json()).discussions || []).filter(d => d.isPullRequest && d.status === "open" && (d.author || {}).name === user).length;
|
| 284 |
+
} catch (e) { return 0; }
|
| 285 |
+
}
|
| 286 |
async function doSubmit() {
|
| 287 |
const c = await doCheck(); if (!c) return; // the form may have changed since the check: check again
|
| 288 |
const box = $("#result");
|
| 289 |
if (!OA) { box.className = "bad"; box.innerHTML = `<h3>${t("need_signin")}</h3>`; $("#auth").scrollIntoView({behavior: "smooth", block: "center"}); return; }
|
| 290 |
+
const user = OA.userInfo.preferred_username || "", open = await openProposals(user);
|
| 291 |
+
if (open >= D.limits.open_proposals) { box.className = "bad"; box.innerHTML = `<h3>${t("too_many", {n: open})}</h3>`; return; }
|
| 292 |
const {v, r} = c, id = await makeId(v, r.points);
|
| 293 |
const stored = files.map((f, i) => `refs/${id}/${String(i + 1).padStart(2, "0")}${ext(f.name)}`);
|
| 294 |
const record = {submission_id: id, submitted_at: new Date().toISOString().replace(/\.\d+Z$/, "Z"), status: "pending_review", language: lang,
|
| 295 |
+
contributor: {nickname: v.nickname, email: v.email, hf_user: user, genres: screenState.genres, genre_other: screenState.genre_other,
|
| 296 |
+
modding: screenState.modding, profile: screenState.profile},
|
| 297 |
target_game: v.game, track: D.game_track[v.game], category: v.category, modality: r.modality, visibility: r.visibility,
|
| 298 |
+
why_this_game: v.fit, idea: v.idea, points: r.points, edit_request: v.edit,
|
| 299 |
reference: {files: files.map((f, i) => ({path: stored[i], name: f.name})), link: v.link, time_range: v.time_range, license: v.license, source: v.source}};
|
| 300 |
$("#submit").disabled = true; box.className = ""; box.innerHTML = `<h3>${t("sending")}</h3>`;
|
| 301 |
try {
|
|
|
|
| 312 |
}
|
| 313 |
|
| 314 |
// ---------------------------------------------------------------- draft kept across the sign-in redirect (files cannot be kept)
|
| 315 |
+
const TEXT_FIELDS = ["genre_other", "profile", "link", "time_range", "source", "fit", "idea", "edit", "nickname", "email"];
|
| 316 |
function saveDraft() {
|
| 317 |
+
const d = {lang, genres: genreHours(), modding: radio("modding"), shown: !$("#form").hidden, game: $("#game").value, points: readPoints(true),
|
| 318 |
category: radio("category"), license: radio("license"), ack: $("#ack").checked, consent: $("#consent").checked};
|
| 319 |
for (const k of TEXT_FIELDS) d[k] = $("#" + k).value;
|
| 320 |
try { sessionStorage.setItem("ga-submit-draft", JSON.stringify(d)); } catch (e) {}
|
|
|
|
| 323 |
let d; try { d = JSON.parse(sessionStorage.getItem("ga-submit-draft") || "null"); } catch (e) {}
|
| 324 |
if (!d) return;
|
| 325 |
lang = d.lang || lang; render();
|
| 326 |
+
for (const g of Object.keys(d.genres || {})) { const x = $(`input[name=genres][value=${g}]`); if (x) x.checked = true; }
|
| 327 |
+
renderHours(d.genres || {});
|
| 328 |
+
for (const k of ["modding", "category", "license"]) { const x = d[k] && $(`input[name=${k}][value=${d[k]}]`); if (x) x.checked = true; }
|
| 329 |
for (const k of TEXT_FIELDS) $("#" + k).value = d[k] || "";
|
| 330 |
+
setPoints(d.points); $("#ack").checked = !!d.ack; $("#consent").checked = !!d.consent; counters();
|
| 331 |
if (d.shown) { doScreen(); fillGames(d.game); }
|
| 332 |
}
|
| 333 |
async function auth() {
|
|
|
|
| 338 |
|
| 339 |
async function main() {
|
| 340 |
D = await (await fetch("data.json")).json();
|
| 341 |
+
await auth(); setPoints(); render(); loadDraft();
|
| 342 |
$$("#lang button").forEach(b => b.onclick = () => { lang = b.dataset.lang; render(); });
|
| 343 |
$("#continue").onclick = doScreen; $("#check").onclick = doCheck; $("#submit").onclick = doSubmit;
|
| 344 |
+
$("#genres").addEventListener("change", () => { renderHours(); resync(); });
|
| 345 |
+
$("#hours").addEventListener("change", resync); $("#modding").addEventListener("change", resync);
|
| 346 |
+
for (const d of D.dims) $(`#${d.id}_add`).onclick = () => { const row = pointRow(d); $(`#${d.id}_rows`).appendChild(row); labelRows(); $("textarea", row).focus(); stale(); };
|
|
|
|
|
|
|
| 347 |
const add = list => { for (const f of list) if (!files.some(x => x.name === f.name && x.size === f.size)) files.push(f); renderFiles(); stale(); };
|
| 348 |
$("#file").onchange = e => { add(e.target.files); e.target.value = ""; };
|
| 349 |
const drop = $("#drop");
|
data.json
CHANGED
|
@@ -109,12 +109,16 @@
|
|
| 109 |
"素材文本节选"
|
| 110 |
],
|
| 111 |
"q_hours": [
|
| 112 |
-
"
|
| 113 |
-
"
|
| 114 |
],
|
| 115 |
"q_hours_info": [
|
| 116 |
-
"A rough figure is fine
|
| 117 |
-
"大概的数字就行
|
|
|
|
|
|
|
|
|
|
|
|
|
| 118 |
],
|
| 119 |
"q_modding": [
|
| 120 |
"Your experience with mods for games like these (pick the highest that applies)",
|
|
@@ -132,6 +136,10 @@
|
|
| 132 |
"Continue",
|
| 133 |
"继续"
|
| 134 |
],
|
|
|
|
|
|
|
|
|
|
|
|
|
| 135 |
"v_ok": [
|
| 136 |
"**Great, thank you!** The form is below. You can target: {games}.",
|
| 137 |
"**太好了,谢谢你!** 表单在下面。你可以选的目标游戏:{games}。"
|
|
@@ -160,6 +168,18 @@
|
|
| 160 |
"The AI builds inside this game.",
|
| 161 |
"AI 要在这款游戏里把东西做出来。"
|
| 162 |
],
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 163 |
"category": [
|
| 164 |
"What does the task transfer from the reference? *",
|
| 165 |
"这道题主要从素材里还原什么? *"
|
|
@@ -197,8 +217,8 @@
|
|
| 197 |
"想让 AI 在游戏里做成什么? *"
|
| 198 |
],
|
| 199 |
"idea_info": [
|
| 200 |
-
"30–
|
| 201 |
-
"
|
| 202 |
],
|
| 203 |
"idea_ph": [
|
| 204 |
"e.g. Turn the mine-cart system in these photos into a Terraria mod. The player pushes carts along the rails, loads them with ore underground and hauls the ore out through the mine entrance to the surface.",
|
|
@@ -209,52 +229,108 @@
|
|
| 209 |
"评分点 *"
|
| 210 |
],
|
| 211 |
"pts_info": [
|
| 212 |
-
"These become the task's scoring rubric
|
| 213 |
-
"它们会变成这道题的评分标准,决定 AI 的成品怎么打分。每
|
| 214 |
],
|
| 215 |
"content": [
|
| 216 |
"Content: what must exist in the game",
|
| 217 |
"内容:游戏里必须有什么"
|
| 218 |
],
|
| 219 |
"content_info": [
|
| 220 |
-
"Objects, characters, places, rules and how they relate.
|
| 221 |
-
"物体、角色、地点、规则,以及它们之间的关系。
|
| 222 |
],
|
| 223 |
"content_ph": [
|
| 224 |
-
"The track is a network: several lines join or cross
|
| 225 |
-
"轨道是
|
| 226 |
],
|
| 227 |
"function": [
|
| 228 |
"Function: what must work when played",
|
| 229 |
"���能:玩起来必须怎样"
|
| 230 |
],
|
| 231 |
"function_info": [
|
| 232 |
-
"What the player can do and how the game responds.
|
| 233 |
-
"玩家能做什么、游戏怎么回应。
|
| 234 |
],
|
| 235 |
"function_ph": [
|
| 236 |
-
"The player
|
| 237 |
-
"玩家
|
| 238 |
],
|
| 239 |
"visual": [
|
| 240 |
"Visual: what it must look like",
|
| 241 |
"视觉:看起来必须怎样"
|
| 242 |
],
|
| 243 |
"visual_info": [
|
| 244 |
-
"Looks that make the reference recognisable.
|
| 245 |
-
"让人一眼认出素材的外观。
|
| 246 |
],
|
| 247 |
"visual_ph": [
|
| 248 |
-
"
|
| 249 |
-
"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 250 |
],
|
| 251 |
"edit": [
|
| 252 |
"A follow-up edit (optional)",
|
| 253 |
"一处后续修改(可选)"
|
| 254 |
],
|
| 255 |
"edit_info": [
|
| 256 |
-
"Once it is built, one change you would ask for,
|
| 257 |
-
"做好之后,你还想改的一处,
|
| 258 |
],
|
| 259 |
"edit_ph": [
|
| 260 |
"e.g. Turn the grass at the mine entrance into snow and ice.",
|
|
@@ -363,8 +439,8 @@
|
|
| 363 |
"请至少选一类游戏。列表里没有的话,选“其他”并写一下是哪类。"
|
| 364 |
],
|
| 365 |
"need_hours_answer": [
|
| 366 |
-
"One more thing: about how long have you played?",
|
| 367 |
-
"还差一
|
| 368 |
],
|
| 369 |
"need_modding_answer": [
|
| 370 |
"One more thing: the question about mods.",
|
|
@@ -399,8 +475,28 @@
|
|
| 399 |
"请选这道题主要还原什么(地方、规则或故事)。"
|
| 400 |
],
|
| 401 |
"idea_len": [
|
| 402 |
-
"“What should the AI build” needs {a}–{b}
|
| 403 |
-
"“想让 AI 做成什么”请写 {a}–{b}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 404 |
],
|
| 405 |
"dim_min": [
|
| 406 |
"{d} points: at least {m} needed, you have {n}.",
|
|
@@ -410,17 +506,13 @@
|
|
| 410 |
"{d} points: at most {m}, you have {n}. Keep the ones that define the reference.",
|
| 411 |
"{d}类评分点:最多 {m} 条,现在是 {n} 条。请留下最有决定性的。"
|
| 412 |
],
|
| 413 |
-
"points_total": [
|
| 414 |
-
"At least {m} scoring points in total are needed; you have {n}.",
|
| 415 |
-
"评分点合计至少 {m} 条,现在是 {n} 条。"
|
| 416 |
-
],
|
| 417 |
"point_len": [
|
| 418 |
-
"Each scoring point needs {a}–{b}
|
| 419 |
-
"每条评分点请写
|
| 420 |
],
|
| 421 |
"point_where": [
|
| 422 |
-
"
|
| 423 |
-
"每条评分点
|
| 424 |
],
|
| 425 |
"point_negative": [
|
| 426 |
"Write what must be there, not what must be absent. Please rewrite: {x}",
|
|
@@ -435,8 +527,8 @@
|
|
| 435 |
"有重复的评分点:{x}"
|
| 436 |
],
|
| 437 |
"edit_len": [
|
| 438 |
-
"The follow-up edit needs {a}–{b}
|
| 439 |
-
"“后续修改”请用 {a}–{b}
|
| 440 |
],
|
| 441 |
"clip_len": [
|
| 442 |
"The part of the video to use should be {a}–{b} seconds long; {x} is {n} seconds.",
|
|
@@ -447,8 +539,8 @@
|
|
| 447 |
"图片素材至少需要同一主题的 {m} 张(常见是 3–6 张),现在是 {n} 张。"
|
| 448 |
],
|
| 449 |
"short_text": [
|
| 450 |
-
"The text reference {x} has {n}
|
| 451 |
-
"文本素材 {x} 只有 {n}
|
| 452 |
],
|
| 453 |
"license": [
|
| 454 |
"Choose where the reference comes from.",
|
|
@@ -1058,7 +1150,7 @@
|
|
| 1058 |
},
|
| 1059 |
{
|
| 1060 |
"id": "function",
|
| 1061 |
-
"min":
|
| 1062 |
"label": [
|
| 1063 |
"Function",
|
| 1064 |
"功能"
|
|
@@ -1066,7 +1158,7 @@
|
|
| 1066 |
},
|
| 1067 |
{
|
| 1068 |
"id": "visual",
|
| 1069 |
-
"min":
|
| 1070 |
"label": [
|
| 1071 |
"Visual",
|
| 1072 |
"视觉"
|
|
@@ -1076,25 +1168,108 @@
|
|
| 1076 |
"limits": {
|
| 1077 |
"idea": [
|
| 1078 |
30,
|
| 1079 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1080 |
],
|
| 1081 |
"point": [
|
| 1082 |
-
|
| 1083 |
-
|
| 1084 |
],
|
| 1085 |
"points_per_dim": 6,
|
| 1086 |
-
"points_total": 5,
|
| 1087 |
"edit": [
|
| 1088 |
-
|
| 1089 |
-
|
| 1090 |
],
|
| 1091 |
"clip_seconds": [
|
| 1092 |
10,
|
| 1093 |
120
|
| 1094 |
],
|
| 1095 |
"images": 3,
|
| 1096 |
-
"text_units": 300
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1097 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1098 |
"ext": {
|
| 1099 |
"image": [
|
| 1100 |
".jpeg",
|
|
@@ -1121,8 +1296,8 @@
|
|
| 1121 |
},
|
| 1122 |
"links": [],
|
| 1123 |
"notes": {
|
| 1124 |
-
"en": "<h2>Guidelines</h2>\n<h3>What a task is</h3>\n<p>A reference, a target game and a request. The agent must turn the reference into something <strong>playable</strong> in the game, not a look-alike. Each task is scored on about 12 points of three kinds: what is there (content), whether it works when played (function) and how it looks (visual). You propose the points; maintainers turn each into a graded rubric item (full, partial, none) and may add or merge some.</p>\n<h3>Reference</h3>\n<table>\n<thead>\n<tr>\n<th>Type</th>\n<th>Typical in the benchmark</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Video</td>\n<td>one continuous clip, 30–60 s</td>\n</tr>\n<tr>\n<td>Images</td>\n<td>3–6 images of one subject</td>\n</tr>\n<tr>\n<td>Text</td>\n<td>one chapter or passage</td>\n</tr>\n<tr>\n<td>Mixed</td>\n<td>a clip plus images or a text that adds what the clip does not show</td>\n</tr>\n</tbody>\n</table>\n<ul>\n<li>Your own, public-domain or CC material: upload it.</li>\n<li>Someone else's copyrighted work: link and time range only. The task stays private.</li>\n</ul>\n<h3>Scoring points</h3>\n<p>They become the rubric. Each point must be:</p>\n<ul>\n<li><strong>Seen in the reference.</strong>
|
| 1125 |
-
"zh": "<h2>填写说明</h2>\n<h3>一道题是什么</h3>\n<p>一份素材、一款目标游戏、一个要求。AI 要把素材做成游戏里<strong>能玩</strong>的内容,只是看起来像不算。每道题按大约 12 个评分点打分,分三类:内容有没有(内容)、玩起来对不对(功能)、看起来像不像(视觉)。评分点由你来提;维护者把每一条写成分档的评分项(满分、部分、不得分),也可能补充或合并。</p>\n<h3>素材</h3>\n<table>\n<thead>\n<tr>\n<th>类型</th>\n<th>题库里的常见规格</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>视频</td>\n<td>一段连续画面,30–60 秒</td>\n</tr>\n<tr>\n<td>图片</td>\n<td>同一主题的 3–6 张</td>\n</tr>\n<tr>\n<td>文本</td>\n<td>一章或一段完整的文字</td>\n</tr>\n<tr>\n<td>混合</td>\n<td>一段视频,加上补充视频里看不到的内容的图片或文字</td>\n</tr>\n</tbody>\n</table>\n<ul>\n<li>自己的作品、公共领域或 CC 授权的素材:直接上传。</li>\n<li>别人的版权作品:只贴链接和时间段。这类题目不公开。</li>\n</ul>\n<h3>评分点</h3>\n<p>它们会变成评分标准。每一条都要:</p>\n<ul>\n<li><strong>在素材里看得到。</strong>
|
| 1126 |
},
|
| 1127 |
"review_days": "",
|
| 1128 |
"examples": [
|
|
@@ -1143,6 +1318,10 @@
|
|
| 1143 |
"Mechanics & Behavior",
|
| 1144 |
"玩法与机制"
|
| 1145 |
],
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1146 |
"idea": [
|
| 1147 |
"Turn the mine-cart system in these photos into a Terraria mod. The player pushes carts along the rails, loads them with ore underground and hauls the ore out through the mine entrance to the surface.",
|
| 1148 |
"把这几张照片里的矿车系统做成泰拉瑞亚的 mod。玩家沿轨道推动矿车,在井下装上矿石,再经过矿洞出口把矿运到地面。"
|
|
@@ -1152,48 +1331,70 @@
|
|
| 1152 |
"让满载的矿车有沉重感:起步更慢,最高速度也比空车低。"
|
| 1153 |
],
|
| 1154 |
"result": [
|
| 1155 |
-
"
|
| 1156 |
-
"最
|
| 1157 |
],
|
| 1158 |
"id": "images",
|
| 1159 |
"credit": "Photos, Wikimedia Commons: 1 Flocci Nivis (CC BY 4.0); 2 Ronald Werner (CC BY-SA 4.0); 3 Mining Museum for the Basque Country, Gallarta (CC BY-SA 4.0); 4 Fernost (public domain); 5 Timothy Titus (CC BY-SA 4.0); 6 unknown author, 1920s (public domain).",
|
| 1160 |
"points": {
|
| 1161 |
"content": [
|
| 1162 |
[
|
| 1163 |
-
"The
|
| 1164 |
-
"
|
|
|
|
|
|
|
| 1165 |
],
|
| 1166 |
[
|
| 1167 |
-
"
|
| 1168 |
-
"
|
|
|
|
|
|
|
| 1169 |
],
|
| 1170 |
[
|
| 1171 |
-
"The
|
| 1172 |
-
"
|
|
|
|
|
|
|
| 1173 |
]
|
| 1174 |
],
|
| 1175 |
"function": [
|
| 1176 |
[
|
| 1177 |
-
"
|
| 1178 |
-
"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1179 |
],
|
| 1180 |
[
|
| 1181 |
-
"
|
| 1182 |
-
"矿车
|
|
|
|
|
|
|
| 1183 |
],
|
| 1184 |
[
|
| 1185 |
-
"
|
| 1186 |
-
"
|
|
|
|
|
|
|
| 1187 |
]
|
| 1188 |
],
|
| 1189 |
"visual": [
|
| 1190 |
[
|
| 1191 |
-
"The
|
| 1192 |
-
"
|
|
|
|
|
|
|
| 1193 |
],
|
| 1194 |
[
|
| 1195 |
-
"
|
| 1196 |
-
"
|
|
|
|
|
|
|
| 1197 |
]
|
| 1198 |
]
|
| 1199 |
},
|
|
@@ -1243,6 +1444,10 @@
|
|
| 1243 |
"Narrative & Event",
|
| 1244 |
"剧情与事件"
|
| 1245 |
],
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1246 |
"idea": [
|
| 1247 |
"Turn the story in this clip into a playable story. A girl is chased by shadow creatures and a stranger with magic leads her away over the rooftops. Then a menacing woman curses her in the hat shop, and she plays on as an old woman.",
|
| 1248 |
"把这段视频里的故事做成可以玩的剧情。女孩被影子怪追赶,一个会魔法的陌生人带她从屋顶上方离开;之后一个气势逼人的女人在帽子店里对她下咒,她从此以老太太的样子继续游戏。"
|
|
@@ -1252,48 +1457,58 @@
|
|
| 1252 |
"她在镜子里看到自己变老之后,让帽子店变得阴冷昏暗:蜡烛熄灭,黑烟不散,高大的镜子裂开。"
|
| 1253 |
],
|
| 1254 |
"result": [
|
| 1255 |
-
"
|
| 1256 |
-
"最
|
| 1257 |
],
|
| 1258 |
"id": "video",
|
| 1259 |
"credit": "",
|
| 1260 |
"points": {
|
| 1261 |
"content": [
|
| 1262 |
[
|
| 1263 |
-
"The cast
|
| 1264 |
-
"角色
|
|
|
|
|
|
|
| 1265 |
],
|
| 1266 |
[
|
| 1267 |
-
"The hat-shop curse: the woman appears
|
| 1268 |
-
"帽子店的诅咒:
|
|
|
|
|
|
|
| 1269 |
],
|
| 1270 |
[
|
| 1271 |
-
"The
|
| 1272 |
-
"事件顺序
|
|
|
|
|
|
|
| 1273 |
]
|
| 1274 |
],
|
| 1275 |
"function": [
|
| 1276 |
[
|
| 1277 |
-
"
|
| 1278 |
-
"影子
|
| 1279 |
-
|
| 1280 |
-
|
| 1281 |
-
"The escape crosses the town through the air and ends with the stranger leaving (0:07–0:13)",
|
| 1282 |
-
"两人从空中穿过小镇逃脱,最后陌生人离开(0:07–0:13)"
|
| 1283 |
],
|
| 1284 |
[
|
| 1285 |
-
"
|
| 1286 |
-
"
|
|
|
|
|
|
|
| 1287 |
]
|
| 1288 |
],
|
| 1289 |
"visual": [
|
| 1290 |
[
|
| 1291 |
-
"The escape
|
| 1292 |
-
"逃脱
|
|
|
|
|
|
|
| 1293 |
],
|
| 1294 |
[
|
| 1295 |
-
"
|
| 1296 |
-
"在
|
|
|
|
|
|
|
| 1297 |
]
|
| 1298 |
]
|
| 1299 |
},
|
|
@@ -1318,6 +1533,10 @@
|
|
| 1318 |
"Scene & World",
|
| 1319 |
"场景与世界"
|
| 1320 |
],
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1321 |
"idea": [
|
| 1322 |
"Rebuild the underground sea of these chapters as a place to explore. The player walks along the shore from the waterfalls to the mushroom forest, the forest of ancient plants and a small harbour, under a sky of cloud.",
|
| 1323 |
"把这两章里的地下海做成一个可以探索的地方。玩家沿着海岸,从瀑布走到蘑菇森林、远古植物森林和一个小港湾,头顶是一片云的天空。"
|
|
@@ -1327,44 +1546,70 @@
|
|
| 1327 |
"让巨型蘑菇有弹性:落到菌盖上会把我高高弹起,可以从一个菌盖跳到另一个。"
|
| 1328 |
],
|
| 1329 |
"result": [
|
| 1330 |
-
"
|
| 1331 |
-
"最
|
| 1332 |
],
|
| 1333 |
"id": "text",
|
| 1334 |
"credit": "",
|
| 1335 |
"points": {
|
| 1336 |
"content": [
|
| 1337 |
[
|
| 1338 |
-
"
|
| 1339 |
-
"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1340 |
],
|
| 1341 |
[
|
| 1342 |
-
"
|
| 1343 |
-
"海
|
|
|
|
|
|
|
| 1344 |
],
|
| 1345 |
[
|
| 1346 |
-
"Along
|
| 1347 |
-
"沿海岸
|
|
|
|
|
|
|
| 1348 |
]
|
| 1349 |
],
|
| 1350 |
"function": [
|
| 1351 |
[
|
| 1352 |
-
"The shore is
|
| 1353 |
-
"海岸是一条走
|
|
|
|
|
|
|
| 1354 |
],
|
| 1355 |
[
|
| 1356 |
-
"The sea has a tide: the water line moves up the sand
|
| 1357 |
-
"海有潮汐:
|
|
|
|
|
|
|
| 1358 |
]
|
| 1359 |
],
|
| 1360 |
"visual": [
|
| 1361 |
[
|
| 1362 |
-
"The sky
|
| 1363 |
-
"天空是一层云顶,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1364 |
],
|
| 1365 |
[
|
| 1366 |
-
"The
|
| 1367 |
-
"
|
|
|
|
|
|
|
| 1368 |
]
|
| 1369 |
]
|
| 1370 |
},
|
|
|
|
| 109 |
"素材文本节选"
|
| 110 |
],
|
| 111 |
"q_hours": [
|
| 112 |
+
"About how many hours have you played each kind you ticked?",
|
| 113 |
+
"勾选的每一类,你大约各玩了多少小时?"
|
| 114 |
],
|
| 115 |
"q_hours_info": [
|
| 116 |
+
"A rough figure is fine; Steam shows your hours on each game's library page. A task can target a kind you have played for 10 hours or more.",
|
| 117 |
+
"大概的数字就行,Steam 库里每款游戏都显示游玩时间。玩过 10 小时以上的类型才能出题。"
|
| 118 |
+
],
|
| 119 |
+
"q_hours_none": [
|
| 120 |
+
"Tick a kind above first.",
|
| 121 |
+
"请先在上面勾选类型。"
|
| 122 |
],
|
| 123 |
"q_modding": [
|
| 124 |
"Your experience with mods for games like these (pick the highest that applies)",
|
|
|
|
| 136 |
"Continue",
|
| 137 |
"继续"
|
| 138 |
],
|
| 139 |
+
"v_skipped": [
|
| 140 |
+
" Left out for now (under 10 hours): {kinds}.",
|
| 141 |
+
"暂时没有列入(不到 10 小时):{kinds}。"
|
| 142 |
+
],
|
| 143 |
"v_ok": [
|
| 144 |
"**Great, thank you!** The form is below. You can target: {games}.",
|
| 145 |
"**太好了,谢谢你!** 表单在下面。你可以选的目标游戏:{games}。"
|
|
|
|
| 168 |
"The AI builds inside this game.",
|
| 169 |
"AI 要在这款游戏里把东西做出来。"
|
| 170 |
],
|
| 171 |
+
"fit": [
|
| 172 |
+
"Why does this game fit? *",
|
| 173 |
+
"为什么适合这款游戏? *"
|
| 174 |
+
],
|
| 175 |
+
"fit_info": [
|
| 176 |
+
"10–100 words. Name what the game already has that the task builds on. This also tells us you know the game.",
|
| 177 |
+
"15–150 个字。写出这款游戏已有的、这道题可以利用的东西。这也让我们知道你熟悉这款游戏。"
|
| 178 |
+
],
|
| 179 |
+
"fit_ph": [
|
| 180 |
+
"e.g. Terraria is a side-on mining game that already has minecart tracks, ore and tunnels, so the cart network can be built on its own systems.",
|
| 181 |
+
"比如:泰拉瑞亚是横版挖矿游戏,本身就有矿车轨道、矿石和坑道,矿车网络可以直接建立在它已有的系统上。"
|
| 182 |
+
],
|
| 183 |
"category": [
|
| 184 |
"What does the task transfer from the reference? *",
|
| 185 |
"这道题主要从素材里还原什么? *"
|
|
|
|
| 217 |
"想让 AI 在游戏里做成什么? *"
|
| 218 |
],
|
| 219 |
"idea_info": [
|
| 220 |
+
"30–300 words. Say what the player does, not only what is there.",
|
| 221 |
+
"45–450 个字。写出玩家能做什么,不要只写有什么东西。"
|
| 222 |
],
|
| 223 |
"idea_ph": [
|
| 224 |
"e.g. Turn the mine-cart system in these photos into a Terraria mod. The player pushes carts along the rails, loads them with ore underground and hauls the ore out through the mine entrance to the surface.",
|
|
|
|
| 229 |
"评分点 *"
|
| 230 |
],
|
| 231 |
"pts_info": [
|
| 232 |
+
"These become the task's scoring rubric: they decide how the AI's work is judged. Write each point as one full sentence (8–50 words) about one thing a reviewer can see or try, and say where the reference shows it. Most important first.",
|
| 233 |
+
"它们会变成这道题的评分标准,决定 AI 的成品怎么打分。每条写成一句完整的话(12–75 个字),只说一件审核者看得到、试得出的事,并填上素材里哪里能看到。最重要的放前面。"
|
| 234 |
],
|
| 235 |
"content": [
|
| 236 |
"Content: what must exist in the game",
|
| 237 |
"内容:游戏里必须有什么"
|
| 238 |
],
|
| 239 |
"content_info": [
|
| 240 |
+
"Objects, characters, places, rules and how they relate. 2–6 points.",
|
| 241 |
+
"物体、角色、地点、规则,以及它们之间的关系。2–6 条。"
|
| 242 |
],
|
| 243 |
"content_ph": [
|
| 244 |
+
"The track is a network, not one line: several lines join or cross",
|
| 245 |
+
"轨道是一个网络,而不是一条线:多条线路汇合或交叉"
|
| 246 |
],
|
| 247 |
"function": [
|
| 248 |
"Function: what must work when played",
|
| 249 |
"���能:玩起来必须怎样"
|
| 250 |
],
|
| 251 |
"function_info": [
|
| 252 |
+
"What the player can do and how the game responds. 2–6 points.",
|
| 253 |
+
"玩家能做什么、游戏怎么回应。2–6 条。"
|
| 254 |
],
|
| 255 |
"function_ph": [
|
| 256 |
+
"The player moves the carts: by their own action the player makes a cart move along the track",
|
| 257 |
+
"玩家移动矿车:玩家通过自己的操作使矿车沿轨道移动"
|
| 258 |
],
|
| 259 |
"visual": [
|
| 260 |
"Visual: what it must look like",
|
| 261 |
"视觉:看起来必须怎样"
|
| 262 |
],
|
| 263 |
"visual_info": [
|
| 264 |
+
"Looks that make the reference recognisable. 2–6 points.",
|
| 265 |
+
"让人一眼认出素材的外观。2–6 条。"
|
| 266 |
],
|
| 267 |
"visual_ph": [
|
| 268 |
+
"A cart's load state is readable: loaded and empty carts are told apart at a glance",
|
| 269 |
+
"矿车的装载状态可读:装载的矿车和空矿车一眼就能区分"
|
| 270 |
+
],
|
| 271 |
+
"p_where": [
|
| 272 |
+
"Where in the reference",
|
| 273 |
+
"素材里的位置"
|
| 274 |
+
],
|
| 275 |
+
"p_where_ph": [
|
| 276 |
+
"img 2 · 0:35–0:40 · paragraph 3",
|
| 277 |
+
"图 2 · 0:35–0:40 · 第 3 段"
|
| 278 |
+
],
|
| 279 |
+
"p_add": [
|
| 280 |
+
"Add a point",
|
| 281 |
+
"添加一条"
|
| 282 |
+
],
|
| 283 |
+
"p_remove": [
|
| 284 |
+
"Remove this point",
|
| 285 |
+
"删除这一条"
|
| 286 |
+
],
|
| 287 |
+
"p_n": [
|
| 288 |
+
"Point {i}",
|
| 289 |
+
"第 {i} 条"
|
| 290 |
+
],
|
| 291 |
+
"credit_title": [
|
| 292 |
+
"Credit",
|
| 293 |
+
"署名与致谢"
|
| 294 |
+
],
|
| 295 |
+
"credit_1": [
|
| 296 |
+
"Every accepted task",
|
| 297 |
+
"每道被收录的题"
|
| 298 |
+
],
|
| 299 |
+
"credit_1_sub": [
|
| 300 |
+
"Your name on the contributor list",
|
| 301 |
+
"昵称进入贡献者名单"
|
| 302 |
+
],
|
| 303 |
+
"credit_2": [
|
| 304 |
+
"6 or more accepted",
|
| 305 |
+
"累计收录 6 道以上"
|
| 306 |
+
],
|
| 307 |
+
"credit_2_sub": [
|
| 308 |
+
"Named in the paper's acknowledgements",
|
| 309 |
+
"写入论文致谢"
|
| 310 |
+
],
|
| 311 |
+
"credit_3": [
|
| 312 |
+
"? or more accepted",
|
| 313 |
+
"累计收录 ? 道以上"
|
| 314 |
+
],
|
| 315 |
+
"credit_3_sub": [
|
| 316 |
+
"Listed in the paper's Contributors author group",
|
| 317 |
+
"列入论文作者的 Contributors 组"
|
| 318 |
+
],
|
| 319 |
+
"credit_note": [
|
| 320 |
+
"Only accepted tasks count, so one careful proposal is worth more than several quick ones. You can have up to 3 proposals under review at a time.",
|
| 321 |
+
"只有被收录的题才计数,所以认真写一道比随手交几道更有用。每人同时最多有 3 份提交在审核中。"
|
| 322 |
+
],
|
| 323 |
+
"too_many": [
|
| 324 |
+
"You already have {n} proposals under review (the limit is 3). Please wait for a result before sending another.",
|
| 325 |
+
"你已经有 {n} 份提交在审核中(上限 3 份)。请等有了结果再提交新的。"
|
| 326 |
],
|
| 327 |
"edit": [
|
| 328 |
"A follow-up edit (optional)",
|
| 329 |
"一处后续修改(可选)"
|
| 330 |
],
|
| 331 |
"edit_info": [
|
| 332 |
+
"Once it is built, one change you would ask for, 10–80 words. It becomes an editing task.",
|
| 333 |
+
"做好之后,你还想改的一处,15–120 个字。它会变成一道编辑题。"
|
| 334 |
],
|
| 335 |
"edit_ph": [
|
| 336 |
"e.g. Turn the grass at the mine entrance into snow and ice.",
|
|
|
|
| 439 |
"请至少选一类游戏。列表里没有的话,选“其他”并写一下是哪类。"
|
| 440 |
],
|
| 441 |
"need_hours_answer": [
|
| 442 |
+
"One more thing: about how long have you played each kind you ticked?",
|
| 443 |
+
"还差一步:勾选的每一类大约玩了多久?"
|
| 444 |
],
|
| 445 |
"need_modding_answer": [
|
| 446 |
"One more thing: the question about mods.",
|
|
|
|
| 475 |
"请选这道题主要还原什么(地方、规则或故事)。"
|
| 476 |
],
|
| 477 |
"idea_len": [
|
| 478 |
+
"“What should the AI build” needs {a}–{b} {u}; it has {n}.",
|
| 479 |
+
"“想让 AI 做成什么”请写 {a}–{b} {u},现在是 {n} {u}。"
|
| 480 |
+
],
|
| 481 |
+
"fit_len": [
|
| 482 |
+
"“Why this game fits” needs {a}–{b} {u}; it has {n}.",
|
| 483 |
+
"“为什么适合这款游戏”请写 {a}–{b} {u},现在是 {n} {u}。"
|
| 484 |
+
],
|
| 485 |
+
"low_effort": [
|
| 486 |
+
"This does not read as a real description (repeated or random text): {x}",
|
| 487 |
+
"这段不像是认真写的内容(重复或乱打的文字):{x}"
|
| 488 |
+
],
|
| 489 |
+
"copied": [
|
| 490 |
+
"This is copied from the examples on the page. Please write your own: {x}",
|
| 491 |
+
"这是页面样例里的原文,请写你自己的内容:{x}"
|
| 492 |
+
],
|
| 493 |
+
"where_img": [
|
| 494 |
+
"A point refers to image {n}, but only {m} image(s) are uploaded.",
|
| 495 |
+
"有评分点引用了图 {n},但只上传了 {m} 张图。"
|
| 496 |
+
],
|
| 497 |
+
"where_time": [
|
| 498 |
+
"A point refers to {x}, which is outside the part of the video you chose ({r}).",
|
| 499 |
+
"有评分点引用了 {x},不在你选的视频片段({r})之内。"
|
| 500 |
],
|
| 501 |
"dim_min": [
|
| 502 |
"{d} points: at least {m} needed, you have {n}.",
|
|
|
|
| 506 |
"{d} points: at most {m}, you have {n}. Keep the ones that define the reference.",
|
| 507 |
"{d}类评分点:最多 {m} 条,现在是 {n} 条。请留下最有决定性的。"
|
| 508 |
],
|
|
|
|
|
|
|
|
|
|
|
|
|
| 509 |
"point_len": [
|
| 510 |
+
"Each scoring point needs one full sentence of {a}–{b} {u}. Please rewrite: {x}",
|
| 511 |
+
"每条评分点请写成一句完整的话,{a}–{b} {u}。请改写:{x}"
|
| 512 |
],
|
| 513 |
"point_where": [
|
| 514 |
+
"Each point needs its place in the reference, e.g. “img 2”, “0:35–0:40”, “paragraph 3”. Missing or unclear for: {x}",
|
| 515 |
+
"每条评分点都要填素材里的位置,比如“图 2”“0:35–0:40”“第 3 段”。这些没有填或看不出位置:{x}"
|
| 516 |
],
|
| 517 |
"point_negative": [
|
| 518 |
"Write what must be there, not what must be absent. Please rewrite: {x}",
|
|
|
|
| 527 |
"有重复的评分点:{x}"
|
| 528 |
],
|
| 529 |
"edit_len": [
|
| 530 |
+
"The follow-up edit needs {a}–{b} {u} describing one change; it has {n}.",
|
| 531 |
+
"“后续修改”请用 {a}–{b} {u}写清一处改动,现在是 {n} {u}。"
|
| 532 |
],
|
| 533 |
"clip_len": [
|
| 534 |
"The part of the video to use should be {a}–{b} seconds long; {x} is {n} seconds.",
|
|
|
|
| 539 |
"图片素材至少需要同一主题的 {m} 张(常见是 3–6 张),现在是 {n} 张。"
|
| 540 |
],
|
| 541 |
"short_text": [
|
| 542 |
+
"The text reference {x} has {n} {u}; a passage of at least {m} is needed to build a task from.",
|
| 543 |
+
"文本素材 {x} 只有 {n} {u};至少需要 {m} {u}的一段,才够出一道题。"
|
| 544 |
],
|
| 545 |
"license": [
|
| 546 |
"Choose where the reference comes from.",
|
|
|
|
| 1150 |
},
|
| 1151 |
{
|
| 1152 |
"id": "function",
|
| 1153 |
+
"min": 2,
|
| 1154 |
"label": [
|
| 1155 |
"Function",
|
| 1156 |
"功能"
|
|
|
|
| 1158 |
},
|
| 1159 |
{
|
| 1160 |
"id": "visual",
|
| 1161 |
+
"min": 2,
|
| 1162 |
"label": [
|
| 1163 |
"Visual",
|
| 1164 |
"视觉"
|
|
|
|
| 1168 |
"limits": {
|
| 1169 |
"idea": [
|
| 1170 |
30,
|
| 1171 |
+
300
|
| 1172 |
+
],
|
| 1173 |
+
"fit": [
|
| 1174 |
+
10,
|
| 1175 |
+
100
|
| 1176 |
],
|
| 1177 |
"point": [
|
| 1178 |
+
8,
|
| 1179 |
+
50
|
| 1180 |
],
|
| 1181 |
"points_per_dim": 6,
|
|
|
|
| 1182 |
"edit": [
|
| 1183 |
+
10,
|
| 1184 |
+
80
|
| 1185 |
],
|
| 1186 |
"clip_seconds": [
|
| 1187 |
10,
|
| 1188 |
120
|
| 1189 |
],
|
| 1190 |
"images": 3,
|
| 1191 |
+
"text_units": 300,
|
| 1192 |
+
"open_proposals": 3
|
| 1193 |
+
},
|
| 1194 |
+
"scale": {
|
| 1195 |
+
"en": 1,
|
| 1196 |
+
"zh": 1.5
|
| 1197 |
},
|
| 1198 |
+
"unit": {
|
| 1199 |
+
"en": "words",
|
| 1200 |
+
"zh": "个字"
|
| 1201 |
+
},
|
| 1202 |
+
"copied": [
|
| 1203 |
+
"a cart s load state is readable loaded and empty carts are told apart at a glance",
|
| 1204 |
+
"a forest of giant mushrooms as tall as trees stands on the shore",
|
| 1205 |
+
"a loaded cart keeps its load while it moves along the track",
|
| 1206 |
+
"after she sees her aged face in the mirror turn the hat shop cold and dark candles out black smoke in the air the tall mirror cracked",
|
| 1207 |
+
"along one shore the landmarks are placed in this order the waterfalls and streams then the mushroom forest at the turn of a promontory then the forest of ancient plants and the harbour at the far end",
|
| 1208 |
+
"at the far end of the bay a small harbour of calm water lies between cliffs sheltered from the wind and open to the sea",
|
| 1209 |
+
"carts run on the track they are guided by it and cannot travel where there is no track",
|
| 1210 |
+
"escape from a threat in play the shadow pursuers act on the player character and the stranger companion stays with the player and leads them away",
|
| 1211 |
+
"hauling route a loaded cart can be brought along the track from the underground workings out through the entrance to the surface",
|
| 1212 |
+
"make loaded carts feel heavy slower to start and a lower top speed than empty ones",
|
| 1213 |
+
"make the giant mushrooms bouncy landing on a cap throws me high into the air so i can hop from cap to cap",
|
| 1214 |
+
"mirror reveal in a dim cluttered shop full of hats the player character faces a mirror and the reflection shows an aged face set apart as a reveal",
|
| 1215 |
+
"rebuild the underground sea of these chapters as a place to explore the player walks along the shore from the waterfalls to the mushroom forest the forest of ancient plants and a small harbour under a sky of cloud",
|
| 1216 |
+
"terraria is a side on mining game that already has minecart tracks ore and tunnels so the cart network and the hauling can be built on its own systems",
|
| 1217 |
+
"terraria s side on underground world already has caves water glowing mushroom areas and a background sky so an underground sea with a route along its shore fits it naturally",
|
| 1218 |
+
"the ancient forest looks primeval giant plants of fern like and club moss like forms clearly unlike both ordinary trees and the mushrooms",
|
| 1219 |
+
"the cavern s sky a ceiling of clouds instead of an open sky lit by an even diffuse cool white light that is not sunlight",
|
| 1220 |
+
"the curse as a lasting change in play the aging is triggered by the encounter with the menacing visitor in the shop and the player character stays aged in all play that follows",
|
| 1221 |
+
"the game contains mine carts that hold a load of mined material and both loaded and empty carts occur",
|
| 1222 |
+
"the game contains the hat shop curse in a hat shop the menacing woman appears to the heroine and the heroine is changed by a spell into an old woman who is clearly still the heroine",
|
| 1223 |
+
"the game contains the story s main cast as distinct characters of their kind the heroine a stranger with magic powers faceless shadow creature pursuers and a huge menacing woman",
|
| 1224 |
+
"the game s story keeps the reference s order of key events the rescue from the pursuers then the hat shop curse then the aged heroine out in the open hills beyond the town",
|
| 1225 |
+
"the magical escape the pair shown in the air high above the town s rooftops and the busy street",
|
| 1226 |
+
"the mine layout an underground tunnel or gallery with the track along its floor and an entrance through which that track runs out to the surface",
|
| 1227 |
+
"the mushroom forest looks like a forest of giant umbrellas broad caps on thick stems standing close together",
|
| 1228 |
+
"the player moves the carts by their own action the player makes a cart move along the track",
|
| 1229 |
+
"the sea has a tide over time the water line visibly moves up the sand of the shore",
|
| 1230 |
+
"the shore is a continuous walkable route between the sea and the cliffs that takes the player to each landmark",
|
| 1231 |
+
"the track is a network not one line several lines join or cross",
|
| 1232 |
+
"the underground play space looks like a mine a rough rock tunnel or gallery around the track",
|
| 1233 |
+
"turn the mine cart system in these photos into a terraria mod the player pushes carts along the rails loads them with ore underground and hauls the ore out through the mine entrance to the surface",
|
| 1234 |
+
"turn the story in this clip into a playable story a girl is chased by shadow creatures and a stranger with magic leads her away over the rooftops then a menacing woman curses her in the hat shop and she plays on as an old woman",
|
| 1235 |
+
"tuxemon has towns characters to talk to and scripted events on a tile map which is enough for a chase a shop scene and a lasting change to the player character",
|
| 1236 |
+
"tuxemon 有城镇 可以对话的角色和格子地图上的脚本事件 足够做出追逐 店内场景 以及玩家角色的持久变化",
|
| 1237 |
+
"waterfalls run down piled rock beside the shore and feed streams that flow into the sea",
|
| 1238 |
+
"在游玩中逃离威胁 影子追捕者会对玩家角色产生作用 而陌生人同伴留在玩家身边并带领玩家离开",
|
| 1239 |
+
"地下游玩空间看起来像矿井 轨道周围是粗糙的岩石隧道或坑道",
|
| 1240 |
+
"她在镜子里看到自己变老之后 让帽子店变得阴冷昏暗 蜡烛熄灭 黑烟不散 高大的镜子裂开",
|
| 1241 |
+
"把这两章里的地下海做成一个可以探索的地方 玩家沿着海岸 从瀑布走到蘑菇森林 远古植物森林和一个小港湾 头顶是一片云的天空",
|
| 1242 |
+
"把这几张照片里的矿车系统做成泰拉瑞亚的 mod 玩家沿轨道推动矿车 在井下装上矿石 再经过矿洞出口把矿运到地面",
|
| 1243 |
+
"把这段视频里的故事做成可以玩的剧情 女孩被影子怪追赶 一个会魔法的陌生人带她从屋顶上方离开 之后一个气势逼人的女人在帽子店里对她下咒 她从此以老太太的样子继续游戏",
|
| 1244 |
+
"沿同一侧海岸 地标按以下顺序排列 瀑布和溪流 然后是岬角转弯处的蘑菇森林 接着是远古植物森林 最后在尽头是港湾",
|
| 1245 |
+
"泰拉瑞亚是横版挖矿游戏 本身就有矿车轨道 矿石和坑道 矿车网络和运矿都可以直接建立在它已有的系统上",
|
| 1246 |
+
"泰拉瑞亚的横版地下世界本来就有洞穴 水体 发光蘑菇地带和背景天空 做一片带沿岸路线的地下海很自然",
|
| 1247 |
+
"洞穴的天空 是一层云顶而不是开阔的天空 由均匀 漫射 冷白色的非阳光光线照亮",
|
| 1248 |
+
"海岸上矗立着一片像树一样高的巨型蘑菇森林",
|
| 1249 |
+
"海岸是海与悬崖之间一条连续可行走的路线 玩家可以沿它到达每个地标",
|
| 1250 |
+
"海有潮汐 随着时间推移 水线明显沿着海岸的沙滩向上移动",
|
| 1251 |
+
"海湾尽头 悬崖之间有一个水面平静的小港湾 背风遮蔽 并向大海敞开",
|
| 1252 |
+
"游戏中包含帽子店的诅咒 在一家帽子��里 令人生畏的女人出现在女主角面前 女主角被一道咒语变成了老太太 且这位老太太明显仍是女主角",
|
| 1253 |
+
"游戏中包含故事的主要角色 且他们各自是有区别的角色类型 女主角 一位拥有魔法力量的陌生人 没有面孔的影子生物追捕者 以及一个体型庞大 令人生畏的女人",
|
| 1254 |
+
"游戏中有装载采掘物料的矿车 且既有装载的矿车 也有空矿车",
|
| 1255 |
+
"游戏的故事保持了参考中关键事件的顺序 先是从追捕者手中获救 然后是帽子店的诅咒 接着是衰老的女主角身处城镇之外开阔的山丘上",
|
| 1256 |
+
"瀑布从海岸旁堆叠的岩石上流下 汇入溪流 溪流注入海中",
|
| 1257 |
+
"玩家移动矿车 玩家通过自己的操作使矿车沿轨道移动",
|
| 1258 |
+
"矿井布局 有一条地下隧道或坑道 轨道沿其底部铺设 并有一个入口 该轨道经此通向地面",
|
| 1259 |
+
"矿车在轨道上运行 受轨道引导 无法行驶到没有轨道的地方",
|
| 1260 |
+
"矿车的装载状态可读 装载的矿车和空矿车一眼就能区分",
|
| 1261 |
+
"蘑菇森林看起来像一片巨伞之林 粗茎上的宽大菌盖紧密排列",
|
| 1262 |
+
"装载的矿车沿轨道移动时保持其货物",
|
| 1263 |
+
"让巨型蘑菇有弹性 落到菌盖上会把我高高弹起 可以从一个菌盖跳到另一个",
|
| 1264 |
+
"让满载的矿车有沉重感 起步更慢 最高速度也比空车低",
|
| 1265 |
+
"诅咒作为游玩中的持久改变 衰老由在商店中与令人生畏的来访者的遭遇触发 并且玩家角色在之后的所有游玩中都保持衰老状态",
|
| 1266 |
+
"轨道是一个网络 而不是一条线 多条线路汇合或交叉",
|
| 1267 |
+
"运输路线 装载的矿车可以沿轨道从地下作业区经入口运到地面",
|
| 1268 |
+
"远古森林看起来原始古老 有蕨类状和石松状的巨型植物 明显既不同于普通树木 也不同于蘑菇",
|
| 1269 |
+
"镜子揭示 在一间昏暗 杂乱 堆满帽子的商店里 玩家角色面对一面镜子 镜中倒影显示出一张衰老的面容 并被作为一个揭示时刻单独凸显出来",
|
| 1270 |
+
"魔法逃脱 两人被呈现在空中 高高位于城镇的屋顶和熙攘的街道之上"
|
| 1271 |
+
],
|
| 1272 |
+
"has_author_tier": false,
|
| 1273 |
"ext": {
|
| 1274 |
"image": [
|
| 1275 |
".jpeg",
|
|
|
|
| 1296 |
},
|
| 1297 |
"links": [],
|
| 1298 |
"notes": {
|
| 1299 |
+
"en": "<h2>Guidelines</h2>\n<h3>What a task is</h3>\n<p>A reference, a target game and a request. The agent must turn the reference into something <strong>playable</strong> in the game, not a look-alike. Each task is scored on about 12 points of three kinds: what is there (content), whether it works when played (function) and how it looks (visual). You propose the points; maintainers turn each into a graded rubric item (full, partial, none) and may add or merge some.</p>\n<h3>Reference</h3>\n<table>\n<thead>\n<tr>\n<th>Type</th>\n<th>Typical in the benchmark</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Video</td>\n<td>one continuous clip, 30–60 s</td>\n</tr>\n<tr>\n<td>Images</td>\n<td>3–6 images of one subject</td>\n</tr>\n<tr>\n<td>Text</td>\n<td>one chapter or passage</td>\n</tr>\n<tr>\n<td>Mixed</td>\n<td>a clip plus images or a text that adds what the clip does not show</td>\n</tr>\n</tbody>\n</table>\n<ul>\n<li>Your own, public-domain or CC material: upload it.</li>\n<li>Someone else's copyrighted work: link and time range only. The task stays private.</li>\n</ul>\n<h3>Scoring points</h3>\n<p>They become the rubric. Each point must be:</p>\n<ul>\n<li><strong>A full sentence about one thing.</strong> “The track is a network: several lines join or cross.”</li>\n<li><strong>Seen in the reference.</strong> Fill in where: img 2, 0:35–0:40, paragraph 3.</li>\n<li><strong>Checkable.</strong> Something a reviewer can see or try, not a judgement like “realistic”.</li>\n<li><strong>Defining.</strong> If the reference is still recognisable without it, leave it out.</li>\n<li><strong>Positive.</strong> What must be there, not what must be absent. No camera angles or exact numbers.</li>\n</ul>\n<table>\n<thead>\n<tr>\n<th>Good</th>\n<th>Not usable</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>The track is a network, not one line: several lines join or cross</td>\n<td>The track looks realistic</td>\n</tr>\n<tr>\n<td>The player moves the carts: by their own action the player makes a cart move along the track</td>\n<td>No flying carts</td>\n</tr>\n</tbody>\n</table>\n<h3>Writing standards</h3>\n<table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Required</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Why this game fits</td>\n<td>10–100 words</td>\n</tr>\n<tr>\n<td>What to build</td>\n<td>30–300 words</td>\n</tr>\n<tr>\n<td>Scoring points</td>\n<td>2–6 each for content, function and visual</td>\n</tr>\n<tr>\n<td>Each point</td>\n<td>one sentence, 8–50 words, plus its place in the reference</td>\n</tr>\n<tr>\n<td>Follow-up edit</td>\n<td>one change, 10–80 words</td>\n</tr>\n<tr>\n<td>Reference</td>\n<td>video part 10–120 s · images ≥ 3 · text ≥ 300 words</td>\n</tr>\n</tbody>\n</table>\n<p>These figures come from the benchmark's 172 tasks: every task has at least 2 rubric items of each kind, and an item is typically 12–46 words.</p>\n<h3>Not accepted</h3>\n<p>Unclear source · reskins with nothing to play · gore, sexual or hateful content · real people's private information · game files, cracks or online cheats.</p>\n<h3>Review and credit</h3>\n<ul>\n<li>Maintainers review every proposal and email you the result. They may ask for one revision.</li>\n<li>An accepted proposal becomes a full task: we write the instruction and turn your points into graded rubric items.</li>\n<li>Every accepted task: your name on the contributor list. 6 or more: named in the paper's acknowledgements.</li>\n<li>Up to 3 proposals under review at a time. Duplicates and low-effort text are declined.</li>\n</ul>\n",
|
| 1300 |
+
"zh": "<h2>填写说明</h2>\n<h3>一道题是什么</h3>\n<p>一份素材、一款目标游戏、一个要求。AI 要把素材做成游戏里<strong>能玩</strong>的内容,只是看起来像不算。每道题按大约 12 个评分点打分,分三类:内容有没有(内容)、玩起来对不对(功能)、看起来像不像(视觉)。评分点由你来提;维护者把每一条写成分档的评分项(满分、部分、不得分),也可能补充或合并。</p>\n<h3>素材</h3>\n<table>\n<thead>\n<tr>\n<th>类型</th>\n<th>题库里的常见规格</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>视频</td>\n<td>一段连续画面,30–60 秒</td>\n</tr>\n<tr>\n<td>图片</td>\n<td>同一主题的 3–6 张</td>\n</tr>\n<tr>\n<td>文本</td>\n<td>一章或一段完整的文字</td>\n</tr>\n<tr>\n<td>混合</td>\n<td>一段视频,加上补充视频里看不到的内容的图片或文字</td>\n</tr>\n</tbody>\n</table>\n<ul>\n<li>自己的作品、公共领域或 CC 授权的素材:直接上传。</li>\n<li>别人的版权作品:只贴链接和时间段。这类题目不公开。</li>\n</ul>\n<h3>评分点</h3>\n<p>它们会变成评分标准。每一条都要:</p>\n<ul>\n<li><strong>是一句完整的话,只说一件事。</strong> “轨道是一个网络:多条线路汇合或交叉。”</li>\n<li><strong>在素材里看得到。</strong> 填上位置:图 2、0:35–0:40、第 3 段。</li>\n<li><strong>可以检查。</strong> 写审核者看得到、试得出的内容,不写“逼真”这类评价。</li>\n<li><strong>有决定性。</strong> 去掉它素材还认得出来,就不用写。</li>\n<li><strong>写“要有什么”。</strong> 不写“不能有什么”,也不写镜头角度和精确数值。</li>\n</ul>\n<table>\n<thead>\n<tr>\n<th>好的写法</th>\n<th>不能用</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>轨道是一个网络,而不是一条线:多条线路汇合或交叉</td>\n<td>轨道看起来很逼真</td>\n</tr>\n<tr>\n<td>玩家移动矿车:玩家通过自己的操作使矿车沿轨道移动</td>\n<td>矿车不能飞起来</td>\n</tr>\n</tbody>\n</table>\n<h3>填写标准</h3>\n<table>\n<thead>\n<tr>\n<th>项目</th>\n<th>要求</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>为什么适合这款游戏</td>\n<td>15–150 个字</td>\n</tr>\n<tr>\n<td>想做成什么</td>\n<td>45–450 个字</td>\n</tr>\n<tr>\n<td>评分点</td>\n<td>内容、功能、视觉各 2–6 条</td>\n</tr>\n<tr>\n<td>每条评分点</td>\n<td>一句话,12–75 个字,并填素材里的位置</td>\n</tr>\n<tr>\n<td>后续修改</td>\n<td>一处改动,15–120 个字</td>\n</tr>\n<tr>\n<td>素材</td>\n<td>视频片段 10–120 秒 · 图片 ≥ 3 张 · 文本 ≥ 450 个字</td>\n</tr>\n</tbody>\n</table>\n<p>这些数字来自题库的 172 道题:每道题每一类至少有 2 个评分项,一个评分项通常是 20–70 个字。</p>\n<h3>这些不收</h3>\n<p>来源说不清 · 只换皮、没有可玩内容 · 血腥、色情、仇恨内容 · 真人隐私 · 游戏原文件、破解、联机作弊。</p>\n<h3>审核与署名</h3>\n<ul>\n<li>维护者审核每一份提交,结果发到你的邮箱。可能请你改一轮。</li>\n<li>被收录的想法会做成正式题目:指令由我们来写,你的评分点由我们写成分档的评分项。</li>\n<li>每收录一道:昵称进入贡献者名单。累计 6 道以上:写入论文致谢。</li>\n<li>每人同时最多 3 份在审核中。重复提交和敷衍的内容会被拒绝。</li>\n</ul>\n"
|
| 1301 |
},
|
| 1302 |
"review_days": "",
|
| 1303 |
"examples": [
|
|
|
|
| 1318 |
"Mechanics & Behavior",
|
| 1319 |
"玩法与机制"
|
| 1320 |
],
|
| 1321 |
+
"fit": [
|
| 1322 |
+
"Terraria is a side-on mining game that already has minecart tracks, ore and tunnels, so the cart network and the hauling can be built on its own systems.",
|
| 1323 |
+
"泰拉瑞亚是横版挖矿游戏,本身就有矿车轨道、矿石和坑道,矿车网络和运矿都可以直接建立在它已有的系统上。"
|
| 1324 |
+
],
|
| 1325 |
"idea": [
|
| 1326 |
"Turn the mine-cart system in these photos into a Terraria mod. The player pushes carts along the rails, loads them with ore underground and hauls the ore out through the mine entrance to the surface.",
|
| 1327 |
"把这几张照片里的矿车系统做成泰拉瑞亚的 mod。玩家沿轨道推动矿车,在井下装上矿石,再经过矿洞出口把矿运到地面。"
|
|
|
|
| 1331 |
"让满载的矿车有沉重感:起步更慢,最高速度也比空车低。"
|
| 1332 |
],
|
| 1333 |
"result": [
|
| 1334 |
+
"All 9 items of the final rubric are shown; maintainers added the graded anchors (full, partial, none) and 3 editing tasks.",
|
| 1335 |
+
"这里是最终评分标准的全部 9 项;维护者为每项补上了分档锚点(满分、部分、不得分),并出了 3 道编辑题。"
|
| 1336 |
],
|
| 1337 |
"id": "images",
|
| 1338 |
"credit": "Photos, Wikimedia Commons: 1 Flocci Nivis (CC BY 4.0); 2 Ronald Werner (CC BY-SA 4.0); 3 Mining Museum for the Basque Country, Gallarta (CC BY-SA 4.0); 4 Fernost (public domain); 5 Timothy Titus (CC BY-SA 4.0); 6 unknown author, 1920s (public domain).",
|
| 1339 |
"points": {
|
| 1340 |
"content": [
|
| 1341 |
[
|
| 1342 |
+
"The game contains mine carts that hold a load of mined material, and both loaded and empty carts occur",
|
| 1343 |
+
"游戏中有装载采掘物料的矿车,且既有装载的矿车,也有空矿车",
|
| 1344 |
+
"img 2; img 3; img 4",
|
| 1345 |
+
"图 2;图 3;图 4"
|
| 1346 |
],
|
| 1347 |
[
|
| 1348 |
+
"The track is a network, not one line: several lines join or cross",
|
| 1349 |
+
"轨道是一个网络,而不是一条线:多条线路汇合或交叉",
|
| 1350 |
+
"img 2; img 6",
|
| 1351 |
+
"图 2;图 6"
|
| 1352 |
],
|
| 1353 |
[
|
| 1354 |
+
"The mine layout: an underground tunnel or gallery with the track along its floor, and an entrance through which that track runs out to the surface",
|
| 1355 |
+
"矿井布局:有一条地下隧道或坑道,轨道沿其底部铺设,并有一个入口,该轨道经此通向地面",
|
| 1356 |
+
"img 1; img 2; img 4",
|
| 1357 |
+
"图 1;图 2;图 4"
|
| 1358 |
]
|
| 1359 |
],
|
| 1360 |
"function": [
|
| 1361 |
[
|
| 1362 |
+
"Carts run on the track: they are guided by it and cannot travel where there is no track",
|
| 1363 |
+
"矿车在轨道上运行:受轨道引导,无法行驶到没有轨道的地方",
|
| 1364 |
+
"img 1; img 2; img 5",
|
| 1365 |
+
"图 1;图 2;图 5"
|
| 1366 |
+
],
|
| 1367 |
+
[
|
| 1368 |
+
"The player moves the carts: by their own action the player makes a cart move along the track",
|
| 1369 |
+
"玩家移动矿车:玩家通过自己的操作使矿车沿轨道移动",
|
| 1370 |
+
"img 6",
|
| 1371 |
+
"图 6"
|
| 1372 |
],
|
| 1373 |
[
|
| 1374 |
+
"A loaded cart keeps its load while it moves along the track",
|
| 1375 |
+
"装载的矿车沿轨道移动时保持其货物",
|
| 1376 |
+
"img 2; img 3; img 4",
|
| 1377 |
+
"图 2;图 3;图 4"
|
| 1378 |
],
|
| 1379 |
[
|
| 1380 |
+
"Hauling route: a loaded cart can be brought along the track from the underground workings out through the entrance to the surface",
|
| 1381 |
+
"运输路线:装载的矿车可以沿轨道从地下作业区经入口运到地面",
|
| 1382 |
+
"img 1; img 2",
|
| 1383 |
+
"图 1;图 2"
|
| 1384 |
]
|
| 1385 |
],
|
| 1386 |
"visual": [
|
| 1387 |
[
|
| 1388 |
+
"The underground play space looks like a mine: a rough rock tunnel or gallery around the track",
|
| 1389 |
+
"地下游玩空间看起来像矿井:轨道周围是粗糙的岩石隧道或坑道",
|
| 1390 |
+
"img 2; img 4",
|
| 1391 |
+
"图 2;图 4"
|
| 1392 |
],
|
| 1393 |
[
|
| 1394 |
+
"A cart's load state is readable: loaded and empty carts are told apart at a glance",
|
| 1395 |
+
"矿车的装载状态可读:装载的矿车和空矿车一眼就能区分",
|
| 1396 |
+
"img 2; img 3; img 4",
|
| 1397 |
+
"图 2;图 3;图 4"
|
| 1398 |
]
|
| 1399 |
]
|
| 1400 |
},
|
|
|
|
| 1444 |
"Narrative & Event",
|
| 1445 |
"剧情与事件"
|
| 1446 |
],
|
| 1447 |
+
"fit": [
|
| 1448 |
+
"Tuxemon has towns, characters to talk to and scripted events on a tile map, which is enough for a chase, a shop scene and a lasting change to the player character.",
|
| 1449 |
+
"Tuxemon 有城镇、可以对话的角色和格子地图上的脚本事件,足够做出追逐、店内场景,以及玩家角色的持久变化。"
|
| 1450 |
+
],
|
| 1451 |
"idea": [
|
| 1452 |
"Turn the story in this clip into a playable story. A girl is chased by shadow creatures and a stranger with magic leads her away over the rooftops. Then a menacing woman curses her in the hat shop, and she plays on as an old woman.",
|
| 1453 |
"把这段视频里的故事做成可以玩的剧情。女孩被影子怪追赶,一个会魔法的陌生人带她从屋顶上方离开;之后一个气势逼人的女人在帽子店里对她下咒,她从此以老太太的样子继续游戏。"
|
|
|
|
| 1457 |
"她在镜子里看到自己变老之后,让帽子店变得阴冷昏暗:蜡烛熄灭,黑烟不散,高大的镜子裂开。"
|
| 1458 |
],
|
| 1459 |
"result": [
|
| 1460 |
+
"7 of the 12 items of the final rubric are shown; maintainers added the graded anchors and 3 editing tasks.",
|
| 1461 |
+
"这里是最终评分标准 12 项中的 7 项;维护者补上了分档锚点,并出了 3 道编辑题。"
|
| 1462 |
],
|
| 1463 |
"id": "video",
|
| 1464 |
"credit": "",
|
| 1465 |
"points": {
|
| 1466 |
"content": [
|
| 1467 |
[
|
| 1468 |
+
"The game contains the story's main cast as distinct characters of their kind: the heroine (a young girl), a stranger with magic powers, faceless shadow-creature pursuers, and a huge menacing woman",
|
| 1469 |
+
"游戏中包含故事的主要角色,且他们各自是有区别的角色类型:女主角(一个年轻女孩)、一位拥有魔法力量的陌生人、没有面孔的影子生物追捕者,以及一个体型庞大、令人生畏的女人",
|
| 1470 |
+
"0:02–0:07; 0:16–0:17",
|
| 1471 |
+
"0:02–0:07;0:16–0:17"
|
| 1472 |
],
|
| 1473 |
[
|
| 1474 |
+
"The game contains the hat-shop curse: in a hat shop the menacing woman appears to the heroine, and the heroine is changed by a spell into an old woman who is clearly still the heroine",
|
| 1475 |
+
"游戏中包含帽子店的诅咒:在一家帽子店里,令人生畏的女人出现在女主角面前,女主角被一道咒语变成了老太太,且这位老太太明显仍是女主角",
|
| 1476 |
+
"0:14–0:20",
|
| 1477 |
+
"0:14–0:20"
|
| 1478 |
],
|
| 1479 |
[
|
| 1480 |
+
"The game's story keeps the reference's order of key events: the rescue from the pursuers, then the hat-shop curse, then the aged heroine out in the open hills beyond the town",
|
| 1481 |
+
"游戏的故事保持了参考中关键事件的顺序:先是从追捕者手中获救,然后是帽子店的诅咒,接着是衰老的女主角身处城镇之外开阔的山丘上",
|
| 1482 |
+
"0:02–0:22",
|
| 1483 |
+
"0:02–0:22"
|
| 1484 |
]
|
| 1485 |
],
|
| 1486 |
"function": [
|
| 1487 |
[
|
| 1488 |
+
"Escape from a threat in play: the shadow pursuers act on the player character (they advance, block or force the pace) and the stranger companion stays with the player and leads them away",
|
| 1489 |
+
"在游玩中逃离威胁:影子追捕者会对玩家角色产生作用(他们逼近、拦阻���迫使玩家加快节奏),而陌生人同伴留在玩家身边并带领玩家离开",
|
| 1490 |
+
"0:02–0:07",
|
| 1491 |
+
"0:02–0:07"
|
|
|
|
|
|
|
| 1492 |
],
|
| 1493 |
[
|
| 1494 |
+
"The curse as a lasting change in play: the aging is triggered by the encounter with the menacing visitor in the shop, and the player character stays aged in all play that follows",
|
| 1495 |
+
"诅咒作为游玩中的持久改变:衰老由在商店中与令人生畏的来访者的遭遇触发,并且玩家角色在之后的所有游玩中都保持衰老状态",
|
| 1496 |
+
"0:14–0:20",
|
| 1497 |
+
"0:14–0:20"
|
| 1498 |
]
|
| 1499 |
],
|
| 1500 |
"visual": [
|
| 1501 |
[
|
| 1502 |
+
"The magical escape: the pair shown in the air, high above the town's rooftops and the busy street",
|
| 1503 |
+
"魔法逃脱:两人被呈现在空中,高高位于城镇的屋顶和熙攘的街道之上",
|
| 1504 |
+
"0:07–0:11",
|
| 1505 |
+
"0:07–0:11"
|
| 1506 |
],
|
| 1507 |
[
|
| 1508 |
+
"Mirror reveal: in a dim, cluttered shop full of hats, the player character faces a mirror and the reflection shows an aged face, set apart as a reveal",
|
| 1509 |
+
"镜子揭示:在一间昏暗、杂乱、堆满帽子的商店里,玩家角色面对一面镜子,镜中倒影显示出一张衰老的面容,并被作为一个揭示时刻单独凸显出来",
|
| 1510 |
+
"0:14–0:16; 0:18–0:20",
|
| 1511 |
+
"0:14–0:16;0:18–0:20"
|
| 1512 |
]
|
| 1513 |
]
|
| 1514 |
},
|
|
|
|
| 1533 |
"Scene & World",
|
| 1534 |
"场景与世界"
|
| 1535 |
],
|
| 1536 |
+
"fit": [
|
| 1537 |
+
"Terraria's side-on underground world already has caves, water, glowing mushroom areas and a background sky, so an underground sea with a route along its shore fits it naturally.",
|
| 1538 |
+
"泰拉瑞亚的横版地下世界本来就有洞穴、水体、发光蘑菇地带和背景天空,做一片带沿岸路线的地下海很自然。"
|
| 1539 |
+
],
|
| 1540 |
"idea": [
|
| 1541 |
"Rebuild the underground sea of these chapters as a place to explore. The player walks along the shore from the waterfalls to the mushroom forest, the forest of ancient plants and a small harbour, under a sky of cloud.",
|
| 1542 |
"把这两章里的地下海做成一个可以探索的地方。玩家沿着海岸,从瀑布走到蘑菇森林、远古植物森林和一个小港湾,头顶是一片云的天空。"
|
|
|
|
| 1546 |
"让巨型蘑菇有弹性:落到菌盖上会把我高高弹起,可以从一个菌盖跳到另一个。"
|
| 1547 |
],
|
| 1548 |
"result": [
|
| 1549 |
+
"9 of the 11 items of the final rubric are shown; maintainers added the graded anchors and 3 editing tasks.",
|
| 1550 |
+
"这里是最终评分标准 11 项中的 9 项;维护者补上了分档锚点,并出了 3 道编辑题。"
|
| 1551 |
],
|
| 1552 |
"id": "text",
|
| 1553 |
"credit": "",
|
| 1554 |
"points": {
|
| 1555 |
"content": [
|
| 1556 |
[
|
| 1557 |
+
"Waterfalls run down piled rock beside the shore and feed streams that flow into the sea",
|
| 1558 |
+
"瀑布从海岸旁堆叠的岩石上流下,汇入溪流,溪流注入海中",
|
| 1559 |
+
"ch. 33, paragraphs 21–22",
|
| 1560 |
+
"第 33 章第 21–22 段"
|
| 1561 |
+
],
|
| 1562 |
+
[
|
| 1563 |
+
"A forest of giant mushrooms as tall as trees stands on the shore",
|
| 1564 |
+
"海岸上矗立着一片像树一样高的巨型蘑菇森林",
|
| 1565 |
+
"ch. 33, paragraphs 26–30",
|
| 1566 |
+
"第 33 章第 26–30 段"
|
| 1567 |
],
|
| 1568 |
[
|
| 1569 |
+
"At the far end of the bay a small harbour of calm water lies between cliffs, sheltered from the wind and open to the sea",
|
| 1570 |
+
"海湾尽头,悬崖之间有一个水面平静的小港湾,背风遮蔽,并向大海敞开",
|
| 1571 |
+
"ch. 33, paragraph 48; ch. 34, paragraph 47",
|
| 1572 |
+
"第 33 章第 48 段;第 34 章第 47 段"
|
| 1573 |
],
|
| 1574 |
[
|
| 1575 |
+
"Along one shore the landmarks are placed in this order: the waterfalls and streams, then the mushroom forest at the turn of a promontory, then the forest of ancient plants, and the harbour at the far end",
|
| 1576 |
+
"沿同一侧海岸,地标按以下顺序排列:瀑布和溪流,然后是岬角转弯处的蘑菇森林,接着是远古植物森林,最后在尽头是港湾",
|
| 1577 |
+
"ch. 33, paragraphs 21–22; ch. 33, paragraph 26; ch. 33, paragraph 31",
|
| 1578 |
+
"第 33 章第 21–22 段;第 33 章第 26 段;第 33 章第 31 段"
|
| 1579 |
]
|
| 1580 |
],
|
| 1581 |
"function": [
|
| 1582 |
[
|
| 1583 |
+
"The shore is a continuous walkable route between the sea and the cliffs that takes the player to each landmark",
|
| 1584 |
+
"海岸是海与悬崖之间一条连续可行走的路线,玩家可以沿它到达每个地标",
|
| 1585 |
+
"ch. 33, paragraphs 20–21; ch. 33, paragraph 26; ch. 33, paragraph 31",
|
| 1586 |
+
"第 33 章第 20–21 段;第 33 章第 26 段;第 33 章第 31 段"
|
| 1587 |
],
|
| 1588 |
[
|
| 1589 |
+
"The sea has a tide: over time the water line visibly moves up the sand of the shore",
|
| 1590 |
+
"海有潮汐:随着时间推移,水线明显沿着海岸的沙滩向上移动",
|
| 1591 |
+
"ch. 34, paragraphs 3–8; ch. 34, paragraph 11",
|
| 1592 |
+
"第 34 章第 3–8 段;第 34 章第 11 段"
|
| 1593 |
]
|
| 1594 |
],
|
| 1595 |
"visual": [
|
| 1596 |
[
|
| 1597 |
+
"The cavern's sky: a ceiling of clouds instead of an open sky, lit by an even, diffuse, cool white light that is not sunlight",
|
| 1598 |
+
"洞穴的天空:是一层云顶而不是开阔的天空,由均匀、漫射、冷白色的非阳光光线照亮",
|
| 1599 |
+
"ch. 33, paragraphs 6–7; ch. 33, paragraph 12",
|
| 1600 |
+
"第 33 章第 6–7 段;第 33 章第 12 段"
|
| 1601 |
+
],
|
| 1602 |
+
[
|
| 1603 |
+
"The mushroom forest looks like a forest of giant umbrellas: broad caps on thick stems standing close together",
|
| 1604 |
+
"蘑菇森林看起来像一片巨伞之林:粗茎上的宽大菌盖紧密排列",
|
| 1605 |
+
"ch. 33, paragraph 26; ch. 33, paragraph 29",
|
| 1606 |
+
"第 33 章第 26 段;第 33 章第 29 段"
|
| 1607 |
],
|
| 1608 |
[
|
| 1609 |
+
"The ancient forest looks primeval: giant plants of fern-like and club-moss-like forms, clearly unlike both ordinary trees and the mushrooms",
|
| 1610 |
+
"远古森林看起来原始古老:有蕨类状和石松状的巨型植物,明显既不同于普通树木,也不同于蘑菇",
|
| 1611 |
+
"ch. 33, paragraphs 31–32",
|
| 1612 |
+
"第 33 章第 31–32 段"
|
| 1613 |
]
|
| 1614 |
]
|
| 1615 |
},
|
index.html
CHANGED
|
@@ -34,13 +34,23 @@
|
|
| 34 |
<div id="ex_body"></div>
|
| 35 |
</section>
|
| 36 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 37 |
<div class="step"><span class="num">1</span><div><h2 data-t="s1"></h2><p data-t="s1_sub"></p></div></div>
|
| 38 |
<section class="panel">
|
| 39 |
<fieldset><legend data-t="q_genres"></legend><p class="info" data-t="q_genres_info"></p><div class="opts" id="genres"></div></fieldset>
|
| 40 |
<label class="q" for="genre_other" data-t="q_other"></label>
|
| 41 |
<input id="genre_other" type="text" maxlength="200" data-ph="q_other_ph">
|
| 42 |
<div class="two gap">
|
| 43 |
-
<fieldset><legend data-t="q_hours"></legend><p class="info" data-t="q_hours_info"></p><div
|
| 44 |
<fieldset><legend data-t="q_modding"></legend><div class="opts col" id="modding"></div></fieldset>
|
| 45 |
</div>
|
| 46 |
<label class="q" for="profile" data-t="q_profile"></label>
|
|
@@ -70,6 +80,8 @@
|
|
| 70 |
<section class="panel">
|
| 71 |
<h3 class="sec" data-t="sec_task"></h3>
|
| 72 |
<label class="q" for="game" data-t="game"></label><p class="info" data-t="game_info"></p><select id="game"></select>
|
|
|
|
|
|
|
| 73 |
<fieldset><legend data-t="category"></legend><div class="opts col" id="category"></div></fieldset>
|
| 74 |
<label class="q" for="idea" data-t="idea"></label><p class="info" data-t="idea_info"></p>
|
| 75 |
<textarea id="idea" rows="4" data-ph="idea_ph"></textarea><div id="idea_n" class="count"></div>
|
|
@@ -78,12 +90,12 @@
|
|
| 78 |
<section class="panel">
|
| 79 |
<h3 class="sec"><span data-t="pts"></span><span id="pts_n" class="pill"></span></h3>
|
| 80 |
<p class="info" data-t="pts_info"></p>
|
| 81 |
-
<
|
| 82 |
-
<
|
| 83 |
-
<
|
| 84 |
-
<
|
| 85 |
-
<
|
| 86 |
-
<
|
| 87 |
<label class="q" for="edit" data-t="edit"></label><p class="info" data-t="edit_info"></p>
|
| 88 |
<input id="edit" type="text" data-ph="edit_ph"><div id="edit_n" class="count"></div>
|
| 89 |
</section>
|
|
|
|
| 34 |
<div id="ex_body"></div>
|
| 35 |
</section>
|
| 36 |
|
| 37 |
+
<section class="panel credit">
|
| 38 |
+
<h2 data-t="credit_title"></h2>
|
| 39 |
+
<ul class="tiers">
|
| 40 |
+
<li><b data-t="credit_1"></b><span data-t="credit_1_sub"></span></li>
|
| 41 |
+
<li><b data-t="credit_2"></b><span data-t="credit_2_sub"></span></li>
|
| 42 |
+
<li id="tier3"><b data-t="credit_3"></b><span data-t="credit_3_sub"></span></li>
|
| 43 |
+
</ul>
|
| 44 |
+
<p class="info" data-t="credit_note"></p>
|
| 45 |
+
</section>
|
| 46 |
+
|
| 47 |
<div class="step"><span class="num">1</span><div><h2 data-t="s1"></h2><p data-t="s1_sub"></p></div></div>
|
| 48 |
<section class="panel">
|
| 49 |
<fieldset><legend data-t="q_genres"></legend><p class="info" data-t="q_genres_info"></p><div class="opts" id="genres"></div></fieldset>
|
| 50 |
<label class="q" for="genre_other" data-t="q_other"></label>
|
| 51 |
<input id="genre_other" type="text" maxlength="200" data-ph="q_other_ph">
|
| 52 |
<div class="two gap">
|
| 53 |
+
<fieldset><legend data-t="q_hours"></legend><p class="info" data-t="q_hours_info"></p><div id="hours"></div></fieldset>
|
| 54 |
<fieldset><legend data-t="q_modding"></legend><div class="opts col" id="modding"></div></fieldset>
|
| 55 |
</div>
|
| 56 |
<label class="q" for="profile" data-t="q_profile"></label>
|
|
|
|
| 80 |
<section class="panel">
|
| 81 |
<h3 class="sec" data-t="sec_task"></h3>
|
| 82 |
<label class="q" for="game" data-t="game"></label><p class="info" data-t="game_info"></p><select id="game"></select>
|
| 83 |
+
<label class="q" for="fit" data-t="fit"></label><p class="info" data-t="fit_info"></p>
|
| 84 |
+
<textarea id="fit" rows="2" data-ph="fit_ph"></textarea><div id="fit_n" class="count"></div>
|
| 85 |
<fieldset><legend data-t="category"></legend><div class="opts col" id="category"></div></fieldset>
|
| 86 |
<label class="q" for="idea" data-t="idea"></label><p class="info" data-t="idea_info"></p>
|
| 87 |
<textarea id="idea" rows="4" data-ph="idea_ph"></textarea><div id="idea_n" class="count"></div>
|
|
|
|
| 90 |
<section class="panel">
|
| 91 |
<h3 class="sec"><span data-t="pts"></span><span id="pts_n" class="pill"></span></h3>
|
| 92 |
<p class="info" data-t="pts_info"></p>
|
| 93 |
+
<fieldset class="dimbox content"><legend data-t="content"></legend><p class="info" data-t="content_info"></p>
|
| 94 |
+
<div id="content_rows" class="rows"></div><button type="button" id="content_add" class="add"><span aria-hidden="true">+</span> <span data-t="p_add"></span></button></fieldset>
|
| 95 |
+
<fieldset class="dimbox function"><legend data-t="function"></legend><p class="info" data-t="function_info"></p>
|
| 96 |
+
<div id="function_rows" class="rows"></div><button type="button" id="function_add" class="add"><span aria-hidden="true">+</span> <span data-t="p_add"></span></button></fieldset>
|
| 97 |
+
<fieldset class="dimbox visual"><legend data-t="visual"></legend><p class="info" data-t="visual_info"></p>
|
| 98 |
+
<div id="visual_rows" class="rows"></div><button type="button" id="visual_add" class="add"><span aria-hidden="true">+</span> <span data-t="p_add"></span></button></fieldset>
|
| 99 |
<label class="q" for="edit" data-t="edit"></label><p class="info" data-t="edit_info"></p>
|
| 100 |
<input id="edit" type="text" data-ph="edit_ph"><div id="edit_n" class="count"></div>
|
| 101 |
</section>
|
style.css
CHANGED
|
@@ -51,6 +51,7 @@ a { color: var(--accent); }
|
|
| 51 |
main { padding-bottom: 40px; }
|
| 52 |
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; margin: 16px 0; box-shadow: var(--shadow); min-width: 0; }
|
| 53 |
.examples { margin-top: -28px; position: relative; }
|
|
|
|
| 54 |
.panel_head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
|
| 55 |
.panel_head h2 { font-size: 1.12rem; }
|
| 56 |
.tabs { display: flex; padding: 3px; border-radius: 10px; background: var(--bg); border: 1px solid var(--line); }
|
|
@@ -136,6 +137,30 @@ textarea { resize: vertical; line-height: 1.5; }
|
|
| 136 |
#result h3 { font-size: 1.02rem; margin-bottom: 6px; } #result.good h3 { color: var(--good); } #result.bad h3 { color: var(--bad); }
|
| 137 |
#result ul { margin: 4px 0; padding-left: 1.2rem; font-size: .94rem; } #result li { margin: 3px 0; } #result code { font-size: .92em; padding: 1px 5px; border-radius: 5px; background: var(--panel); }
|
| 138 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 139 |
/* guidelines */
|
| 140 |
.notes { position: sticky; top: 72px; max-height: calc(100vh - 88px); overflow: auto; margin: 16px 0; padding: 20px 22px; border-radius: var(--radius);
|
| 141 |
background: var(--panel); border: 1px solid var(--line); box-shadow: var(--shadow); font-size: .9rem; overflow-wrap: anywhere; }
|
|
@@ -145,8 +170,8 @@ textarea { resize: vertical; line-height: 1.5; }
|
|
| 145 |
.notes th { text-align: left; font-weight: 600; color: var(--sub); border-bottom: 1px solid var(--line); padding: 4px 8px 4px 0; }
|
| 146 |
.notes td { border-bottom: 1px solid var(--line); padding: 5px 8px 5px 0; vertical-align: top; }
|
| 147 |
.notes td:first-child, .notes th:first-child { white-space: nowrap; overflow-wrap: normal; }
|
| 148 |
-
.notes h3:nth-of-type(3)
|
| 149 |
-
.notes
|
| 150 |
footer { padding: 8px 20px 40px; color: var(--sub); font-size: .85rem; text-align: center; }
|
| 151 |
|
| 152 |
@media (max-width: 900px) {
|
|
|
|
| 51 |
main { padding-bottom: 40px; }
|
| 52 |
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; margin: 16px 0; box-shadow: var(--shadow); min-width: 0; }
|
| 53 |
.examples { margin-top: -28px; position: relative; }
|
| 54 |
+
.ex_text h4:first-of-type { margin-top: 14px; }
|
| 55 |
.panel_head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
|
| 56 |
.panel_head h2 { font-size: 1.12rem; }
|
| 57 |
.tabs { display: flex; padding: 3px; border-radius: 10px; background: var(--bg); border: 1px solid var(--line); }
|
|
|
|
| 137 |
#result h3 { font-size: 1.02rem; margin-bottom: 6px; } #result.good h3 { color: var(--good); } #result.bad h3 { color: var(--bad); }
|
| 138 |
#result ul { margin: 4px 0; padding-left: 1.2rem; font-size: .94rem; } #result li { margin: 3px 0; } #result code { font-size: .92em; padding: 1px 5px; border-radius: 5px; background: var(--panel); }
|
| 139 |
|
| 140 |
+
/* credit */
|
| 141 |
+
.credit h2 { font-size: 1.12rem; margin-bottom: 12px; }
|
| 142 |
+
.tiers { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; padding: 0; margin: 0 0 12px; }
|
| 143 |
+
.tiers li { padding: 12px 14px; border-radius: 10px; background: var(--bg); border: 1px solid var(--line); }
|
| 144 |
+
.tiers b { display: block; } .tiers span { font-size: .9rem; color: var(--sub); }
|
| 145 |
+
.credit .info { margin: 0; }
|
| 146 |
+
|
| 147 |
+
/* hours per kind, point rows */
|
| 148 |
+
.hrow { display: flex; align-items: center; gap: 10px; margin: 6px 0; font-size: .94rem; }
|
| 149 |
+
.hrow span { flex: 1; min-width: 0; } .hrow select { width: auto; min-width: 150px; flex: none; padding: 7px 10px; }
|
| 150 |
+
.dimbox legend { color: var(--c); margin-top: 0; }
|
| 151 |
+
.point { display: flex; gap: 10px; margin: 10px 0; }
|
| 152 |
+
.pn { flex: none; width: 24px; height: 24px; margin-top: 9px; border-radius: 50%; display: grid; place-items: center; font-size: .78rem; font-weight: 700;
|
| 153 |
+
color: var(--c); border: 1.5px solid var(--c); }
|
| 154 |
+
.pbody { flex: 1; min-width: 0; }
|
| 155 |
+
.pwhere { display: flex; gap: 8px; margin-top: 6px; } .pwhere input { font-size: .9rem; padding: 7px 10px; }
|
| 156 |
+
.x { flex: none; border: 1px solid var(--line); background: var(--field); color: var(--sub); border-radius: 8px; width: 36px; cursor: pointer; font-size: 1.1rem; line-height: 1; }
|
| 157 |
+
.x:hover { color: var(--bad); border-color: var(--bad); }
|
| 158 |
+
.add { border: 1px dashed var(--c); background: none; color: var(--c); padding: 7px 14px; border-radius: 9px; cursor: pointer; font: inherit; font-size: .9rem; font-weight: 600; margin-left: 34px; }
|
| 159 |
+
.add:hover { background: color-mix(in srgb, var(--c) 10%, transparent); }
|
| 160 |
+
.dim ol { margin: 2px 0 0; padding-left: 1.3rem; font-size: .93rem; } .dim li { margin: 4px 0; }
|
| 161 |
+
.where { display: inline-block; margin-left: 8px; font-size: .76rem; padding: 0 7px; border-radius: 6px; background: var(--bg); border: 1px solid var(--line); color: var(--sub); white-space: nowrap; }
|
| 162 |
+
.ex_media h4 { margin: 16px 0 4px; font-size: .78rem; letter-spacing: .05em; text-transform: uppercase; color: var(--sub); } .ex_media p { font-size: .94rem; }
|
| 163 |
+
|
| 164 |
/* guidelines */
|
| 165 |
.notes { position: sticky; top: 72px; max-height: calc(100vh - 88px); overflow: auto; margin: 16px 0; padding: 20px 22px; border-radius: var(--radius);
|
| 166 |
background: var(--panel); border: 1px solid var(--line); box-shadow: var(--shadow); font-size: .9rem; overflow-wrap: anywhere; }
|
|
|
|
| 170 |
.notes th { text-align: left; font-weight: 600; color: var(--sub); border-bottom: 1px solid var(--line); padding: 4px 8px 4px 0; }
|
| 171 |
.notes td { border-bottom: 1px solid var(--line); padding: 5px 8px 5px 0; vertical-align: top; }
|
| 172 |
.notes td:first-child, .notes th:first-child { white-space: nowrap; overflow-wrap: normal; }
|
| 173 |
+
.notes h3:nth-of-type(3) ~ table:first-of-type td:first-child, .notes table:nth-of-type(2) td:first-child { white-space: normal; }
|
| 174 |
+
.notes table:nth-of-type(2) td:last-child { color: var(--bad); }
|
| 175 |
footer { padding: 8px 20px 40px; color: var(--sub); font-size: .85rem; text-align: center; }
|
| 176 |
|
| 177 |
@media (max-width: 900px) {
|