I think to be a game, a piece of electronic entertainment has to somehow offer better and worse outcomes based on a user input of some kind. So even something like Dear Esther, in my opinion, counts as a game because your input determines whether you make it to the end or not. It's entirely possible to get lost and give up (fail). Whereas something like Passage is not a game.