TSAGE: R2R - Fix an original bug in the card game logic, remove useless loops