You can have a good game with bad story, but it's hard to have a good game with bad graphics (some text only games are the exception, though those have 'no' graphics to ruin the game by being bad.
Probably pretty common to invest 10-20 hours making a start of a game, then realizing it's going to be hundreds if not thousands of hours to finish the product, and just giving up