Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
    Bookmark Topic Watch Topic
  • New Topic

method help

 
steve low
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
  • Report post to moderator
Hi guys

i kinda got my method working but not as i wanted it to basically this method is replacing the old one at the bottom. and what i want it to do
select number of human players.. you have from 1 to 5 but throw an exception if more then 5 and loop allowing the user to select human players again. thats what ive done below. the bottom code is the old code you can have a look and see what im trying to do to it...





old code
/
[ October 01, 2006: Message edited by: steve low ]
 
Ernest Friedman-Hill
author and iconoclast
Marshal
Pie
Posts: 24212
35
Chrome Eclipse IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Report post to moderator
Please don't start a new topic in the middle of the same discussion. Anyone answering here would benefit by seeing the context in the original discussion here. This really doesn't belong in JiG(I), so I'm going to close this one and leave the one in Beginner's open.
 
    Bookmark Topic Watch Topic
  • New Topic