diff --git a/apps/web/scripts/aug-icon-sheet.tsx b/apps/web/scripts/aug-icon-sheet.tsx new file mode 100644 index 0000000..5d8f1d1 --- /dev/null +++ b/apps/web/scripts/aug-icon-sheet.tsx @@ -0,0 +1,36 @@ +/** + * Dev tool: renders every 증강 icon (big and small, light and dark background) to a PNG contact sheet. + * cd apps/web && bun scripts/aug-icon-sheet.tsx [out.png] [ids,comma,separated] + */ +import { renderToStaticMarkup } from 'react-dom/server'; +import { chromium } from 'playwright-core'; +import { AUGS, AUG_IDS, type AugId } from '@bg/games/yut/augments'; +import { AugIcon, GLYPHS } from '../src/games/yut/aug-icons'; + +const out = process.argv[2] ?? `${process.env.HOME}/.tmp/aug-icons.png`; +const only = process.argv[3]?.split(',').filter(Boolean) as AugId[] | undefined; +const ids = only?.length ? only : [...AUG_IDS]; +const cell = (id: AugId) => ( +
+ +
+
+
+
+
{AUGS[id].name}
+
{id}
+
+); +const html = `
${renderToStaticMarkup(<>{ids.map((id) =>
{cell(id)}
)})}
`; +const browser = await chromium.launch({ executablePath: process.env.CHROME ?? '/usr/bin/google-chrome', headless: true }); +const page = await browser.newPage({ viewport: { width: 1240, height: 400 }, deviceScaleFactor: 1 }); +await page.setContent(html); +await page.screenshot({ path: out, fullPage: true }); +await browser.close(); +console.log(out, ids.length, 'icons,', ids.filter((id) => !GLYPHS[id]).length, 'missing'); diff --git a/apps/web/src/games/yut/aug-icons/glyphs-a.tsx b/apps/web/src/games/yut/aug-icons/glyphs-a.tsx new file mode 100644 index 0000000..6d4f89b --- /dev/null +++ b/apps/web/src/games/yut/aug-icons/glyphs-a.tsx @@ -0,0 +1,369 @@ +import type { ReactNode } from 'react'; +import type { AugId } from '@bg/games/yut/augments'; +import { C } from './palette'; + +/** A 4-point sparkle centred at (x, y), radius r. */ +const spark = (x: number, y: number, r: number) => + `M${x} ${y - r}Q${x} ${y} ${x + r} ${y}Q${x} ${y} ${x} ${y + r}Q${x} ${y} ${x - r} ${y}Q${x} ${y} ${x} ${y - r}Z`; + +/** A spiky burst (n points) centred at (x, y) with outer radius r and inner radius ri. */ +const burst = (x: number, y: number, r: number, ri: number, n: number) => + Array.from({ length: n * 2 }, (_, i) => { + const a = (i / (n * 2)) * Math.PI * 2 - Math.PI / 2; + const d = i % 2 ? ri : r; + return `${(x + Math.cos(a) * d).toFixed(1)},${(y + Math.sin(a) * d).toFixed(1)}`; + }).join(' '); + +/** Six wedges of the 돌림판, as path data. */ +const WHEEL = [C.r, C.w, C.b, C.w, C.y, C.w].map((fill, i) => { + const a0 = ((i * 60 - 90) * Math.PI) / 180; + const a1 = (((i + 1) * 60 - 90) * Math.PI) / 180; + const pt = (a: number) => `${(24 + Math.cos(a) * 14).toFixed(2)} ${(27 + Math.sin(a) * 14).toFixed(2)}`; + return { fill, d: `M24 27L${pt(a0)}A14 14 0 0 1 ${pt(a1)}Z` }; +}); + +export const GLYPHS_A: Partial> = { + // 8톤 트럭: a white truck racing right, speed lines behind + truck: ( + + + + + + 8 + + + + + + ), + // 3단 합체 필살기!!!: a stack of three pieces in front of a yellow explosion + combo: ( + + + + + + + + ), + // 간택: a cat paw pressing down on an augment card + chosen: ( + + + + + + + + + + + + + + + + + ), + // 게임 접어라: the 윷판 with its right half folding over the left, and a fold arrow + fold: ( + + + + + + + + + + + ), + // 고양이: a white cat face + cat: ( + + + + + + + + + ), + // 과유불급: six upright 윷가락 in a row, the last two (extra) ones yellow + excess: ( + + {[0, 1, 2, 3, 4, 5].map((i) => ( + = 4 ? C.y : C.wood} stroke={i >= 4 ? C.yd : C.woodd} strokeWidth="1.2" /> + ))} + + ), + // 개돼지: a dog face and a pig face side by side + doggy: ( + + + + + + + + + + + + + + + + ), + // 거머리: a dark green leech latched onto another player's red piece + leech: ( + + + + + + + + + ), + // 나 누구게?: a grey piece with a big "?" above the four player colours + whoami: ( + + + ? + {[C.r, C.b, C.g, C.y].map((f, i) => ( + + ))} + + ), + // 나만 아니면 돼~: a red piece blown up in a burst, my white piece safe and relieved below + notme: ( + + + + + + + + + ), + // 내려: a ballot with a red down arrow going into a ballot box + getoff: ( + + + + + + + + + ), + // 도베르만: a black-and-tan doberman head with a gold dog coin + doberman: ( + + + + + + + + + + + + + + + + + ), + // 돌려돌려 돌림판: a spinning prize wheel with a pointer on top + roulette: ( + + + {WHEEL.map((w) => ( + + ))} + + + + + ), + // 명사수: a sniper scope's crosshair on a red piece + sniper: ( + + + + + + + ), + // 명탐정: a magnifying glass finding an augment card and crossing it out + detective: ( + + + + + + + + + ), + // 모 아니면 도: a coin split in two, "모" on one half and "도" on the other + moordo: ( + + + + + + 모 + 도 + + ), + // 바둑: 바둑 grid lines, two white stones sandwiching two black stones + baduk: ( + + + {[10.5, 19.5, 28.5, 37.5].map((x, i) => ( + + ))} + + + ), + // 배달: a delivery scooter with a red box (a star augment inside) on the back + delivery: ( + + + + + + + + + + + + ), + // 변환: 도깨비: a red 도깨비 face with yellow horns and fangs, holding a spiked club + dokkaebi: ( + + + + + + + + + + + + + + + + + ), + // 변환: 선봉장: a piece carrying a red banner, with forward chevrons + vanguard: ( + + + + + + + + ), + // 변환: 포: an octagonal 장기 piece with the red 包 (포) character + cannon: ( + + + + 包 + + ), + // 변환: 폰: a white chess pawn with a yellow forward step arrow + pawn: ( + + + + + + + ), + // 사목: four pieces lined up on a diagonal, joined by a red line + four: ( + + {[0, 1, 2, 3].flatMap((r) => + [0, 1, 2, 3].filter((c) => c !== 3 - r).map((c) => ), + )} + + {[0, 1, 2, 3].map((i) => ( + + ))} + + ), + // 소 뒷걸음질: an ox head with horns, and a backward arrow + ox: ( + + + + + + + + + + + + + ), + // 손은 눈보다 빠르다: a wide-open eye, and a 윷가락 whizzing past below it + sleight: ( + + + + + + + + + ), + // 시간 여행: a clock with a yellow counter-clockwise (rewind) arrow around it + timetravel: ( + + + + + + + + + ), + // 악보가 완성되었다!: a sheet of music with notes and a green "done" check + score: ( + + + + + + + + + + + + ), + // 안개: a piece peeking out from behind thick bands of fog + fog: ( + + + + + + + + + + ), +}; diff --git a/apps/web/src/games/yut/aug-icons/glyphs-b.tsx b/apps/web/src/games/yut/aug-icons/glyphs-b.tsx new file mode 100644 index 0000000..1e06cb9 --- /dev/null +++ b/apps/web/src/games/yut/aug-icons/glyphs-b.tsx @@ -0,0 +1,336 @@ +import type { ReactNode } from 'react'; +import type { AugId } from '@bg/games/yut/augments'; +import { C } from './palette'; + +/** A 4-point sparkle centred at (x, y), radius r. */ +const spark = (x: number, y: number, r: number) => + `M${x} ${y - r}Q${x} ${y} ${x + r} ${y}Q${x} ${y} ${x} ${y + r}Q${x} ${y} ${x - r} ${y}Q${x} ${y} ${x} ${y - r}Z`; + +/** Shield outline centred on x = 24. */ +const SHIELD = 'M24 7L38.5 12.5V23.5C38.5 32.5 32 38.5 24 41.5C16 38.5 9.5 32.5 9.5 23.5V12.5Z'; + +/** Jagged speech-bubble burst for 이의있음! */ +const BURST = Array.from({ length: 20 }, (_, i) => { + const a = (i / 20) * Math.PI * 2 - Math.PI / 2; + const r = i % 2 ? 0.78 : 1; + return `${(24 + Math.cos(a) * 17 * r).toFixed(1)},${(22 + Math.sin(a) * 14 * r).toFixed(1)}`; +}).join(' '); + +/** Pentagram points (radius 13.5 round 24,25), drawn in star order. */ +const STAR = [0, 2, 4, 1, 3] + .map((k) => { + const a = -Math.PI / 2 + (k * 2 * Math.PI) / 5; + return `${(24 + Math.cos(a) * 13.5).toFixed(2)},${(25 + Math.sin(a) * 13.5).toFixed(2)}`; + }) + .join(' '); + +export const GLYPHS_B: Partial> = { + // 알까기: a white piece flicked into a red piece that flies off the board edge + alkkagi: ( + + + + + + + + + ), + // 애묘인: a red heart with cat ears and a cat face + catlover: ( + + + + + + + + + ), + // 어부지리: a fishing rod with a fish on the hook + fisherman: ( + + + + + + + + + + ), + // 언제부터 착각한 거지?: an augment card growing cat ears, with dizzy swirl eyes + illusion: ( + + + + + + + + + ), + // 윷을 잘 던져봐: a 윷가락 flying into a dizzy head + throwyut: ( + + + + + + + + + + ), + // 이도류: two 윷가락 crossed like swords, with sword grips + dual: ( + + {[-35, 35].map((a) => ( + + + + + + ))} + + ), + // 이의있음!: a jagged shout bubble with a big "!" + objection: ( + + + + ! + + ), + // 자진모리 장단: a 장구 (hourglass drum) with its cords + jajinmori: ( + + + + + + + + ), + // 천마군림보 - 달걸음: a crescent moon inside a clockwise (reverse) arrow + moonwalk: ( + + + + + + ), + // 천상의 보호막: a blue-and-white shield with heavenly sparkles + shield: ( + + + + + + + + ), + // 크고 빨간 버튼: a big red push button on a grey base + bigred: ( + + + + + + + + ), + // 프랜드 실드: a white shield with a heart, two friends' pieces tucked behind it + friendshield: ( + + + + + + + ), + // 희생: a piece turned angel (halo and wings) + sacrifice: ( + + + + + + + + ), + // 히히 똥!: a grinning swirl of poop + poop: ( + + + + + + + + + + ), + // 등가교환: a level balance scale, a piece on one pan and a 윷가락 on the other + equiv: ( + + + + + + + + + ), + // 말이오? 파티: a "?" item block + party: ( + + + {[ + [12.5, 12.5], + [35.5, 12.5], + [12.5, 35.5], + [35.5, 35.5], + ].map(([x, y]) => ( + + ))} + ? + + ), + // 스겜: a stopwatch with speed lines + speedrun: ( + + + + + + + + + + ), + // 시작 변환: 김첨지: a 인력거 (rickshaw) with its big wheel and long pull bars + kim: ( + + + + + + + + ), + // 시작 변환: 중전마마: a piece wearing a golden crown + queen: ( + + + + + + + + + + ), + // 웅녀: a bear face holding a garlic bulb + bear: ( + + + + + + + + + + + + ), + // 이리 오너라 업고 놀자: a tall tower of four stacked pieces + piggyback: ( + + {[35, 27.5, 20, 12.5].map((y) => ( + + + + + ))} + + + + ), + // 짐덩이와 복덩이: a red 복주머니 (lucky pouch) with a golden tie + burden: ( + + + + + + + + + ), + // 천상천하 유아독존: a single piece with golden rays all round it + alone: ( + + {Array.from({ length: 12 }, (_, i) => { + const a = (i * Math.PI) / 6; + const r1 = 12.5; + const r2 = i % 2 ? 16 : 18; + return ( + + ); + })} + + + + + ), + // 777: a slot-machine window showing 7 7 7 + triple7: ( + + + + {[12.5, 24, 35.5].map((x) => ( + 7 + ))} + + ), + // 나만 친구 없어: a lonely crying piece + nofriends: ( + + + + + + + + + ), + // 마신 소환: a glowing summoning circle with a pentagram + summon: ( + + + + + + + ), + // 무신정변: a raised sword over four captured pieces + coup: ( + + + + + + + {[ + [9, 35, C.r], + [13, 41, C.b], + [35, 41, C.g], + [39, 35, C.y], + ].map(([x, y, c]) => ( + + ))} + + ), +}; diff --git a/apps/web/src/games/yut/aug-icons/glyphs-c.tsx b/apps/web/src/games/yut/aug-icons/glyphs-c.tsx new file mode 100644 index 0000000..6f63c35 --- /dev/null +++ b/apps/web/src/games/yut/aug-icons/glyphs-c.tsx @@ -0,0 +1,350 @@ +import type { ReactNode } from 'react'; +import type { AugId } from '@bg/games/yut/augments'; +import { C } from './palette'; + +/** Heart path centred on (x, y), half-width s. */ +const heart = (x: number, y: number, s: number) => + `M${x} ${y + s * 0.95}C${x - s * 0.3} ${y + s * 0.6} ${x - s} ${y + s * 0.15} ${x - s} ${y - s * 0.3}A${s * 0.5} ${s * 0.5} 0 0 1 ${x} ${y - s * 0.55}A${s * 0.5} ${s * 0.5} 0 0 1 ${x + s} ${y - s * 0.3}C${x + s} ${y + s * 0.15} ${x + s * 0.3} ${y + s * 0.6} ${x} ${y + s * 0.95}Z`; + +/** An upright sword with its tip at (24, 6) and pommel at (24, 41). */ +const sword = ( + <> + + + + + +); + +export const GLYPHS_C: Partial> = { + // 역모: a crown with a dagger stabbed into it + treason: ( + + + + + + + + + + + + + ), + // 잠깐!: a white "stop" palm on a red stop-sign octagon + wait: ( + + + + + + + + + + + + ), + // 평화 협정: a peace sign + peace: ( + + + + + ), + // 계획대로: a clipboard listing everyone in order, all ticked + plan: ( + + + + + {([C.y, C.r, C.b] as const).map((c, i) => ( + + + + + ))} + + ), + // 나에게 윷놀이는 "살인"이다: three life hearts (one lost) over a knife + murder: ( + + + + + + + + + + + ), + // 네크로맨서: a skull with glowing green eyes and rising green sparks + necro: ( + + + + + + + + + + + ), + // 독이 든 성배: a golden goblet bubbling green poison, skull on the cup + poison: ( + + + + + + + + + + + + + ), + // 동메달도 잘한 거야: a bronze medal with a big 3 on a ribbon + bronze: ( + + + + + + 3 + + ), + // 라스트 댄스: a pair of beamed music notes with a sparkle + lastdance: ( + + + + + + + + + ), + // 메아리의 형상: a piece sending out echo waves on both sides + echo: ( + + + + + + ), + // 변환: 마라토너: a running figure with speed lines + marathon: ( + + + + + + + + ), + // 승부다!: two crossed swords + duel: ( + + {sword} + {sword} + + ), + // 역전 찬스: three fanned mystery cards + comeback: ( + + {[-22, 22, 0].map((a) => ( + + + ? + + ))} + + ), + // 영역 전개: a stack of pieces sealed under a barrier dome + domain: ( + + + + + + + + + ), + // 취~소: a trophy under a red "no" sign + cancel: ( + + + + + + + + + + + + + ), + // 카니발리즘: a white piece with a gaping mouth about to eat another white piece + cannibal: ( + + + + + + + + ), + // 순간이동: a piece jumping from a blue portal to an orange one + teleport: ( + + + + + + + + + ), + // 지름길 달인: the board with a bold arrow cutting across the diagonal + shortcut: ( + + + + + + + {[[8.5, 8.5], [39.5, 8.5], [8.5, 39.5], [39.5, 39.5], [24, 24]].map(([x, y]) => ( + + ))} + + + + + ), + // 거북이 등껍질: a turtle seen from above, big patterned shell + turtle: ( + + + + + + + + + + + + + + + + + + ), + // 복수의 칼날: a dagger inside a red "comes back around" arrow + revenge: ( + + + + + + + + + + ), + // 손버릇: a burglar face with a black eye mask + thief: ( + + + + + + + + + + + + ), + // 지뢰 매설: a spiked mine with a red light, half-buried in the ground + mine: ( + + + {[0, 45, 90, 135, 180, 225, 270, 315].map((a) => ( + + ))} + + + + + + + ), + // 호랑이 기운: an orange tiger face with black stripes + tiger: ( + + + + + + + + + + + + + + ), + // 쌍둥이: two identical smiling pieces side by side + twins: ( + + {[16, 32].map((x) => ( + + + + + + + ))} + + + ), + // 자리 바꾸기: a white piece and a red piece trading places along two arrows + swap: ( + + + + + + + + + + + ), + // 회오리: a tornado flinging pieces around + storm: ( + + + + + + + + + + + + + + ), +}; diff --git a/apps/web/src/games/yut/aug-icons/glyphs-d.tsx b/apps/web/src/games/yut/aug-icons/glyphs-d.tsx new file mode 100644 index 0000000..4b52e23 --- /dev/null +++ b/apps/web/src/games/yut/aug-icons/glyphs-d.tsx @@ -0,0 +1,238 @@ +import type { ReactNode } from 'react'; +import type { AugId } from '@bg/games/yut/augments'; +import { C } from './palette'; + +/** A game piece (말): round token. */ +const piece = (cx: number, cy: number, r: number, fill: string = C.w, key?: string | number) => ( + +); + +/** A curved "turn around" arrow half (used twice for 다시 던지기). */ +const refreshHalf = ( + + + + +); + +export const GLYPHS_D: Partial> = { + // 다시 던지기: a 윷가락 inside a circular "again" arrow + reroll: ( + + {refreshHalf} + {refreshHalf} + + + ), + // 곱빼기: one 윷가락 and its yellow copy, "×2" + double: ( + + + + ×2 + + ), + // 올인: two stacks of poker chips + gamble: ( + + {[0, 1, 2, 3, 4].map((i) => ( + + + + + ))} + {[0, 1, 2].map((i) => ( + + + + + ))} + + + + ), + // 저주 인형: a stitched voodoo doll with a red pin + curse: ( + + + + + + + + + ), + // 얼음!: a snowflake + freeze: ( + + {[0, 60, 120].map((a) => ( + + + + + ))} + + + ), + // 자석: a red horseshoe magnet pulling a piece + magnet: ( + + + + + + + {piece(38.5, 24, 4.5, C.y)} + + ), + // 뒤로 돌아: a piece pushed back by a U-turn arrow + pushback: ( + + + + {piece(34, 33, 6.5, C.r)} + + ), + // 꼴찌의 반란: falling bars, the last one rising with a yellow arrow + underdog: ( + + + + + + + + + ), + // 텃세: my house guarded by a shield + homeground: ( + + + + + + + ), + // 따라쟁이: an augment card and its copy + copycat: ( + + + + + + ), + // 청개구리: a green frog face + frog: ( + + + + + + + + + + + + + ), + // 사냥꾼: a bow with an arrow + hunter: ( + + + + + + + + + ), + // 줍줍: a piece on the path hopping onto a pile of pieces + pickup: ( + + + {piece(11, 32, 4.8)} + {piece(27.5, 32, 5.6)} + {piece(38, 32, 5.6, C.w, 'r')} + {piece(32.75, 23, 5.6)} + + + + ), + // 도장 깨기: a stamp card with three of four red stamps + stamp: ( + + + {[ + [16, 17], + [32, 17], + [16, 31], + ].map(([x, y]) => ( + + + + + ))} + + + ), + // 스타트 대시: a piece dashing off with speed lines + dash: ( + + + {piece(31, 24, 9)} + + + ), + // 방공호: a domed bunker behind sandbags + bunker: ( + + + + + {[11, 19, 27, 35].map((x) => ( + + ))} + + ), + // 벼락: a yellow lightning bolt striking between two pieces + lightning: ( + + + {piece(10, 36, 4.5, C.r)} + {piece(36, 36, 4.5, C.b)} + + ), + // 블랙홀: a black hole with an orange ring + blackhole: ( + + + + + + ), + // 로켓 발사: a white rocket flying up-right + rocket: ( + + + + + + + + ), + // 최후의 일격: a sword striking the crowned leading piece + finisher: ( + + + + + + + + {piece(34, 33, 6.5, C.r)} + + + + ), +}; diff --git a/apps/web/src/games/yut/aug-icons/index.tsx b/apps/web/src/games/yut/aug-icons/index.tsx new file mode 100644 index 0000000..5919400 --- /dev/null +++ b/apps/web/src/games/yut/aug-icons/index.tsx @@ -0,0 +1,30 @@ +/** + * One small picture per 증강 so it can be recognised without reading (docs/games/yut-augmented.md §아이콘). + * The tile colour tells the kind (규칙 blue, 즉시 violet, 사용 teal, 승리 조건 amber); the glyph tells the augment. + * Glyphs are plain SVG drawn in a 48×48 box (aug-icons/glyphs-*.tsx). + */ +import type { ReactNode } from 'react'; +import { AUGS, type AugId } from '@bg/games/yut/augments'; +import { TILE } from './palette'; +import { GLYPHS_A } from './glyphs-a'; +import { GLYPHS_B } from './glyphs-b'; +import { GLYPHS_C } from './glyphs-c'; +import { GLYPHS_D } from './glyphs-d'; + +export const GLYPHS: Partial> = { ...GLYPHS_A, ...GLYPHS_B, ...GLYPHS_C, ...GLYPHS_D }; + +export function tileColor(id: AugId): string { + const a = AUGS[id]; + return a.win ? TILE.win : TILE[a.kind]; +} + +/** The icon of augment `id`, `size` px square. Decorative by default (the name is always next to it). */ +export function AugIcon({ id, size = 32, cat = false, className }: { id: AugId; size?: number; cat?: boolean; className?: string }) { + return ( + + ); +} diff --git a/apps/web/src/games/yut/aug-icons/palette.ts b/apps/web/src/games/yut/aug-icons/palette.ts new file mode 100644 index 0000000..c85c131 --- /dev/null +++ b/apps/web/src/games/yut/aug-icons/palette.ts @@ -0,0 +1,37 @@ +/** + * Colours of the 증강 icons (aug-icons). Every glyph is drawn on a coloured tile (see index.tsx), so these colours do not + * depend on the light / dark theme. Glyphs use only these. + */ +export const C = { + /** white: the main glyph colour on the tile */ + w: '#ffffff', + /** ink: outlines, eyes, dark details */ + k: '#1f2937', + /** soft shadow / second tone on the tile */ + sh: 'rgba(0,0,0,.18)', + r: '#ef4444', + rd: '#b91c1c', + o: '#fb923c', + y: '#fde047', + yd: '#eab308', + g: '#4ade80', + gd: '#15803d', + b: '#93c5fd', + bd: '#1d4ed8', + p: '#d8b4fe', + pd: '#7e22ce', + pk: '#f9a8d4', + /** wood (윷가락, 윷판) */ + wood: '#d6a35c', + woodd: '#8a5a1f', + gr: '#9ca3af', + grd: '#4b5563', +} as const; + +/** Tile colours: one per kind, 승리 조건 augments are amber whatever their kind. */ +export const TILE = { + passive: '#2563eb', + instant: '#7c3aed', + active: '#0d9488', + win: '#d97706', +} as const; diff --git a/apps/web/src/games/yut/aug-options.tsx b/apps/web/src/games/yut/aug-options.tsx index b8d38f9..01e68f1 100644 --- a/apps/web/src/games/yut/aug-options.tsx +++ b/apps/web/src/games/yut/aug-options.tsx @@ -1,6 +1,7 @@ /** 증강 윷놀이 방 설정 (docs/games/yut-augmented.md): 혼돈 모드, 고르는 라운드, 후보 수, 나오게 할 증강 목록. */ import { useState } from 'react'; import type { YutOptions } from '@bg/games/yut'; +import { AugIcon } from './aug-icons'; import { AUGS, AUG_IDS, AUG_ROUNDS, KIND_KO, TIER_KO, selectionTier, type AugId, type AugRoundsKey, type AugTier } from '@bg/games/yut/augments'; const CATS: { key: string; title: string; ids: AugId[] }[] = [ @@ -100,7 +101,7 @@ export function AugOptions({ value: o, onChange }: { value: YutOptions; onChange 나오게 할 증강 켜진 증강 {onCount}/{AUG_IDS.length} - 끈 증강은 후보에 나오지 않아요. + 끈 증강은 후보에 나오지 않아요. 이 사이트에서 만든 추가 증강 {CUSTOM_IDS.length}개는 처음에 꺼져 있어요. setQuery(e.target.value)} />
- + {CUSTOM_IDS.every((id) => off.has(id)) ? ( + + ) : ( + + )}
{warnings.map((w) => ( @@ -148,6 +155,7 @@ export function AugOptions({ value: o, onChange }: { value: YutOptions; onChange return (