Files
siegeandClaude Opus 5.5 3b7da10086 M2: battle core — Match, garbage, rounds, power casting, 43 powers
- Match: N players over the contested queue; garbage delivered at the
  victim's cycle start (1 line = 1 row, hole 0-8 reused for 10 rows);
  best-of-3 rounds; cast = highest affordable level, meter reset
- powers: PowerId (ROM ids) + info table; confirmed board edits implemented,
  uncertain ones marked APPROXIMATE/INFERRED; status powers via input
  transforms (Reverse, Remocon, Hanten, Mahi, Kaiten) and hooks (Shield,
  Doubles, Doton, Noroi, Fever, Nu, Select, Mirror); durations placeholder
- characters: original 10 with their power lists (83:A2B8)
- 2P SDL front end with gamepads, meters, stock, wins; TBG_SHOT screenshot mode
- 9 match tests

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-20 19:20:27 -05:00

13 lines
511 B
C++

#pragma once
#include <cstdio>
extern int g_failures;
#define CHECK(cond) \
do { \
if (!(cond)) { \
std::printf("FAIL %s:%d: %s\n", __FILE__, __LINE__, #cond); \
++g_failures; \
} \
} while (0)