$20 Bonus + 25% OFF
$20 Bonus + 25% OFF
Securing Higher Grades Costing Your Pocket? Book Your Assignment at The Lowest Price Now!
Add File

Error goes here

ICT221 Java Programming

tag 1 Download2 Pages / 331 Words tag Add in library Click this icon and make it bookmark in your library to refer it later. GOT IT

Question:

As soon as you start work on your game project, you need to create a Git repository to track all your changes.  You will use BitBucket.org to keep a master copy of your game project, and it is your BitBucket.org Git repository that you will use to submit your game project for marking.  After you have created your Eclipse project, follow these steps to set everything up:

  1. Go to organd create a free account ('Get started for free').  Then create a 'private' Git repository in that account (this is the URL that you will submit to Blackboard for marking).
  2. Then, in Eclipse, right-click on your whole project and use Team / Share Project / Git / Next / Createto create a new local repository.
  3. Commit all your project source files into your local Git repository: (Team / Commit).  You should add all the *.java files, the .project and .classpath files, and ALLother image files or data files that are needed to compile and run your game.  Do NOT add binary output files such as *.class files.  Enter a meaningful commit message (e.g. "First version of game"), and press Commit.
  4. Push your project up into your BitBucket repository: (Team / Remote / Push, and then paste in the URI of your BitBucket repository from Step 1).  You will need to tell Eclipse your BitBucket.org password.   Set the 'Source Ref'to 'Master[branch]' and press the 'Add spec' button, then press Finish.
  5. Go back to BitBucket.org and refresh your repository there, and you should see that some files have been created.  You should create a README file too, with a couple of sentences to explain your project.
  6. Important!Finally, click the 'Send invitation' button and invite your tutor (Mark [email protected], or Amol [email protected]) to be able to share your repository (READ permission will suffice).  Then invite the Course Coordinator ([email protected]) as well.  If you don't do this, we will not be able to mark your assignment.

Now you have joined the world of professional software developers, who use version control to manage their source code safely.  Every day after you have made some changes to your game (and tested them of course!), you should use the Team / Commit / Commit and Push command in Eclipse to save a record of your changes into your local repository, and also push a copy of those changes up to your BitBucket repository, where they will be safely backed up, and where we will be able to access them for marking.  

You can even use this feature to keep your home and University computers synchronised with the latest version of your game, if you:

  • do a 'Team / Commit / Commit and Push' after you make changes.
  • do a 'Team / Pull'each time you arrive at a new computer, to pull the latest version of your game down to this computer.

Start by developing a simple first version of the 2D board in your core game engine.  You could look at the TicTacToe game for an example of how to do this.  

  1. Think carefully about whether each cell in your board should be a primitive value (like a boolean, an integer, or an enumerated value), or should it be an object?  Using objects is more flexible, since it allows you to use Java subtyping to make different cells have different behaviour.  But many of the games suggested above do not require the cells to have fancy behaviour, so a primitive value might be sufficient for your game.
  2. If you have a multi-player game, think carefully about whether the players should just be numbered, or do you want to be able to switch between computer players and human players?  If the latter, then a nice way of doing this is to have a Playersuperclass (or interface), with one subclass for a human player (which prompts the user and reads their response), and another subclass for a computer player (which implements a simple playing strategy such as choosing a random move).
  3. To get high marks, your engine needs to include several classes, with some association/composition relationships between them, and if possible, some inheritance relationships.  Think about where you can best use these Java features.

Here are two suggestions for how you can develop your game engine in small iterations, so that you check that each new feature is working correctly.  I suggest that each iteration should take at most 10-30 minutes, so that you are doing lots of small iterations, adding one feature at a time.

  1. Use TDD to develop your unit tests and game engine at the same time.

Write a simple textual user interface first, and use that to test the game engine manually each time you add a new feature.  (Hint: to make sure you have not broken any old features, you can also rerun previous tests by recording the input in a text file, and redirecting that file into your program using input redirection.  Eg. java -jar game.jar <in.txt >out.txt).

Download Sample Now

