Remove the space after branch statments & iteration statements

Signed-off-by: Takashiro <takashiro@qq.com>
Move the left brace to the end of the previous line

Signed-off-by: Takashiro <takashiro@qq.com>
Remove spaces at the end of each line

Signed-off-by: Takashiro <takashiro@qq.com>
Clear discard pile at the end of each round

Signed-off-by: Takashiro <takashiro@qq.com>