To do: - Add AI for normal magics > # of monsters triggering Dark Hole (and Raigeki on Seeker?) > Dark Hole if empty field and can't summon > Don't Raigeki an empty field unless full hand? > Priority of Swords/Spellbinding/Raigeki/Crush Card/Dark Hole/CoH/Brain Control > Rightmost card breaks ties ----- (CPU uses Change of Heart/Brain Control?) 1. CPU tries to fuse as much as possible (with field, not hand) 2. CPU tribute summons if possible > Prioritize 1-sac over 2-sac > Tribute monster(s) with lowest combined ATK and DEF > Summon monster with highest combined ATK and DEF (not cost) > If there are ties, choose the rightmost card in hand (not sure about field) > Don't tribute a 2-sac for a 1-sac > Don't tribute a 1-sac for another 1-sac (or 2-sac for 2-sac) unless can't summon anything else 3. CPU summons monster with highest combined ATK and DEF (not cost) > If there are ties, choose the rightmost card in hand 4. CPU uses as many equips as possible (can't exceed +2) > Prioritize highest monster with highest combined ATK and DEF 5. If DEF is more than twice ATK, CPU puts monster in DEF position (Steps 6-9 reset after every attack, and monsters that have already attacked are ignored) 6. CPU checks if it has any monsters with ONLY an attribute advantage (couldn't kill normally) 7. CPU attacks with attribute advantage, prioritizing its lowest ATK monsters and player's highest ATK+DEF monsters IF NO: 7. CPU checks if player has any set monsters IF YES: 8. CPU attacks set monster with highest ATK monster (leftmost if there are multiple) IF NO: 8. CPU checks if its lowest ATK monster can kill any of player's non-set monsters IF YES: 9. CPU attacks player's highest ATK+DEF killable monster with its lowest ATK monster IF NO: 9. CPU repeats step 10 with next-lowest ATK monster (CPU uses Spellbinding/Shadow Spell --> Crush Card/Raigeki --> Swords if you have any monsters it can't get over?) 10. CPU attacks directly if possible 11. CPU puts remaining monsters in DEF position