There is no logic involved at all, or fun. Sorry.
Simple but effective
I would just recommend doing between 1 and 9, forget about 0.
Also make it so that the number generated can't be the same as the number generated before.
What is the point of this game you need no skill to play it at all.
...is simple, pointless, stupid and luck is a giant factor. Aaaand I played it for about 15 minutes.
I first thought, the game wasn't working, cause hitting up and down or any other key in my own or english keyboard layout wouldn't do anything. turned out, i had to click the window once more before i could start.
it doesnt work