Results 1 to 3 of 3
  1. #1
    krissy992 is offline Member
    Join Date
    Jan 2013
    Posts
    9
    Rep Power
    0

    Default Getting last column to take pieces

    Thanks everyone for the help
    Last edited by krissy992; 02-05-2013 at 11:31 AM. Reason: I don't see how to just delete the post and I don't want my code floating around. haha

  2. #2
    Tolls is offline Moderator
    Join Date
    Apr 2009
    Posts
    12,097
    Rep Power
    20

    Default Re: Getting last column to take pieces

    You're letting the user pick 0-6.
    Your board is defined as board[6][]...
    The only valid values are 0-5.
    Please do not ask for code as refusal often offends.

    ** This space for rent **

  3. #3
    krissy992 is offline Member
    Join Date
    Jan 2013
    Posts
    9
    Rep Power
    0

    Default Re: Getting last column to take pieces

    Omg. I feel so stupid! Thank you so much, weeding through code all night, my mind has been just jumping over that. Thanks again!

Similar Threads

  1. Replies: 0
    Last Post: 01-17-2013, 12:43 PM
  2. Replies: 2
    Last Post: 10-31-2012, 04:31 PM
  3. Cut Java image into different pieces with an ImageBuffer
    By The original stinger in forum Java 2D
    Replies: 2
    Last Post: 04-30-2012, 03:46 PM
  4. Battleship Game - Pieces lay on top of eachother.
    By lolerskates2695 in forum New To Java
    Replies: 7
    Last Post: 04-25-2011, 01:05 AM
  5. Triangle Areas - Please help before I smash my laptop into pieces!
    By Atia of the julii in forum New To Java
    Replies: 67
    Last Post: 11-10-2010, 05:40 PM

Posting Permissions

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