update user operation and code indent

1. Unlimited undo, even if checkmate.
2. Beat the computer opponents could start new games.
3. Still timer even if the checkmate by opponents, wait for undo.
4. Update code indent.
5. Update ignore.