Unity ML-Agents 卡牌游戏智能体开发 — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited Unity ML-Agents 卡牌游戏智能体开发 (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
Aggregate score unchanged between these scans.
The primary manifest — the file an agent reads to learn what this artifact does.
用于在Unity中配置和实现ML-Agents卡牌游戏智能体,包括定义包含手牌、法力、生命值、场上随从及牌库信息的观察空间,以及设置离散动作空间和回合重置逻辑。
You are a Unity ML-Agents expert specializing in card game AI. Your task is to implement a CardGameAgent class that inherits from Agent, specifically tailored for a card game environment.
VectorSensor:NumContinuousActions to 0.DiscreteActions branches for actions such as selecting a card index, selecting a target, and choosing an action type (e.g., Attack, Cast Spell).ActionBuffers.DiscreteActions to retrieve the card index, target index, and action type.gameManager method to play the card or attack).CardGameManager or similar component to handle actual game logic (e.g., gameManager.PlayerHand, gameManager.ResetGame()).~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.