Death by Time Travel
To play, go here or open index.htm.
If you approach a time field, you will time travel into the future. But if you get too close, it will take you to the end of the universe. When that happens, it's game over. Originally made at CodeDay LA in February 2016, but I've improved the game since then.
How it works
- The field slows down the player's "brain" too. The effect of this is that you always see your spaceship moving at normal speed, but if you get close to a field, you see things outside the field happening faster.
- The field slows things down so much that nothing can ever reach the center.
If you combine both of these aspects, then it means that if you try to go to the center of a field and out the other side, you will everything outside the field happen faster and faster, until you've seen the entire lifetime of the universe happen by the time you reach the center! I figured what happens after that is undefined, so the game displays a game over screen if that happens.
By the way, if wormholes exist then they would create a similar effect (see "Will you see the universe end?"), though the physics of a wormhole are very different from the fields in this game. The physics behind black holes and wormholes are very hard to simulate and explain to people, so I purposely did not try to imitate them.
Written in 2016 by Andrew Downing
To the extent possible under law, the author(s) have dedicated all copyright and related and neighboring rights to this software to the public domain worldwide. This software is distributed without any warranty.
You should have received a copy of the CC0 Public Domain Dedication along with this software. If not, see http://creativecommons.org/publicdomain/zero/1.0/.
Rocket sounds are taken from the Falcon 9 flight 1 highlights video. I hope SpaceX doesn't mind.