Cardem logo: two stacked cards with a pulse line

Research project

Cardem

Smart tracking, real simulation.

A Hearthstone simulator research project written in Rust. It follows the game's Power.log, reconstructs the game state it can observe, and runs simulations on it, all on your own machine.

Status. Research project. Battlegrounds replay review runs locally; combat odds are experimental and not yet calibrated. Private repository, no download planned yet.

How it works

Cardem reads the log file the game already writes. It does not inject into the client and it is not a mod.

  1. Read the log

    A follower tails Power.log as the game writes it and parses each event.

  2. Rebuild the state

    Events become observed game state: what was on the board and what happened, turn by turn. What the log does not show stays unknown.

  3. Simulate

    A native engine runs seeded, repeatable simulations from that state, such as playing out a Battlegrounds combat many times.

Everything stays local: the log, the reconstructed state and the results are on your computer.

Where it stands

Battlegrounds combat analysis is the current research focus. The two lists below are kept separate on purpose.

Prototype Works today

  • A live log follower that reads Power.log while you play.
  • Battlegrounds replay review: factual turn summaries and observed combat playback from your own saved logs. Shop and recruit playback is not there yet.
  • A Battlegrounds combat engine that simulates a fight between two boards and reports win, tie and loss rates. It models core keywords such as Taunt, Divine Shield, Windfury and Reborn. Most card effects, including deathrattles and start-of-combat effects, are not modeled yet, so these odds are experimental.
  • Patch detection that flags Standard and Battlegrounds card changes.
  • A local dashboard that runs in your browser against a server on your own machine.

In progress Not there yet

  • Calibrating combat odds against held-out real logs. Until that is done, treat the numbers as diagnostics, not advice.
  • Most card effects in combat, including deathrattles and start-of-combat effects.
  • A local install. There is no download or installer, and none is planned yet.
  • Reviewing rule changes for the current patch before any compatibility claim.
  • Deterministic Constructed simulation (replay from a seed, decks and an action log) is research work, not a supported feature.

Cardem does not offer live coaching, win-probability advice or Constructed tracking.