Files
joke-app/packages/games/src/nonogram/bank.ts
EJClaw 1b9acb9fc1 새 게임 5개(같은 판 경주): 지뢰찾기, 사천성, 솔리테어, 스도쿠, 네모네모 로직
- 공통 틀 race: 같은 시드 판을 모두 각자 동시에, 3초 카운트다운, 제한 시간/무제한, 포기, 다 푼 시간 → 푼 만큼 순위, live 컴퓨터
- 지뢰찾기: 초급·중급·고급, 모두에게 같은 곳이 열린 채 시작, 깃발·한꺼번에 열기, 휴대폰 길게 누르기·깃발 모드
- 사천성: 마작패 72·112·136장, 두 번 이하로 꺾이는 선, 항상 풀리는 배치, 막히면 자동 섞기, 힌트
- 솔리테어: 클론다이크(1장·3장)·프리셀·스파이더(1·2·4무늬), 되돌리기, 자동 정리
- 스도쿠: 답이 하나인 문제 생성기(쉬움·보통·어려움), 메모, 겹침 표시, 힌트
- 네모네모 로직: 그림 37개(5×5·10×10·15×15, 모두 줄 논리만으로 풀림), 드래그 칠하기·X 표시, 풀면 그림과 이름
- 게임 46개, 컴퓨터 상대 42개, 게임 고르기에 혼자·퍼즐 탭
(아발론·모노레일은 아직 공개 전이라 이 배포에서 뺌; 작업 갈래 codex/owner/grp_discord_joke-app 2773f5c..에서 옮김)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 14:29:01 +09:00

102 lines
8.1 KiB
TypeScript

