Find Jobs
Hire Freelancers

improve some codes

$30-250 USD

Closed
Posted almost 8 years ago

$30-250 USD

Paid on delivery
You have been provided with a Java program of a text-based version of the Battleships game. It works, but there are a number of ways in which it could be improved. Your job is to write a critique of it and to suggest improvements. Aim The aim of this coursework is test the following: ability to read and understand Java code ability to understand the implications of object-oriented theory on software and the development of software. ability to read apply object-oriented theory to suggest improvements to Java code Your marks will reflect this. Your task The UML diagram for the project you should critique is above. You can download the BlueJ project from the coursework section of the Moodle page. The [login to view URL] file tells you that the BattleShips class contains the main() method. You need to write a 3-page critique of the code covering the following five issues. Object-oriented design: Are the classes well designed and do they follow good object-oriented principles? How well are errors dealt with?: How robust is the program (does it crash)? User interface.: As text-based interfaces go, how good and intuitive is it? Note: text-based interfaces aren't necessarily bad!. Clarity of code: How easy is it to follow how the program works? Flexibility and extensibility: How easy it it to change aspects of the gameplay? How easy is it to extend? Each of the above should be under its own heading. You should mention all five issues, but focus of those that you think are are more important to write about. For each: Good and bad: Mention both good and bad points (unless you can't find any), giving specific examples. Reasons and implications: As well as the reasons, give examples of what the implications are. Suggested improvements: Suggest improvements and the benefit of the improvements. Some examples follow. Note that these don't apply to the code you have! Make sure you put them the under the appropriate headings. Where appropriate, you should have snippets of code in your document, but in some cases a simple description may suffice. Good: The Student class implements the Comparable interface and implements its compareTo() method. This enables uses encapsulation in that the object is able to sort itself by surname whenever any of Java's collection need to determine its order. However, it could be improved my sorting on the first name where surnames are identical. Bad: The numerical object variables in Student are stored as Strings. It would be more appropriate to store these as float. This would take up less memory and would make it easier to do statistics based on these values. Bad: The toString() method has not been overridden, so relevant fields need to be extracted everytime it's printed to screen (e.g. line 34 in GradeMark). Overriding Objectss toString() method is the standard way of dealing with this, e.g. public void String toString(){ return this.firstName+" "+[login to view URL]; } Bad: Javadoc comments are missing in the Car class. For example, it's not clear what the setData() methods is (as it has quite a generic name) and difficult to know how to use it. It should perhaps be renamed to setEmissionsData0510(). The Javadoc would be something like: /**Method that set emissions data for the car * @param data Data in an array for the period 2005 to 2010. */ Bad: The menu does not tell you what the options are! It should print out all the options everytime the menu is offered. Marking You'll be marked on: Good and bad: Whether the important the issues are raised and whether good examples are given. Reasons and implications: Good reasoning as to why the issue is important, in terms of implications for both gameplay and development. Suggested improvements: Whether the improvements suggested are detailed enough to assess and are likely to benefit the gameplay or future development of the code.
Project ID: 10284912

About the project

10 proposals
Remote project
Active 8 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
10 freelancers are bidding on average $177 USD for this job
User Avatar
A proposal has not yet been provided
$35 USD in 1 day
5.0 (132 reviews)
8.0
8.0
User Avatar
I have 10+ years JAVA experience and more than 600 projects completed on this platform. Please send me complete details. I am very interested to work on this project. Ready to start ASAP.
$200 USD in 3 days
4.8 (441 reviews)
7.4
7.4
User Avatar
How are you? I am a Mobile App developer and have 5 years experience of program develop. I have rich develop experience and have developed many apps. If you choose me, I will do my best for you. I understand your project and will complete fast. I wait your positive reply and you may believe me. Thank you very much
$250 USD in 3 days
4.8 (37 reviews)
7.1
7.1
User Avatar
Hi there! I recently worked with BattleShip Games in Java, But they were different, as i wrote the whole code for making that test-based game. For me, it'll be really easy to understand the code, and find the pros and cons for that Game. I'm well oriented with BlueJ, as i worked on too many assignments for students. And I'm also familiar with code debugging. So this job is perfect for me. Please allow me to help me. Regards, Maher
$100 USD in 3 days
5.0 (111 reviews)
5.9
5.9
User Avatar
Hi , hope you are doing well we are new company in freelancer.com but we have experience 5 years in software Development we can start from today and show you sample for your requirements Thanks OAtechnology
$170 USD in 3 days
5.0 (35 reviews)
4.6
4.6
User Avatar
Java is my main skill! I found your job post and I'm very interested in your project. As a certified desktop application developer with 5-years experience developing Java, I think I have the right skills you're looking for. I'm free now and have availability beginning now. Let's build success!!! Thanks.
$222 USD in 3 days
4.9 (9 reviews)
4.1
4.1
User Avatar
hello. I have great and robust experience and knowledge in java programming. I can assist in analysing the provided code and give out the detailed report and the improvements and how the code is structured. thanks
$211 USD in 3 days
4.6 (2 reviews)
2.6
2.6
User Avatar
I have extensive knowledge in php, jquery and I used codeigniter framework for my productivity. I use bootstrap themes to implement my clients needs and I personalize them according to their tastes. Doing your job won't be to difficult for me. I can create a Jquery page (which I would advise instead of just plan javascript, but you can mix and match them where you want, but jquery is a javascript framwework that is the gold standard today) and then you can easily include this in whatever project you are working on. Furthermore, I have studiedt and prorgammed in java for over 6 years and I have created an ebay style website with jsp and java servlets. O have created text based games such as tic, tac, toe and hang man.
$155 USD in 4 days
0.0 (0 reviews)
0.0
0.0
User Avatar
Hi, I am a 10 year veteran developer in JAVA and SAP ABAP. Great communicatiion skills in English. I can make the best project for you. Best Regards, Carlos Ramírez
$200 USD in 2 days
0.0 (0 reviews)
0.0
0.0
User Avatar
A proposal has not yet been provided
$222 USD in 5 days
0.0 (0 reviews)
0.0
0.0

About the client

Flag of UNITED KINGDOM
london, United Kingdom
5.0
6
Payment method verified
Member since Apr 12, 2016

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.