Earn back the money you have spent on the downloaded sample by uploading a unique assignment/study material/research material you have. After we assess the authenticity of the uploaded content, you will get 100% money back in your wallet within 7 days.

Upload
Unique Document

Document
Under Evaluation

Get Money
into Your Wallet

Total 2 pages, 1 USD Per Page

Cite This Work

To export a reference to this article please select a referencing stye below:

My Assignment Help. (2021). Java Programming. Retrieved from https://myassignmenthelp.com/free-samples/ict221-java-programming/artificial-intelligence.html.

My Assignment Help (2021) Java Programming [Online]. Available from: https://myassignmenthelp.com/free-samples/ict221-java-programming/artificial-intelligence.html
[Accessed 24 September 2021].

My Assignment Help. 'Java Programming' (My Assignment Help, 2021) <https://myassignmenthelp.com/free-samples/ict221-java-programming/artificial-intelligence.html> accessed 24 September 2021.

My Assignment Help. Java Programming [Internet]. My Assignment Help. 2021 [cited 24 September 2021]. Available from: https://myassignmenthelp.com/free-samples/ict221-java-programming/artificial-intelligence.html.


MyAssignmenthelp.com has appointed best assignment experts who are wizards of words. Our writers know every trick of crafting high quality write-ups within a short period. With years of experiences, we have become one of the most prolific assignment help services in the USA. We deliver custom-made help to students with writing different types of assignments. We guarantee total need-based and timely service, and this is why increasing numbers of students prefer to buy assignment online.

Latest Programing Samples

SITIS2 Information Systems And Data Science

Download : 0 | Pages : 7

Answers: Introduction:  A portal development is done by a real estate company. Their current system is analyzed and a report is needed to make in the back-end of that application system. An interview is conducted by the assessor for finding the class specifications utilized in the system. The following report reviews the classes and objects used in the system. 1. Analyzing the behavior of the objects in the application:  1.1. The...

Read More arrow Tags: Australia Concord Management analysing the strategic  tactical and operational levels of online store  The Book Depository University of New 

ITECH1000 Programming

Download : 0 | Pages : 5

Answer: Australia media debated and discussed recently a lot over affordability of own house for first home owners and for a month it was daily headlines of the newspaper, as some individual made a remark that new generation people spends a lot on takeaway coffees and avocado on toasts and if they stop buying it for some time they can save the money for the house deposit. This remark made a sensation amongst new generation’s people and t...

Read More arrow

BN104 Operating Systems

Download : 0 | Pages : 2

Answers: 1a. The comparison between the internal and external fragmentation: EXTERNAL  FRAGMENTATION INTERNAL FRAGMENTATION The fragmentations that are external occur due to the allocation of the processes in a variable sized memory. The fragmentations that are internal generally occur due to the allocation of the process in the fixed sized memory. The fragmentation that are external takes place whe...

Read More arrow

BN102D Web Systems

Download : 0 | Pages : 6

Answer: Introduction Two Websites are selected for review and they are listed as follows: Penny Juice (http://www.pennyjuice.com/htmlversion/whoispj.htm) Tinkering Monkey (http://www.tinkeringmonkey.com/) Penny Juice is considered as a bad website and tinkering Monkey is considered as an example of good website. The two criteria that is the Navigation and the visual effect is considered for reviewing the website. Identification of th...

Read More arrow Tags: Australia Camellia Computer Science Website Development University of New South Wales Engineering 

ITECH1000 Programming

Download : 0 | Pages : 18

Answer: import java.util.ArrayList; import java.util.List; import java.util.Scanner; public class main {     //new RoomType("Executive studio",210,210,2,20,17))      public static void main(String args[])          ArrayList<Hotel> hotel = new ArrayList<Hotel>();              &n...

Read More arrow Tags: Australia Melbourne Computer Science Programming in Java University of Melbourne Masters in Business Administration 
Next

5% Cashback

On APP - grab it while it lasts!

Download app now

*Offer eligible for first 3 orders ordered through app!

ribbon
callback request mobile
Have any Query?