On Wed, Sep 12, 2012 at 1:56 PM, Matthew Ngaha wrote:
> i have a way to set a timer for creating new objects copied from a
> book but as i have started my next exercise in a very different way, i
> want to avoid that math method/formula as it will cause me to
> rearrange some classes totally...
>
> Get a slower computer.
>
> I expect that if you find an old Commodore 64 from 1982, or perhaps
> an 1984 Apple Macintosh, it might be slow enough for your count down
> idea to work. But with modern computers, counting up to, or down from,
> 5 is more or less instantaneous in human terms.
>
>
On 13/09/12 03:56, Matthew Ngaha wrote:
class Game(object):
interval = 0
def play(self):
Game.interval = 40
while Game.interval> 0:
self.count_down()
def count_down(self):
Game.interval -= 1
so the play() method gives interval a
i have a way to set a timer for creating new objects copied from a
book but as i have started my next exercise in a very different way, i
want to avoid that math method/formula as it will cause me to
rearrange some classes totally...
i tried a simple method but its not working. any ideas? heres my