/**
* 네모네모 로직 pictures (docs/games/nonogram.md §3). Hand-drawn, '#' filled, '.' empty. Every one has exactly one
* answer that line logic alone reaches (nonogram.test.ts checks each with ./solver), and no empty row or column.
* `color` paints the picture once it is solved.
*/
export interface Picture {
name: string;
color: string;
rows: string[];
}
export const PICTURES: Record<5 | 10 | 15, Picture[]> = {
5: [
{ name: '하트', color: '#ef4444', rows: ['.#.#.', '#####', '#####', '.###.', '..#..'] },
{ name: '집', color: '#c2410c', rows: ['..#..', '.###.', '#####', '.#.#.', '.###.'] },
{ name: '나무', color: '#16a34a', rows: ['..#..', '.###.', '#####', '..#..', '.###.'] },
{ name: '우산', color: '#7c3aed', rows: ['.###.', '#####', '..#..', '..#..', '.##..'] },
{ name: '별', color: '#eab308', rows: ['..#..', '#####', '.###.', '.#.#.', '#...#'] },
{ name: '화살표', color: '#2563eb', rows: ['..#..', '.###.', '#.#.#', '..#..', '..#..'] },
{ name: '음표', color: '#4f46e5', rows: ['..##.', '..#.#', '..#..', '###..', '###..'] },
{ name: '컵', color: '#a16207', rows: ['####.', '###.#', '###.#', '####.', '.##..'] },
{ name: '버섯', color: '#dc2626', rows: ['.###.', '#####', '#.#.#', '..#..', '.###.'] },
{ name: '고양이', color: '#f97316', rows: ['#...#', '#####', '#.#.#', '#####', '.###.'] },
{ name: '해', color: '#f59e0b', rows: ['#.#.#', '.###.', '#####', '.###.', '#.#.#'] },
],
10: [
{ name: '고양이', color: '#f97316', rows: ['.#......#.', '.##....##.', '.########.', '##########', '##.####.##', '##########', '###.##.###', '####..####', '.########.', '..######..'] },
{ name: '사과', color: '#dc2626', rows: ['.....#....', '....#.....', '..##.###..', '.########.', '##########', '##########', '##########', '.########.', '.########.', '..##..##..'] },
{ name: '물고기', color: '#0ea5e9', rows: ['....###...', '...#####..', '#.#######.', '##.####.##', '###.######', '###.######', '##.#######', '#.#######.', '...#####..', '....###...'] },
{ name: '오리', color: '#eab308', rows: ['...###....', '..#####...', '..##.###..', '..########', '...####...', '#..#####..', '##########', '##########', '.########.', '..######..'] },
{ name: '자동차', color: '#2563eb', rows: ['...#####..', '..##.#.##.', '.###.#.###', '##########', '##########', '##########', '##########', '.###..###.', '.###..###.', '..#....#..'] },
{ name: '로켓', color: '#64748b', rows: ['....##....', '...####...', '...####...', '..##..##..', '..##..##..', '..######..', '..######..', '.########.', '##.####.##', '##..##..##'] },
{ name: '꽃', color: '#ec4899', rows: ['..#.##.#..', '..######..', '..######..', '...####...', '....##....', '#...##...#', '##..##..##', '.##.##.##.', '..######..', '....##....'] },
{ name: '우산', color: '#7c3aed', rows: ['....##....', '..######..', '.########.', '##########', '##..##..##', '....##....', '....##....', '....##....', '.#..##....', '.####.....'] },
{ name: '집', color: '#c2410c', rows: ['....##....', '...####...', '..######..', '.########.', '##########', '.########.', '.#..##..#.', '.#..##..#.', '.#####..#.', '.#####..#.'] },
{ name: '하트', color: '#ef4444', rows: ['.##....##.', '####..####', '#.########', '##########', '##########', '.########.', '..######..', '...####...', '....##....', '....##....'] },
{ name: '컵', color: '#a16207', rows: ['..#..#....', '.#..#.....', '..#..#....', '#######...', '##########', '#######..#', '#######..#', '##########', '#######...', '.#####....'] },
{ name: '버섯', color: '#dc2626', rows: ['...####...', '.########.', '##..##..##', '##..##..##', '##########', '.########.', '...####...', '...####...', '...####...', '..######..'] },
{ name: '별', color: '#eab308', rows: ['....##....', '....##....', '...####...', '##########', '.########.', '..######..', '..######..', '.###..###.', '.##....##.', '##......##'] },
{ name: '음표', color: '#4f46e5', rows: ['...#######', '...#######', '...#.....#', '...#.....#', '...#.....#', '...#.....#', '.###...###', '####..####', '####..####', '.##....##.'] },
{ name: '나무', color: '#16a34a', rows: ['....##....', '...####...', '..######..', '...####...', '..######..', '.########.', '##########', '....##....', '....##....', '..######..'] },
],
15: [
{
name: '고양이',
color: '#f97316',
rows: ['.#...........#.', '.##.........##.', '.###.......###.', '.#############.', '###############', '###############', '###..#####..###', '###..#####..###', '###############', '######...######', '#######.#######', '#####.###.#####', '###############', '.#############.', '...#########...'],
},
{
name: '로켓',
color: '#64748b',
rows: ['.......#.......', '......###......', '.....#####.....', '.....#####.....', '....###.###....', '....##...##....', '....###.###....', '....#######....', '....#######....', '....#######....', '...#########...', '..###########..', '#####.###.#####', '###...###...###', '......#.#......'],
},
{
name: '자동차',
color: '#2563eb',
rows: ['.....#####.....', '....#..#..#....', '...##..#..##...', '..###..#..###..', '.#############.', '###############', '#.###########.#', '###############', '###############', '###...###...###', '..###.....###..', '.#####...#####.', '.#####...#####.', '..###.....###..', '###############'],
},
{
name: '집',
color: '#c2410c',
rows: ['.......#.......', '......###.##...', '.....#######...', '....#######....', '...#########...', '..###########..', '.#############.', '###############', '..###########..', '..##..#######..', '..##..##...##..', '..######...##..', '..######...##..', '..######...##..', '..######...##..'],
},
{
name: '나무',
color: '#16a34a',
rows: ['.......#.......', '......###......', '.....#####.....', '....#######....', '......###......', '.....#####.....', '...#########...', '..###########..', '.....#####.....', '...#########...', '.#############.', '###############', '......###......', '......###......', '....#######....'],
},
{
name: '오리',
color: '#eab308',
rows: ['......####.....', '.....######....', '.....###.##....', '..#########....', '.##########....', '......#####....', '......####...#.', '....#######.##.', '.#############.', '###############', '###.....#######', '####...########', '###############', '.#############.', '...#########...'],
},
{
name: '꽃',
color: '#ec4899',
rows: ['.....#####.....', '..##.#####.##..', '.####.###.####.', '.#####...#####.', '..###.....###..', '.#####...#####.', '.####.###.####.', '..##.#####.##..', '.....#####.....', '.......#.......', '.###...#...###.', '#####..#..#####', '.#####.#.#####.', '...#########...', '.......#.......'],
},
{
name: '물고기',
color: '#0ea5e9',
rows: ['...........#...', '........#......', '.......###.....', '......######...', '.....########..', '#...##########.', '##.#######.####', '###############', '###############', '##.############', '#...##########.', '.....########..', '......######...', '.......###.....', '........#......'],
},
{
name: '우산',
color: '#7c3aed',
rows: ['.......#.......', '....#######....', '..###########..', '.#############.', '###############', '###############', '##..#..#..#..##', '.......#.......', '.......#.......', '.......#.......', '.......#.......', '.......#.......', '..#....#.......', '..##..##.......', '...####........'],
},
{
name: '컵',
color: '#a16207',
rows: ['...#...#...#...', '....#...#...#..', '...#...#...#...', '.###########...', '.##############', '.###########..#', '.###########..#', '.###########..#', '.##############', '.###########...', '.###########...', '..#########....', '...#######.....', '###############', '..###########..'],
},
{
name: '별',
color: '#eab308',
rows: ['.......#.......', '......###......', '......###......', '.....#####.....', '###############', '.#############.', '..###########..', '...#########...', '....#######....', '...#########...', '...####.####...', '..####...####..', '..###.....###..', '.##.........##.', '.#...........#.'],
},
],
};