Search:

Type: Posts; User: Norm

Search: Search took 0.12 seconds.

  1. Replies
    12
    Views
    1,595

    Re: AI Search Simulator Assistance

    Some comments on your coding style
    There are too many static variables and methods.
    I change your main to:


    public static void main(String[] args) throws Exception
    {
    new...
  2. Replies
    12
    Views
    1,595

    Re: AI Search Simulator Assistance

    All I can suggest is to keep adding printlns to show what is happening, look at what is printed out and see if the code is doing as you want it to do.
    Add the following to your PathCoord class for...
  3. Replies
    12
    Views
    1,595

    Re: AI Search Simulator Assistance

    Without comments I don't know why you are doing this but it could be a problem:


    Point next = now; //So we don't send back a zeroed coordinate
    This sets a new, 2nd pointer to the point ,it...
  4. Replies
    12
    Views
    1,595

    Re: AI Search Simulator Assistance

    The method that detects "Not In Bounds".
    What can it do to tell another method about that situation?
    It prints out the next X and Y.
    Should it tell the caller there is a problem?
  5. Replies
    12
    Views
    1,595

    Re: AI Search Simulator Assistance

    You have a reasonable tracing print out from the code. Where in that print out are the values going wrong?
  6. Replies
    12
    Views
    1,595

    Re: AI Search Simulator Assistance

    You should ask specific questions about your problem and post the code that is giving you troubles.
    If you are getting error messages, copy and paste the full text here.

    Cross posted at...
Results 1 to 6 of 6