So there was this story that I read or watched a long time ago (would've been maybe late 80's to mid 90's).
So my memory is a little fuzzy on where I saw or read this... This would've been around the time when books like the Goosebump or TV shows like Are you afraid of the Dark?

The story revolves around a Game Programmer who is trying to program his next game. However, he's having a slump and trying to figure it out.
The main part of the story involves him meeting this girl that comes from the future. She's trying to get away from her husband, that is a general in the future that takes over the world from his space station. I don't remember after this, but the ending.

The ending cuts to a little into the future, where the Protagonist has created his game. He's being complimented about it in a school. The game that he creates is a war game where you send missiles against each other. However, the only way to really win the game is to send missiles against a space station.

Does anyone know the name of this story and where to find it?