This reminds me of a game I wrote for Ludum Dare a while back:
http://0fps.net/2011/09/13/ludum-dare-21-results/
The title of the game was "Help! I'm trapped in a compact riemannian manifold"
You can grab the source for it on GitHub, though the build process is pretty janky as I wrote it in 48 hours and wasn't very careful with the distribution: