From: "Sebastjan H." Date: 2012-07-17T16:58:29+09:00 Subject: Re: learning by doing part 2 - tc game Jan E. wrote in post #1068984: > Yeah, I actually remembered there was this strange "do-while" loop, > which we're not supposed to use: > > http://bit.ly/Mdn8W0 > > So here it is. And you can forget it right away. ;-) well, I like to stay away from until/while, however, I am not sure how to avoid it in the case of running combat turns: while player_hp > 0 and ai_hp > 0 . .# players play cards . . end regards, seba -- Posted via http://www.ruby-forum.com/.