Hacker News new | past | comments | ask | show | jobs | submit login

I think it would still work. You would just need to define every attacker-defender pair for that type. If types with different fallbacks were common then you'd just define a dictionary of attack effectiveness fallbacks and the attack_effectiveness function would get from the attacker-defender dictionary and default to fallback for the attacker type.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: