Currently, when a game of Xayaships ends, the loser is supposed to sign a statement that they lost as their last move, and then the winner publishes that on chain to close the channel. This can be simplified. Instead, we should change the boardrules such that once a game is done, no more moves can be made (i.e. remove the "sign winner statement" last move). And instead of closing the channel on chain by providing the signed winner statement, the loser will simply send a move to close the channel without any need for signing stuff in addition.
For this, we should follow these steps:
[x] Update the README file with the new flow.
[x] Add a new on-chain move which simply closes an open channel, marking the player sending the move as loser (any channel participant can do that, no other checks required).
[x] Change the automove behaviour so that the loser closes the channel with the new move, instead of signing a winner statement / broadcasting that by the winner.
[x] Remove the winner statement concept completely (from the boardrules as well as for on-chain moves).
[x] Make sure that if the loser fails to declare loss, the winner can use a dispute/resolution to force-close the channel (i.e. that this is also possible if it is noone's turn, and that the right winner will be chosen independently of who did the last turn).
[x] Since this is a hard fork, might as well reset the game world to a recent block height.
Currently, when a game of Xayaships ends, the loser is supposed to sign a statement that they lost as their last move, and then the winner publishes that on chain to close the channel. This can be simplified. Instead, we should change the boardrules such that once a game is done, no more moves can be made (i.e. remove the "sign winner statement" last move). And instead of closing the channel on chain by providing the signed winner statement, the loser will simply send a move to close the channel without any need for signing stuff in addition.
For this, we should follow these steps:
README
file with the new flow.