Hi,
I'm sorry I've been posting so much code, but I did get the arraylist set up. My new problem is how to get the different coordinates of the new pieces to be different. (The most recent,...
Type: Posts; User: finalfantasyfreak15
Hi,
I'm sorry I've been posting so much code, but I did get the arraylist set up. My new problem is how to get the different coordinates of the new pieces to be different. (The most recent,...
package assignment04;
import java.awt.Color;
import java.awt.Graphics;
import java.awt.Image;
import java.awt.Point;
import java.awt.event.ComponentEvent;
import...
ok so i've figured out how to get the array going. it adds new coordinate data for new pieces, unfortunately it is using the exact same coordinates for every piece so they are being drawn right on...
Oh no! I'm sorry I didn't format my code properly...I've read the announcement and here is my code again with the proper formatting. Sorry.
package assignment04;
import java.awt.Color;...
Hi,
I'm trying to make a snake game for my CS class, but I can't figure out how to use an arraylist to store the x and y coordinates. I was thinking I should use two lists; one for x and one for...