Status = IO.displayPlayerStats("Dueler", "A quick, nimble " + "well-rounded fighter with a balanced skillset.", Status = IO.displayPlayerStats("Warrior", "A tough, " Public static final Random RAND = new Random() Public static final Scanner USERINPUT = new Scanner(System.in) From there, they spawn in the middle room where they fight each monster and can move room to room.Īny general tips or advice about the code of the program would be greatly appreciated! ProjectMoria class: package projectmoria ![]() ![]() As of now, the player can select new game, and pick a character. I generate a 30x30 array of Room objects, which also randomly generate a random monster in each room. Question 2: Should I have created a constructor for the Dungeon class, that way each dungeon is its own instance instead of have a factory make it every time? Question 1: Is there anything that's declared static that shouldn't be? This project is for my github, as a means to enhance my portfolio for possible internships in the future. I'm trying to follow as many OO concepts as possible.
0 Comments
Leave a Reply. |