게임 4개 원래 이름으로, .5 + NPMplus 배포 구성

- 보석 상인 → 스플렌더, 벽 쌓기 길찾기 → 쿼리도, 숫자 타일 → 루미큐브, 주사위 땅따먹기 → 부루마불
- deploy/docker-compose.proxy.yml: Caddy 없이 앱만(.5:2970), HTTPS·헤더는 NPMplus
- deploy/npmplus-advanced.conf: Caddyfile과 같은 보안 헤더
- 문서: 2026-10-06 결정, 배포 7절 (e2e 구십구 0 카드 방향 버튼 반영 포함)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
EJClaw
2026-10-06 22:16:32 +09:00
parent 7da06d1b27
commit 6390e3e64c
45 changed files with 143 additions and 78 deletions

View File

@@ -15,7 +15,7 @@ function fresh(opts: Record<string, unknown> = {}) {
return state;
}
test('땅따먹기: 굴리기 차례 / 상대 차례 / 관전', () => {
test('부루마불: 굴리기 차례 / 상대 차례 / 관전', () => {
const s = fresh();
const a = helpNow(view(s, 'A'), 'A', users);
expect(a).toContain('[🎲 주사위 굴리기]');
@@ -25,7 +25,7 @@ test('땅따먹기: 굴리기 차례 / 상대 차례 / 관전', () => {
expect(helpNow(view(s, null), null, users)).toContain('호랑이님 차례예요(1/20라운드).');
});
test('땅따먹기: 빈 땅에 서면 사기 / 내 땅에 다시 오면 짓기', () => {
test('부루마불: 빈 땅에 서면 사기 / 내 땅에 다시 오면 짓기', () => {
let s = fresh();
s = applyAction('marble', s, 'A', { type: 'ROLL' }, dice(2, 4)); // → 6 방콕
const t = helpNow(view(s, 'A'), 'A', users);
@@ -40,7 +40,7 @@ test('땅따먹기: 빈 땅에 서면 사기 / 내 땅에 다시 오면 짓기',
expect(u).toContain('[짓기]');
});
test('땅따먹기: 무인도, 더블, 우주여행, 모자란 포인트', () => {
test('부루마불: 무인도, 더블, 우주여행, 모자란 포인트', () => {
let s = fresh();
s.players.A.pos = 10;
s.players.A.islandLeft = 2;

View File

@@ -1,4 +1,4 @@
/** 주사위 땅따먹기 [?] "지금 할 수 있는 것" (docs/07 §5). Pure: only reads the client view (+ the pure board data). */
/** 부루마불 [?] "지금 할 수 있는 것" (docs/07 §5). Pure: only reads the client view (+ the pure board data). */
import type { MarbleView } from '@bg/games/marble';
import { SPACES } from '@bg/games/marble/board';
import type { PublicUser } from '@bg/shared/lite';

View File

@@ -1,4 +1,4 @@
/** 주사위 땅따먹기 화면 (docs/games/marble.md §9). Board, dice, tokens and buildings are drawn here (SVG/CSS only). */
/** 부루마불 화면 (docs/games/marble.md §9). Board, dice, tokens and buildings are drawn here (SVG/CSS only). */
import { useEffect, useMemo, useRef, useState } from 'react';
import type { MarbleOptions, MarbleOwnedView, MarblePlayerView, MarbleView } from '@bg/games/marble';
import { CARDS, SPACES, type CardId, type Level } from '@bg/games/marble/board';
@@ -428,7 +428,7 @@ function MarbleBoard({ view: v, me, players, act, pending }: BoardProps<MarbleVi
<div className="mb-wrap">
<style>{CSS}</style>
<div className="mb-box">
<svg className="mb-svg" viewBox="0 0 1000 1000" role="group" aria-label={`땅따먹기 판. 출발은 오른쪽 아래이고, 말은 시계 방향으로 돌아요. 방향키로 칸을 옮기고 Enter로 칸 정보를 봐요.${spaceMode ? ' 우주여행으로 갈 칸을 골라 주세요.' : ''}`}>
<svg className="mb-svg" viewBox="0 0 1000 1000" role="group" aria-label={`부루마불 판. 출발은 오른쪽 아래이고, 말은 시계 방향으로 돌아요. 방향키로 칸을 옮기고 Enter로 칸 정보를 봐요.${spaceMode ? ' 우주여행으로 갈 칸을 골라 주세요.' : ''}`}>
{CELLS.map((c, pos) => {
const sp = SPACES[pos]!;
const o = ownedAt.get(pos);
@@ -583,7 +583,7 @@ function Center({
return (
<>
<div className="mb-title" aria-hidden>
주사위 땅따먹기
부루마불
</div>
<div className="mb-meta">
<span className="mb-pill">{v.maxRounds > 0 ? `${v.round} / ${v.maxRounds} 라운드` : `${v.round} 라운드`}</span>

View File

@@ -1,4 +1,4 @@
/** 주사위 땅따먹기 30초 규칙 요약 (docs/07 §5). */
/** 부루마불 30초 규칙 요약 (docs/07 §5). */
import type { ReactNode } from 'react';
import type { QuickCard } from '../types';