If you are learning to code you are one of the very few fortunates.
Do not waste your coding skills to make trivial programs like snake game / tic-tac-toe .
I am not motivating you to start from something very complex from the beginning itself; All I am asking is to bring your own ideas to life with the help of code.
And trust me it is not that difficult ; if you start to think about a new game / app idea it will usually take one or two days to come up with an idea and start working on it but this time is fully worth it.
When you work on your idea you get something you can be proud of.
Also working on a fresh idea exposes us to new challenges which is very - very beneficial to force our brains into thinking like a coder.