There are lots of games which you can create using coding, there's no limitation.
As a simple game, I can mention a word finder game which is so easy. You have an N*N table which is filled with random characters, user types word, if word exists it will be shown.
You can also create a simple sudoku.
And so on ...
Decide what game you want to create, then we'll help through that.