Dear {Recipient},
I am sorry that I {behavior}. I know that you did not like it when I did that. I know it was wrong because {reason}. I am working very hard to learn how to better control my emotions so I don't {behavior} again.
You are one of my best friends and I like playing {game} with you very much. Please accept my apology.
Your friend,
{Sender}