From: Zoe Phoenix Date: 2008-04-15T11:35:45+09:00 Subject: Re: how to execute a method every few seconds yeah, I can see what you're saying, Ken, I was just trying to get an idea of how basically to do something like that in a short, simple test "game". Not really so much a game as just a test to see if the code functions the way it's supposed to. I'm nowhere near ready to create a full game yet. :-p I'm just trying to get used to some of the concepts a game would require, such as adding items to inventory, taking them out, using items on characters to remove status effects, etc. I'm trying to keep it on a simple, one character/enemy level right now. I want to understand how to do these basic things on a small, one character scale before I get into trying to do anything larger, even on just a text-based level. Simple battle with 1 enemy with only 'attack' and 'item' as options, attacks always succeed (so I don't have to worry about programming the possibility of them missing the target) no special skills, except the enemy can inflict 'poison' on the character. I'm slowly figuring things out as I go. -- Posted via http://www.ruby-forum.com/.