OhMyGame
OhMyGame은 AI로 게임을 만들 수 있는 오픈소스 스튜디오로, 디자인·구축·플레이테스트·출판을 하나의 앱에서 모델 키와 함께 수행합니다
아직 감지된 업데이트가 없습니다. GitHub 릴리스가 나오면 여기에 보입니다.
개인 계정의 공개 저장소 소유자는 GitHub로 로그인해 운영자를 확인하고 소개를 직접 관리할 수 있습니다. 관리자 승인은 필요하지 않습니다.
로그인한 뒤 확인 파일을 만들어 이 저장소의 기본 브랜치에 30분 안에 커밋해 주세요. 다른 브랜치나 포크의 파일은 인정하지 않습니다. 파일을 올린 뒤 아래에서 확인하면 관리자 승인 없이 관리할 수 있습니다. 자격을 유지하려면 파일을 남겨 두세요.
로그인이 필요하면 로그인 화면으로 이동합니다. 로그인 후 이곳으로 돌아와 원하는 확인 버튼을 다시 눌러 주세요.
프로젝트 폴더에서 /nomorevibe verify를 실행하면 소유권을 확인하고 소개를 직접 관리할 수 있습니다.
1분 만에 확인하기메이커가 쓴 소개는 위의 한 줄이 전부입니다. 더 자세한 내용은 저장소 README에서 읽을 수 있습니다. 저장소 README ↗
README 전체를 불러오는 중입니다.
README 전문 보기 ↗Real time multiplayer poker application powered by go, react, and websockets
Can run from a prebuilt container, evanofslack/go-poker:latest, with Postgres to keep tables
across restarts:
services:
go-poker:
image: evanofslack/go-poker:latest
restart: unless-stopped
ports:
- 8080:8080
environment:
DATABASE_URL: postgres://poker:poker@postgres:5432/poker?sslmode=disable
depends_on:
postgres:
condition: service_healthy
postgres:
image: postgres:17-alpine
restart: unless-stopped
environment:
POSTGRES_USER: poker
POSTGRES_PASSWORD: poker
POSTGRES_DB: poker
volumes:
- postgres:/var/lib/postgresql/data
healthcheck:
test: ["CMD", "pg_isready", "-U", "poker"]
interval: 2s
retries: 15
volumes:
postgres:
DATABASE_URL picks where tables are kept:
postgres://user:pass@host:5432/db: Postgressqlite:/data/poker.db: a SQLite file; mount a volume at its directoryTables are saved between hands and on shutdown. A graceful restart carries on mid-hand; a crash goes
back to the end of the last hand, which is then dealt again. Closed tables are kept for
RETAIN_DAYS (default 30) and then deleted.
The same store keeps an audit of what each connection did and tried, refused messages included, with
its IP: for settling disputes, never shown to players. Entries outlive their table and are deleted
after AUDIT_RETAIN_DAYS (default 30).
ADMIN_ADDR (off by default) serves a read-only admin page at /admin on its own address: open
tables, who is behind each name with their IP, and the audit. It has no login, so keep it off the
internet and reach it over an SSH tunnel (ssh -L 2113:localhost:2113 host) or a private network
such as Tailscale. Outside Docker, set ADMIN_ADDR=127.0.0.1:2113. In Docker, the container has to
listen on every interface, so set ADMIN_ADDR=:2113 and publish the port on the host's loopback
only:
ports:
- 8080:8080
- 127.0.0.1:2113:2113
environment:
ADMIN_ADDR: ":2113"
The public port never serves it. With just start it's at localhost:3000/admin, and with just serve at
localhost:2113/admin.
Prometheus metrics are served at /metrics on a separate port, METRICS_ADDR (default :2112, or set it empty to turn off).
| metric | labels | |
|---|---|---|
poker_connections | open websockets | |
poker_tables | state: active, ended | open tables |
poker_players | kind: human, bot | seated players |
poker_limit | limit: conns, conns_per_ip, tables, tables_per_ip, messages | configured limits |
poker_limit_hits_total | limit | connections, tables or messages refused by a limit |
poker_hands_total | hands dealt | |
poker_tables_closed_total | reason: empty, ended, idle, shutdown | tables closed |
poker_seat_grace_total | outcome: reconnected, expired | dropped players who came back or lost their seat |
poker_slow_client_drops_total | clients dropped for falling behind | |
poker_panics_total | panics recovered while handling a message | |
poker_save_errors_total | tables or audit batches that failed to save | |
poker_audit_dropped_total | audit entries dropped for a full queue or a failing store | |
poker_save_seconds | how long saving a table took |
Plus the standard go_* and process_* metrics.
Run the go server and next dev server with hot reload (needs go, node and just):
just start
Then open http://localhost:3000. Run just check for the same checks as CI, or just to list all recipes. Or build and run the production image from local code:
docker compose -f docker-compose-dev.yaml up --build