Can you please elaborate?
So setup as before using your example, first both parties create a multi-input coin with a game script plus a lock-time refund in case of failure (1 btc each in and 1btc each change and payment after lock-time).
Then normal interactive proof is A->B: witness (w), B->A: challenge (c), A->B response (r)
1. A->B: w=H(a), SIG(A,w) for random a
2. B->A: c=H(b,w,SIG(A,w)),SIG(B,c) for random b
[optional 3. A->B: r=a TEST(a+b mod n > n/2)]
If we say that the signature 2. is valid already and B can claim the winnings just by providing c of the given form and his signature (which verification goes in the original script). This default win script clause is chosen so it proves who went first because the challenge includes the witness (which includes a signature from A), and the challenge is itself signed by B.
Then we allow an override (higher priority OR or a separable BUT clause) which says A can claim he won instead if he can show that is the case (eg a+b mod n > n/2).
This overcomes the problem that A coming last has an incentive to abort if he loses and wait for the lock-time to return his funds. If he aborts he already lost. As he lost his incentive to cheat, he may instead (non-hacked game clients) could actually reveal preimage a even if he lost. If A does not reveal losing preimages B may elect to not play further games. The motivation to want preimage a to be revealed normally anyway is that it starts the confirmation clock rolling earlier if users want confirmations, and even with 0-confirmation users probably want to have assurance they won before betting more.
Adam