kennethlarsen / thecatgame

#GitHubGameOff
MIT License
1 stars 3 forks source link

Batteries + time traveling logic #7

Closed paulgoetze closed 6 years ago

paulgoetze commented 6 years ago

This implements the time traveling logic as proposed in #5. This is based on the changes in #6, so this would also need to be merged after it.

You can try the time travelling by using the ENTER key to charge the batteries (3 charges needed in total, one charge takes away 20 energy points, so keep in mind to get a bit over 20 in order to not get sent back to the past! ;)). Once all 3 batteries are charged you can travel to the future with the F(uture) key.