Skip to content

Add game_complete event logging to codenames #4

@matsonj

Description

@matsonj

Add a game_complete controllog event at the end of each codenames game for leaderboards and analytics.

Context

ChainLex now emits a game_complete event with payload:

  • game_id
  • model info (teams/players)
  • outcome (win/loss/tie)
  • scores
  • correct guesses
  • wall_ms (duration)
  • cost tracking

Task

Adapt this pattern for codenames with relevant fields:

  • game_id
  • red/blue team models (spymaster + operative)
  • winning_team
  • final scores
  • rounds played
  • assassin hit
  • duration
  • costs

This enables building leaderboards, head-to-head matchups, and efficiency metrics from controllog.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions