Results 1 to 7 of 7

Thread: JAVA help

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1

    Default JAVA help

    This is mainly for editing and whatnot, but I'm programming some stuff for my AP Computer Science course, and well I need the feedback from another programmer(s) to see if I have made any mistakes anywhere. Attached is the game Nim, here are the rules:

    * Two players can play, being able to enter their names
    * 4 piles to chose from
    * Each pile has a randomly generated number between 15-30
    * Players chose either 1-3 stones from any pile
    * The person who takes the stone loses

    That's the gist of it right there. I didn't seem to find anything wrong, but then again, I programmed it. Can someone go through and see if there's anything that I could fix, code that I could add/cut, etc... Since this is for a grade, I'd appreciate serious/constructive comments only. Thanks.

    *** Note: You do need Java installed to run these ***
    Attached Files Attached Files
    Quote Originally Posted by Leeza
    This thread did not require Phoenix Down. Do not revive dead threads.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •