N5
たり~たりする
Things like ~ and ~
家でゲームをしたり、食べたりした。
At home, I did things like play video games and eat.
Explanation
「たり~たりする」 has 2 uses
1A few examples
Picks two or three actions out of many, hinting at more: 「本を読んだり、音楽を聞いたりします」 (I read, listen to music and so on).
家でゲームをしたり、食べたりした。
At home, I did things like play video games and eat.
休みの日は家でテレビを見たり、寝たりする。
On my days off I watch TV, sleep and so on at home.
2Back and forth
Two opposite actions take turns: 「降ったりやんだり」 (on and off), 「行ったり来たり」 (back and forth).
雨が降ったり、止んだりするね。
It keeps raining on and off, doesn't it.
雨が降ったりやんだりしています。
The rain keeps starting and stopping.
Mixed up with
It must end in 「する」: not 「本を読んだり、音楽を聞いたり。」 but 「…聞いたりします」.
「〜て」 follows the order: 「本を読んで、寝た」 (read, then slept); 「〜たり」 gives examples in no particular order: 「本を読んだり、寝たりした」.