coolguy 12d10fd9c8 Record full_depth past-self pool experiment from prior repo
이전 레포 commit 33e0368 (full_depth 실험)에서 past-self 풀만 (anchor
없음, current 0.5 + recent 0.3 + older 0.2)으로 322 iter 돌린 결과
selectivity emerge 실패한 이력을 doc에 추가. opened_colors 4.94-4.96
유지, 5-color opening 91-93%로 감소 없음. self-play 가족 내부 다양성은
self-mirror 평형을 시간축으로 평행이동시킬 뿐 selectivity 못 풀음.
2026-05-10 20:34:31 +09:00
2026-05-08 16:22:52 +09:00
2026-05-07 15:42:30 +09:00

coolrl-lost-cities

Focused Lost Cities extraction from the legacy coolrl repository.

The current implementation starts with the classic two-player card game:

  • classic 5-expedition rules by default
  • Python/Cython game engine
  • env wrapper
  • random, discard-only, and safe-heuristic bots
  • core rule, scoring, mask, env, canonical-state, bot, and GUI smoke tests

Training code, Deep CFR, learned-policy evaluation, GUI, and web client are intentionally outside the first port.

Development

uv run pytest tests/games/classic
uv run lost-cities-classic

For future GUI work, install the optional GUI dependencies:

uv sync --extra gui

Run the classic pygame GUI:

uv run lost-cities-classic-gui --mode pvc --bot safe-heuristic

The GUI uses the in-process Cython game engine.

Basic Usage

from coolrl_lost_cities.games.classic import GameState, build_bot, classic_config

state = GameState.new_game(classic_config(seed=1))
bot = build_bot("random", seed=1)

while not state.terminal:
    state.apply_action(bot.act(state))

print(state.total_score(0), state.total_score(1))

See classic port notes for the current direction.

S
Description
Lost Cities
Readme
7.7 MiB
Languages
Python 73.3%
Cython 21.7%
Julia 4.8%
Shell 0.2%