a little help with reading in files, and class usage =/
This is my first time coming to this site & also my first time threading! :D okay soo i am in a intermediate programming class for my university and i had a few questions that i am stuck with in this class. I have to create a scrambler game where you have to first start by logging with a user id.. if you do not have a login you must put your first and last name and make up a user id that has not been used already.
that is where i am stuck!
i started with this: import java.io.*;
public class Player
public static void main(String args) throws IOException
File file = new File("Players.txt"); // to create a new players txt document
The criteria for this program is to have 2 classes: one called Player.java, Scrambler.java and A main program called Assig2 stored in file "Assig2.java"
Can i do that and put all of them together?? how do i do that??
... on my main program(which is a class) i have System.out.println("welcome to the scrambler"); and my loop System.out.print("have you been here before? (y/n");
i am confused on a few of these problems.... could someone be a lifesaver and sort me in the right direction? I know there is a lot but I will do anything if somebody explains this to me... i am dumb at this stuff...
I also am programming with Eclipse...