Re: "Nim" game being created, no GUI used... Need tips...

2010-02-06 Thread Kev Dwyer
On Fri, 05 Feb 2010 21:54:48 -0600, Jordan Uchima wrote: Hello Jordan, You could try something like this (not tested, and maybe I don't quite "get" the rules): """ Nim game. In response to question on c.l.p. """ # Start with pot of thirteen pieces and two players. # Each player takes 1 - 4 p

"Nim" game being created, no GUI used... Need tips...

2010-02-05 Thread Jordan Uchima
I am creating a game called Nim, but cannot get a loop going no matter what I do. What i am trying to do is get it to only accept input from 1 to 4, and keep asking for input from the same player if he/she enters in an invalid number. I also want it to stop when there is 1 or no piece(s) left, and