User Profile
Collapse
-
Never mind I fixed it -
Ok I figured out a way to fix the problem with spaces and letters and the like. (I don't have the updated code on this computer but it's there I assure you :P)
I want to make an option that allows users to encrypt by a certain number that they choose, how do i do that?
As you can see I can probably place a message that asks by how much do you want to encrypt? If they write 2 for example, it adds two instead of one. I...Leave a comment:
-
Help with a simple encryption program??
Hey bytes, you may or may not remember but last time I was here a few months ago I got some help with making a hangman program which went well. Now I'm still doing okay in Java this year but I'm starting a new project for simple encryption and decryption.
The way I set up the program to work is just to add 1 to each character to change a message... (example: "hello" becomes "ifmmp") or subtract 1 from each character... -
Bah...I ended up figuring it out myself, although I really appreciate the help you guys gave.
Thanks a bunch! The program works perfectly now!Leave a comment:
-
Yeah I know, but it's just hard for me to let go of all the other stuff I've been doing, and I've got a deadline for tomorrow. Basically everything is working except for the lives. I just want to know how I can fix that part up since I really don't think I have the time to start all over again....Leave a comment:
-
I can't get it to display the lives remaining now, where should I move the line of code to?
The line of code i'm referring to
Code:System.out.println("Lives remaining: "+lives+"");
Leave a comment:
-
Ok let me post what I've got so far.
Code:public static void easypuzzle() { String []easywords=new String [51]; easywords[0]="cheat "; easywords[1]="photo"; easywords[2]="mathematics"; easywords[3]="official"; easywords[4]="service"; easywords[5]="favourite"; easywords[6]="chair";
Leave a comment:
-
Yeah I'm thinking that's pretty important to what I need to do, I still dont get it 100%....maybe could you elaborate on it some more please?Leave a comment:
-
-
Okay well I got the hard (?) part of the project done I hope. I can get it to display a bunch of # symbols as the blanks, then when you put in a letter it makes it appear in the puzzle. Now can I get some help on how to make it a loop though? I want to use a do-while loop but i don't know what to put in the brackets after the while part.
Code:String []easywords=new String [51]; easywords[0]="insertwordhere";
Leave a comment:
-
Can you explain the secret word part a little bit more? I don't fully understand it but I think it will be important to continuing on my project.Leave a comment:
-
Yeah i haven't exactly gotten too far yet but I want to know if I'm starting this off right
I made an array that is like this:
String[] easydifficulty = new String[51];
easydifficulty[0] = "word";
easydifficulty[1] = "another word";
easydifficulty[2] = "another word";
easydifficulty[3] = "another word";
But I just did that...Leave a comment:
-
Help making a hangman program
Hey, I just started programming this September and I have an assignment in which I am supposed to create a hangman game. This is my first post on this forum so forgive me for any "noob" mistakes Now I'm still learning Java so this will be a basic program running in the console window (no GUI) using strings loops, arrays, etc but hopefully nothing too complicated. I've developed somewhat of an algorithm for the program, but it's really simple...
No activity results to display
Show More
Leave a comment: