kaashif / wotr-card-game-python

Python implementation of the War of the Ring Card Game
GNU General Public License v3.0
0 stars 0 forks source link

Support battleground and path victory checks #11

Open kaashif opened 9 months ago

kaashif commented 9 months ago

Not supported currently.

kaashif commented 9 months ago

There are actually a lot of complexities involved with battleground resolution.

Back of the envelope, if you have 5 characters and want to order 5 armies to support them to produce the most attack, that's only 5! = 120 choices. Brute forcing attack seems like a good choice, and it always seems like the best strategy to maximise attack. The choice was when you played the cards.

I think for defenders it's much more complex:

I've convinced myself that attackers don't need choice, but defenders do. But I think I'll give both choice anyway just for symmetry.

This will require a new kind of choice - rather than picking one choice from a list, we'll need to construct a pairing of armies and characters, and (independently) a list of them to eliminate given an attack value. Note that battle happens "all at once" - a supporting army can be eliminated and the supported character will still count as supported for the current combat.

Fuck me why am I thinking about this in such detail.