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.
Type: Posts; User: Eriosblood
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.
I have absolutely no idea. Honestly just want to Q.Q
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;...
I don't even know where the compiler is. Pretty sad.
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...
Ahhhh I do not want to be an inconvenience and ask for the code but maybe an outline or something, I'm desperate
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...
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 '-'.
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....
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...
Copied the files in ~hutchens162/labs/life and now I have.
import java.util.Scanner;
public class Console {
/**
* @param args unused
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.
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....
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.
Even more confused now.
Thank you. Reading now.
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...