I'm currently trying to get my first text-adventure-game in python started,and I wanted to import some features that are totally unnecessary. just for the lulz.
So,I want to start a timer,that starts when the game starts,and ends,when the player is dead or won the game.
I want it to be like
print "You won the game, %s ! You escaped in X seconds/minutes!"
OR for the death function
print "You lost the game, %s. You died after X seconds/minutes!"
NOTE: I DO NOT NEED THE FUNCTION FOR THE DEATH OR SUCH, I JUST NEED THE TIMER FUNCTION