Refactored to use state based games. Created Utils.getTime()