wip(bunsik): 경제 개편 공용 로직 — 업그레이드 갈래, 의자·테이블 배치와 길 찾기(Floor), 알바생 역할·시급, 손님 러시·홍보·쫓아내기 로직, 서버↔클라이언트 약속(NETWORK.md)

서버·클라이언트는 다음 커밋에서 새 구조로 옮깁니다(이 커밋만으로는 빌드 검사가 통과하지 않음).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
EJClaw
2026-10-14 01:19:40 +09:00
parent 8d29656aa3
commit 52668f219a
12 changed files with 2180 additions and 346 deletions

View File

@@ -7,8 +7,8 @@ local Sim = require("./simlib")
local mult = if table.find(process.args, "x2") then 2 else 1
print(`수익 배율 x{mult}`)
local prev = 0
for i, e in Sim.run(mult, 3600) do
for i, e in Sim.run(mult, 7200) do
local s = math.floor(e.t + 0.5)
print(string.format("%2d %2d:%02d (+%3ds) %-16s %5d", i, s // 60, s % 60, s - prev, e.id, e.cost))
print(string.format("%2d %2d:%02d (+%3ds) %-12s %6d", i, s // 60, s % 60, s - prev, e.id, e.cost))
prev = s
end