F
fnord
I've been teaching myself perl today by writing a simple word game. It's going quite well, except I've hit a wall on the timer.
At the moment it's a simple CLI interface, and what I need to do is present the player with a list of letters, and give them 3 minutes to enter as many words as they can from the list of letters.
I'm thinking that the easiest way to do this would be to wrap the game logic in a while() loop for the 3 minutes.
I can't, however, find any examples of how to do this on the web or in the newsgroups.
Can someone give me a hand?
thanks,
fnord
At the moment it's a simple CLI interface, and what I need to do is present the player with a list of letters, and give them 3 minutes to enter as many words as they can from the list of letters.
I'm thinking that the easiest way to do this would be to wrap the game logic in a while() loop for the 3 minutes.
I can't, however, find any examples of how to do this on the web or in the newsgroups.
Can someone give me a hand?
thanks,
fnord