I've forgotten the name of this book (and I hope I'm not mixing plots lines). earth is in its final years and and there are increasing storms/earthquakes. A shipbuilding program is underway but there won't be enough ships to take everyone. At the same time a VR game is introduce that a lot of people play to escape reality. After playing for a while they realise that some things from the game can be brought into the real world.