swapagarwal/bunnies-and-badgers — pull request #4 by TuxiesIceCream (2014-11-20 06:47:59+00:00)
Title: Added Play Again Feature

Put most of the code in a main() function. Function main() is called once, it exits at end of game after displaying buttons for 'play again' an 'exit'. An event loop is then entered that either exits the game, or calls main again.

New variables are used to track time in game because pygame timer function starts at init.

Good day,

Mark B.