If you win or do well at something, do not brag.
If you lose, do not show anger.
Instead, say something like,
“I really enjoyed the competition and I look forward to playing you again,”
or “good game,” or “you did really well”.
To show anger or sarcasm, such as “I wasn’t playing hard anyway” or “You really aren’t that good,” or ” I was injured” shows weakness.