http://www.perlmonks.org?node_id=1006614


in reply to Making a dynamic high scores table

Just to say that programs that play games don't typically "loop"; they are normally state driven and respond to events instead. The only "loop" is the one containing the event handler(s).

I'm not saying you can't have a loop to restart the game, but it ain't a good way to continue...

A Monk aims to give answers to those who have none, and to learn from those who know more.