With Bitcoin script, is it possible to construct a timelocked address X in such a way that:
- Players A and B (maybe more players) can send bitcoin to this address;
- When the timelock expires,the player that had sent more bitcoin to address X can withdraw all bitcoin to himself;
- If deposits where equal, then whoever is first - withdraws; ?