Search:

Type: Posts; User: Eriosblood

Search: Search took 0.09 seconds.

  1. Re: Game of Life, help with Array Object? Quite puzzled

    Think you could fix it in 10 minutes and save my ass? Lol just kidding, you have done enough. Thanks for the help. Have a good night.
  2. Re: Game of Life, help with Array Object? Quite puzzled

    I have absolutely no idea. Honestly just want to Q.Q
  3. Re: Game of Life, help with Array Object? Quite puzzled

    Ok found something. It says matrix has the value null at this spot.


    public static void printWorld(boolean[][] matrix) {
    for (int r=0; r<matrix.length; r++) {
    for (int c=0;...
  4. Re: Game of Life, help with Array Object? Quite puzzled

    I don't even know where the compiler is. Pretty sad.
  5. Re: Game of Life, help with Array Object? Quite puzzled

    When compiled from console I get this.

    Exception in thread "main" java.lang.NullPointerException
    at Console.printWorld(Console.java:41)
    at Console.playLife(Console.java:56)
    at...
  6. Re: Game of Life, help with Array Object? Quite puzzled

    Ahhhh I do not want to be an inconvenience and ask for the code but maybe an outline or something, I'm desperate
  7. Re: Game of Life, help with Array Object? Quite puzzled

    I just do not understand what I am supposed to write and change, this is all foreign to me I just began this class and have been looking at this all night. Extremely stressed. Due within the hour and...
  8. Re: Game of Life, help with Array Object? Quite puzzled

    That is to create an array of true/false values depending on whether or not life exists in those areas. If true it will be a '#' and false a '-'.
  9. Re: Game of Life, help with Array Object? Quite puzzled

    I believe it will be used from the console class, I am not entirely sure. I am hardly experienced with java and just got thrown into the language with hardly any good verbal explanation in class....
  10. Re: Game of Life, help with Array Object? Quite puzzled

    Should I get rid of the println statements that are asking for the rows/colums/seeds/birthHigh etc? Since I am passing parameters to the construct? I also really have no idea how to increment the...
  11. Re: Game of Life, help with Array Object? Quite puzzled

    Copied the files in ~hutchens162/labs/life and now I have.


    import java.util.Scanner;


    public class Console {

    /**
    * @param args unused
  12. Re: Game of Life, help with Array Object? Quite puzzled

    I just don't understand where to begin/what to do. Add objects to the methods? It is supposed to match up with some sort of interface? I am just quite bewildered.
  13. Re: Game of Life, help with Array Object? Quite puzzled

    Oh I am sorry, quite rude of me. My apologies.

    Overview
    This lab extends the game of Life assignment that was started in the Life Matrix assignment and continued in the Life Update assignment....
  14. Re: Game of Life, help with Array Object? Quite puzzled

    Thanks for the quick reply, greatly appreciated, been working all day on this. The clues are in the file I attached in my first post.
  15. Re: Game of Life, help with Array Object? Quite puzzled

    Even more confused now.
  16. Re: Game of Life, help with Array Object? Quite puzzled

    Thank you. Reading now.
  17. Game of Life, help with Array Object? Quite puzzled

    I've been asked to change my game of life code to include objects, and I'm not quite exactly sure how to go about doing that. Haven't worked with objects yet, and am a very mediocre beginning...
Results 1 to 17 of 17