So always take your time to think carefully of your identifier names. Welcome to Code Review, thanks for sharing your code! General issues Namingįinding good names is the hardest part in programming. Return ("Your Money = " +pMoney) // this is not yet implemented Return ("The bank does not have enough money left!") Return("Your Current Position: " +(pPos)) This.x=0 this.mFlag=0 this.i = 0 this.p=0 However, my Code is very messy, ugly, and inefficient I was wondering if I could have some suggestions as to how to tidy it up a bit. I have finished, at least mostly, my two classes and just have a few functions to add in before we start to combine all our classes to make the final product. I am a Student who has been set the task of coding a Monopoly-style text-based game in java as a group project for our Easter Holidays.
0 Comments
Leave a Reply. |