|
Post by nawglan on Nov 23, 2009 23:26:01 GMT -5
why 10? why not just keep track of 8?
|
|
|
Post by xade on Nov 24, 2009 2:22:19 GMT -5
bah, just look for the past 4.
Have special exceptions for when you hit any of the > 5 spells.
I mean, if you haven't acted appropriately by PW/FF - it might not matter what you do for the next 6 moves...
|
|
|
Post by Slartucker on Nov 28, 2009 8:52:59 GMT -5
Technically, with enough time stops and banked time stops and hastes, given the way the turns are being dealt with, you could end up needing more than 10 gestures to recognize PWPFSSS.
Alternately, if you are perm blind and your opponent is perm paralyzed, you could have potentially infinite gestures saved in order to know what gesture one of their hands is paralyzed into. :-)
|
|
|
Post by ellipsis on Dec 2, 2009 6:59:18 GMT -5
Alternately, if you are perm blind and your opponent is perm paralyzed, you could have potentially infinite gestures saved in order to know what gesture one of their hands is paralyzed into. :-) That definitely sounds like the most practical way to do it.
|
|
|
Post by mikeEB on Jan 15, 2010 14:37:39 GMT -5
It occurred to me as I was trying something completely different that, ignoring paralysis and invisible gestures, there are only 81 gesture strings on each hand that matter, and we can compress our state-space greatly by only considering those 81.
The relevant strings are: C, CD, CDP, CS, CSW, CSWW, CW, CWS, CWSS, D, DF, DFF, DFFD, DFP, DFW, DFWF, DP, DS, DSF, DSFF, DSFFF, DW, DWF, DWFF, DWS, DWSS, DWSSS, DWW, DWWF, DWWFW, F, FF, FP, FPS, FPSF, FS, FSS, FSSD, P, PD, PDW, PP, PPW, PS, PSD, PSF, PW, PWP, PWPF, PWPFS, PWPFSS, PWPFSSS, PWPW, PWPWW, S, SF, SP, SPF, SPFP, SPFPS, SPFPSD, SPP, SPPF, SS, SSF, SW, SWW, W, WD, WDD, WF, WFP, WFPS, WFPSF, WP, WPF, WS, WSS, WW, WWF, -/>.
Any other gesture string on either hand collapses to one of those strings, if paralysis and hidden gestures can be ignored.
Paralysis adds a handful more, as there are para'd variants (in paraFC) of each of the 8 basic gestures plus FSSD, PSD and WP. Storing these here allows us to use a 3-way switch to store paralysis (see hand states/own choice/opponent's choice)
Invisibile gestures have the added complication that you can see the results but not the gestures themselves. Ignoring those, there is a similar lists for strings containing single ?s, two ?s (banked plus cast time stops) and prefixes of three ?s (possibly including a fourth ? from time stop). And perhaps a banked-blindness/invis list as well if that's necessary. Counting the hints like shields you get, you can usually use P/? to refer to a shield on an unknown hand, with a special case for charmed Ps and a few edge cases like shield followed by counterspell while invisible. Even with this complication, the system is still simpler than explicitly storing the gestures.
|
|