Well, in addition to making my prime number generator super efficient, I've now started to learn about methods, arrays, and strings.
Also, I've coded the integers for my text adventure:
Also, I've coded the integers for my text adventure:
public class MedievalTextAdventure {
public static void main (String args[]) {
boolean NOTE = false, HOUSE = false, TREASURE = false, HAMMER = false, FROGS = false, FISH = false, FISHINGROD = false, GOLD = false, DOCTOR = false, OLDKEY = false, BUTTERFLYNET = false, HOUSE1 = false, HOUSE2 = false, HOUSE3 = false, HOUSE4 = false, HOUSE5 = false, ABANDONEDHOUSE = false, LAKE1 = false, LAKE2 = false, LAKE3 = false, LAKE4 = false, LAKE5 = false, LAKE6 = false, DOCTORSHOUSE = false, FISHMONGERY = false, gamerunning = true;
}
}
2 Comments On This Entry
Page 1 of 1
Ryano121
26 October 2012 - 05:42 AM
You may want to put what you have learned about arrays into practice in that code snippet
Page 1 of 1
Trackbacks for this entry [ Trackback URL ]
Tags
My Blog Links
Recent Entries
Recent Comments
Search My Blog
0 user(s) viewing
0 Guests
0 member(s)
0 anonymous member(s)
0 member(s)
0 anonymous member(s)
Categories
|
|



2 Comments









|