From a9acb39ab2f4a0de1c72c766709ce461ef45ba5a Mon Sep 17 00:00:00 2001 From: hided62 Date: Thu, 13 Aug 2026 00:05:55 +0000 Subject: [PATCH] fix: use HiDCHe product name in game UI --- app/game-engine/src/turn/joinCreateGeneralService.ts | 3 ++- app/game-engine/test/joinCreateGeneralService.test.ts | 11 ++++++++++- app/game-frontend/e2e/selectGeneralLive.spec.ts | 2 +- app/game-frontend/src/views/BestGeneralView.vue | 2 +- app/game-frontend/src/views/BettingView.vue | 2 +- app/game-frontend/src/views/CurrentCityView.vue | 2 +- app/game-frontend/src/views/DiplomacyView.vue | 2 +- app/game-frontend/src/views/DynastyDetailView.vue | 2 +- app/game-frontend/src/views/DynastyListView.vue | 2 +- app/game-frontend/src/views/HallOfFameView.vue | 2 +- app/game-frontend/src/views/MyPageView.vue | 2 +- app/game-frontend/src/views/NationCitiesView.vue | 2 +- app/game-frontend/src/views/NationInfoView.vue | 2 +- app/game-frontend/src/views/NationListView.vue | 2 +- app/game-frontend/src/views/NationPersonnelView.vue | 2 +- app/game-frontend/src/views/NationSecretView.vue | 2 +- app/game-frontend/src/views/NpcListView.vue | 2 +- app/game-frontend/src/views/SelectGeneralView.vue | 2 +- app/game-frontend/src/views/TournamentView.vue | 2 +- app/game-frontend/src/views/TrafficView.vue | 2 +- 20 files changed, 30 insertions(+), 20 deletions(-) diff --git a/app/game-engine/src/turn/joinCreateGeneralService.ts b/app/game-engine/src/turn/joinCreateGeneralService.ts index 494aaa23..5ce18abb 100644 --- a/app/game-engine/src/turn/joinCreateGeneralService.ts +++ b/app/game-engine/src/turn/joinCreateGeneralService.ts @@ -79,6 +79,7 @@ const DEFAULT_GENERAL_RICE = 1000; const DEFAULT_CREW_TYPE_ID = 1100; const MAX_GENERAL_TURNS = 30; const DEFAULT_TURN_ACTION = '휴식'; +export const JOIN_WELCOME_MESSAGE = '삼국지 모의전투 HiDCHe의 세계에 오신 것을 환영합니다 ^o^'; const LEGACY_TIMEZONE_OFFSET_MS = 9 * 60 * 60 * 1000; const LEGACY_JOIN_REMOVED_CHARACTERS = /[ⓝⓜⓖⓞⓧ㉥\\/`#|-]/gu; @@ -460,7 +461,7 @@ const pushCreationLogs = ( logger.pushGeneralHistoryLog(`${options.name}, ${options.cityName}에서 큰 뜻을 품다.`); logger.pushGeneralActionLog( [ - '삼국지 모의전투 PHP의 세계에 오신 것을 환영합니다 ^o^', + JOIN_WELCOME_MESSAGE, '처음 하시는 경우에는 도움말을 참고하시고,', '문의사항이 있으시면 게시판에 글을 남겨주시면 되겠네요~', '부디 즐거운 삼모전 되시길 바랍니다 ^^', diff --git a/app/game-engine/test/joinCreateGeneralService.test.ts b/app/game-engine/test/joinCreateGeneralService.test.ts index fe5a581f..10c08920 100644 --- a/app/game-engine/test/joinCreateGeneralService.test.ts +++ b/app/game-engine/test/joinCreateGeneralService.test.ts @@ -1,6 +1,10 @@ import { describe, expect, it } from 'vitest'; -import { buildJoinCreateGeneralSeed, cutJoinTurnTime } from '../src/turn/joinCreateGeneralService.js'; +import { + buildJoinCreateGeneralSeed, + cutJoinTurnTime, + JOIN_WELCOME_MESSAGE, +} from '../src/turn/joinCreateGeneralService.js'; describe('generic join legacy time contracts', () => { it('builds the Ref MakeGeneral seed from the logical game tick', () => { @@ -14,4 +18,9 @@ describe('generic join legacy time contracts', () => { '2026-07-30T02:00:00.000Z' ); }); + + it('uses the HiDCHe product name without the legacy PHP runtime label', () => { + expect(JOIN_WELCOME_MESSAGE).toBe('삼국지 모의전투 HiDCHe의 세계에 오신 것을 환영합니다 ^o^'); + expect(JOIN_WELCOME_MESSAGE).not.toContain('PHP'); + }); }); diff --git a/app/game-frontend/e2e/selectGeneralLive.spec.ts b/app/game-frontend/e2e/selectGeneralLive.spec.ts index b2daf9d8..3e6dd1fc 100644 --- a/app/game-frontend/e2e/selectGeneralLive.spec.ts +++ b/app/game-frontend/e2e/selectGeneralLive.spec.ts @@ -230,7 +230,7 @@ test.describe('scenario 903 live selection pool', () => { expect(geometry.footerBanner.height).toBeCloseTo(20.1875, 3); await expect(page.locator('.invitation-table tbody tr')).toHaveCount(0); await expect(page.locator('.footer-banner')).toContainText( - '삼국지 모의전투 HiDCHe core2026' + '삼국지 모의전투 HiDCHe' ); await expect(page.locator('.footer-banner a')).toHaveText('Credit'); diff --git a/app/game-frontend/src/views/BestGeneralView.vue b/app/game-frontend/src/views/BestGeneralView.vue index 22db07ad..434f2d65 100644 --- a/app/game-frontend/src/views/BestGeneralView.vue +++ b/app/game-frontend/src/views/BestGeneralView.vue @@ -158,7 +158,7 @@ watch(viewMode, () => {
- 삼국지 모의전투 HiDCHe core2026 / KOEI의 이미지를 사용, 응용하였습니다 / 제작 : HideD / + 삼국지 모의전투 HiDCHe / KOEI의 이미지를 사용, 응용하였습니다 / 제작 : HideD / Credit
diff --git a/app/game-frontend/src/views/BettingView.vue b/app/game-frontend/src/views/BettingView.vue index a6213443..90242ce5 100644 --- a/app/game-frontend/src/views/BettingView.vue +++ b/app/game-frontend/src/views/BettingView.vue @@ -248,7 +248,7 @@ const placeBet = async (targetId: number) => { - 삼국지 모의전투 PHP HiDCHe -unknown / KOEI의 이미지를 사용, 응용하였습니다 / 제작 : + 삼국지 모의전투 HiDCHe / KOEI의 이미지를 사용, 응용하였습니다 / 제작 : HideD(hided62@gmail.com) / Credit diff --git a/app/game-frontend/src/views/CurrentCityView.vue b/app/game-frontend/src/views/CurrentCityView.vue index c98875c6..f87f0f67 100644 --- a/app/game-frontend/src/views/CurrentCityView.vue +++ b/app/game-frontend/src/views/CurrentCityView.vue @@ -321,7 +321,7 @@ const generalImage = (general: General): string => resolveGeneralIconUrl(general - 삼국지 모의전투 PHP HiDCHe - unknown / KOEI의 이미지를 사용, 응용하였습니다 / 제작 : + 삼국지 모의전투 HiDCHe / KOEI의 이미지를 사용, 응용하였습니다 / 제작 : HideD(hided62@gmail.com) / Credit diff --git a/app/game-frontend/src/views/DiplomacyView.vue b/app/game-frontend/src/views/DiplomacyView.vue index 95b1c288..e6f590d4 100644 --- a/app/game-frontend/src/views/DiplomacyView.vue +++ b/app/game-frontend/src/views/DiplomacyView.vue @@ -621,7 +621,7 @@ onBeforeUnmount(() => {

- 삼국지 모의전투 PHP HiDCHe - unknown / KOEI의 이미지를 사용, 응용하였습니다 / 제작 : + 삼국지 모의전투 HiDCHe / KOEI의 이미지를 사용, 응용하였습니다 / 제작 : HideD(hided62@gmail.com) / Credit diff --git a/app/game-frontend/src/views/DynastyDetailView.vue b/app/game-frontend/src/views/DynastyDetailView.vue index e5567532..c9c28664 100644 --- a/app/game-frontend/src/views/DynastyDetailView.vue +++ b/app/game-frontend/src/views/DynastyDetailView.vue @@ -289,7 +289,7 @@ onMounted(loadDetail); - 삼국지 모의전투 TypeScript core2026 / KOEI의 이미지를 사용, 응용하였습니다 / 제작 : HideD + 삼국지 모의전투 HiDCHe / KOEI의 이미지를 사용, 응용하였습니다 / 제작 : HideD diff --git a/app/game-frontend/src/views/DynastyListView.vue b/app/game-frontend/src/views/DynastyListView.vue index 724d9a85..767e7cf9 100644 --- a/app/game-frontend/src/views/DynastyListView.vue +++ b/app/game-frontend/src/views/DynastyListView.vue @@ -144,7 +144,7 @@ onMounted(loadDynasty); - 삼국지 모의전투 TypeScript core2026 / KOEI의 이미지를 사용, 응용하였습니다 / 제작 : HideD + 삼국지 모의전투 HiDCHe / KOEI의 이미지를 사용, 응용하였습니다 / 제작 : HideD diff --git a/app/game-frontend/src/views/HallOfFameView.vue b/app/game-frontend/src/views/HallOfFameView.vue index 7bbc84c3..9fc768d6 100644 --- a/app/game-frontend/src/views/HallOfFameView.vue +++ b/app/game-frontend/src/views/HallOfFameView.vue @@ -174,7 +174,7 @@ onMounted(loadOptions);
- 삼국지 모의전투 HiDCHe core2026 / KOEI의 이미지를 사용, 응용하였습니다 / 제작 : HideD / + 삼국지 모의전투 HiDCHe / KOEI의 이미지를 사용, 응용하였습니다 / 제작 : HideD / Credit
diff --git a/app/game-frontend/src/views/MyPageView.vue b/app/game-frontend/src/views/MyPageView.vue index 2d3be533..7b9859e3 100644 --- a/app/game-frontend/src/views/MyPageView.vue +++ b/app/game-frontend/src/views/MyPageView.vue @@ -665,7 +665,7 @@ onMounted(() => {
- 삼국지 모의전투 PHP HiDCHe - core2026 / KOEI의 이미지를 사용, 응용하였습니다 / 제작: HideD / Credit + 삼국지 모의전투 HiDCHe / KOEI의 이미지를 사용, 응용하였습니다 / 제작: HideD / Credit
diff --git a/app/game-frontend/src/views/NationCitiesView.vue b/app/game-frontend/src/views/NationCitiesView.vue index f36e3921..10669e95 100644 --- a/app/game-frontend/src/views/NationCitiesView.vue +++ b/app/game-frontend/src/views/NationCitiesView.vue @@ -252,7 +252,7 @@ onMounted(async () => { - 삼국지 모의전투 PHP HiDCHe - unknown / KOEI의 이미지를 사용, 응용하였습니다 / 제작 : + 삼국지 모의전투 HiDCHe / KOEI의 이미지를 사용, 응용하였습니다 / 제작 : HideD(hided62@gmail.com) / Credit diff --git a/app/game-frontend/src/views/NationInfoView.vue b/app/game-frontend/src/views/NationInfoView.vue index 241750aa..3b77be0b 100644 --- a/app/game-frontend/src/views/NationInfoView.vue +++ b/app/game-frontend/src/views/NationInfoView.vue @@ -113,7 +113,7 @@ onMounted(async () => { - 삼국지 모의전투 PHP HiDCHe / KOEI의 이미지를 사용했습니다 / 제작: Hide.D + 삼국지 모의전투 HiDCHe / KOEI의 이미지를 사용했습니다 / 제작: Hide.D diff --git a/app/game-frontend/src/views/NationListView.vue b/app/game-frontend/src/views/NationListView.vue index e7c6b18b..4b4ee10e 100644 --- a/app/game-frontend/src/views/NationListView.vue +++ b/app/game-frontend/src/views/NationListView.vue @@ -217,7 +217,7 @@ onMounted(() => { - 삼국지 모의전투 PHP HiDCHe - unknown / KOEI의 이미지를 사용, 응용하였습니다 / 제작 : + 삼국지 모의전투 HiDCHe / KOEI의 이미지를 사용, 응용하였습니다 / 제작 : HideD(hided62@gmail.com) / Credit diff --git a/app/game-frontend/src/views/NationPersonnelView.vue b/app/game-frontend/src/views/NationPersonnelView.vue index 478ca0d3..9389d5a4 100644 --- a/app/game-frontend/src/views/NationPersonnelView.vue +++ b/app/game-frontend/src/views/NationPersonnelView.vue @@ -503,7 +503,7 @@ onMounted(() => void loadPersonnel()); - 삼국지 모의전투 PHP HiDCHe - unknown / KOEI의 이미지를 사용, 응용하였습니다 / 제작 : + 삼국지 모의전투 HiDCHe / KOEI의 이미지를 사용, 응용하였습니다 / 제작 : HideD(hided62@gmail.com) / Credit - 삼국지 모의전투 PHP HiDCHe - unknown / KOEI의 이미지를 사용, 응용하였습니다 / 제작 : + 삼국지 모의전투 HiDCHe / KOEI의 이미지를 사용, 응용하였습니다 / 제작 : HideD(hided62@gmail.com) / Credit diff --git a/app/game-frontend/src/views/NpcListView.vue b/app/game-frontend/src/views/NpcListView.vue index 7af526c4..1447ee92 100644 --- a/app/game-frontend/src/views/NpcListView.vue +++ b/app/game-frontend/src/views/NpcListView.vue @@ -149,7 +149,7 @@ onMounted(() => { - 삼국지 모의전투 PHP HiDCHe - unknown / KOEI의 이미지를 사용, 응용하였습니다 / 제작 : + 삼국지 모의전투 HiDCHe / KOEI의 이미지를 사용, 응용하였습니다 / 제작 : HideD(hided62@gmail.com) / Credit diff --git a/app/game-frontend/src/views/SelectGeneralView.vue b/app/game-frontend/src/views/SelectGeneralView.vue index d34157f4..f3fc7abb 100644 --- a/app/game-frontend/src/views/SelectGeneralView.vue +++ b/app/game-frontend/src/views/SelectGeneralView.vue @@ -504,7 +504,7 @@ onBeforeUnmount(() => {