留学生论文代写、paper代写、essay代写、exam代考

代做Java程序Assignment、代写Java编程作业、帮写Java实验作业_计算机代写——dueessay保分计划

admin

DueEssay提供assignment代写,英国assignment代写,美国assignment代写,澳洲assignment代写,assignment代写推荐,assignment代做推荐,assignment代写价格等。还提供计算机编程代写,C++代考,C++代考价格,C++代考推荐,c语言编程代做,cs代考,java代写,python代写等。
计算机作业代写JAVA assignment,代写Java、Java代写、Java编程代写,EXAM代考,C++代考,JAVA代考,C++作业代写,代写assignment 代写,程序代写essay代写留学生作业代写。Mingxinwrite靠谱的写作平台:提供代写论文、代写社会学Assignment、Sociology essay代写、留学生论文代写、留学申请,网课Exam代考,网课代修、网课代上,网课辅导、全科目网课托管等一站式解决,1V1专席客服,100%原创,安全可靠,值得信赖。
 

留学生编程代做、代写Java,Python/c++程序设计

 

CSSE2002/7023 — 2018
Assignment 3 (15%)
Due: 19 October, 12 Noon
Revision: 1.0 (as at October 5, 2018)

Introduction
The goal of this assignment is to create a GUI which utlises classes developed in assignment 1 and
assignment 2. The GUI will display the game world and have options for users to interact with the
world. For this assignment, the only supplied code will be the classes implemented in assignment
1 and 2, no other code will be provided to create the interface.
Unlike previous assignments however, you are allowed to create public classes with public methods
as required. Keep in mind that any methods that dont need to be public should be made private
and all good OO practices must be followed.
Language requirements: Java version 1.8, JavaFX, JUnit 4
Restrictions: use of FXML is not permitted
Helpful Resources:
Week 10 JavaFX prac
Getting started with JavaFX:
https://docs.oracle.com/javafx/2/get_started/jfxpub-get_started.htm
Working with JavaFX layouts:
https://docs.oracle.com/javafx/2/layout/builtin_layouts.htm
Context
Now that we have developed a set of primitives to represent Tile, Block, and Builder and a way to
create worlds and interact with it, we want to be able to:
launch a game window,
load world maps from the game window,
display the loaded map,
perform actions on the world by using control elements in the game window,
provide helpful messages to users on any failures,
display the updated world map once an action is performed, and
save the updated world map.

1
Figure 1: Game window of block world, with a small map already loaded
In this assignment you will create something similar to the above GUI, it does not need to be
exactly same as shown above but needs to have the same functionality.
The required features of your GUI application are:
File Menu
A file menu which allows users to load and save world map files. Selecting one of “load” or “save”
option opens a file dialog box and allows users to select a file or save a file. If a map is already
loaded into the application, users should be able to load new maps without restarting the program.
Display Map
There should be some area in the window which displays the current tiles. The minimum grid
dimensions for the display are 9x9 (at least 81 tiles should be visible, if a map has that many). The
above example GUI is a 9x9 display, with the builder(yellow circle) always center in the grid. You
can create the dispaly using any method you like (canvas, grid layout, etc.) however the following
must always being displayed:
at least 9x9 tiles, with Builder on one of those tiles,

2
total blocks on the tiles,
exits on the tiles,
builder’s current inventory, and
disply at least the top block on the tiles. You can use images or different colors to show what
the top block is.
Action buttons
There should be some way to perform actions on the map. You can use buttons or any other JavaFX
controls as you please to allow users to perform the actions from Assignment 2.
“DIG”, “DROP”, “MOVE_BUILDER”, “MOVE_BLOCK”
There should also be some way to provide directions for the move actions and a way to select the
index to drop from builder’s inventory.
If no map is loaded then these controls should either be disabled or when used, should let the user
know that no map has been loaded (See AlertBoxes on errors).
You are free to create the controls however you like, but everything must be documented (see
Example Description)
AlertBoxes on errors
Users may try to undertake actions which are impossible, or which fail. Your program should respond
accordingly. In some cases, you will pre-empt the user; for example, you may disable direction buttons
if there is no exit in that direction. e.g. If builder’s current tile does not have a “north” exit,
then the north button can be disabled. If a user tries to perform an impossible action, or there is
some failure in your program, you should alert the user with alert boxes.
Relevant alert boxes may include, but are not limited to:
map is successfully loaded
map cannot be loaded
cannot move builder in the intended direction
cannot move block in the intended direction
cannot place chosen block
Doocumentation
You must provide documentation for your GUI. This should include an annotated screenshot of your
GUI, indicating what each section of each screen does. You should also provide a short description
of how each feature has been achieved (e.g. pressing the button that says “DIG” makes the Builder
dig on their current tile)
Documentation of the example GUI, shown in Figure 1, is provided in section Example Description.

3
Summary
For Assignment 3, you are creating an interactive GUI which will allow a user to control the Builder
and explore the world, removing and placing blocks on tiles as they travel. You have creative
freedom as to what the GUI looks like, but it must meet the minimum functional requirements
described above. Users should be able to load new maps without restarting the program.
Ethical obligations
All work on this assignment is to be your own individual work. As detailed in Lecture 1, code supplied
by course staff is acceptable but there are no other exceptions.
You are expected to be familiar with “What not to do” from Lecture 1 and
https://www.itee.uq.edu.au/itee-student-misconduct-including-plagiarism.
If material is found to be “lacking academic merit”, that material may be removed from your
submission prior to marking. No attempt will be made to repair any code breakage caused by doing
this.
If you have questions about what is acceptable, please ask.
Supplied material
This task sheet
A .zip file containing implementations of the Assignment 1 and Assignment 2 classes.

Tasks
1. Create a GUI with all the required functionality
Create a “MainApplication” class in game package which extends from javafx.application.Application
MainApplication class is the entry point of your JavaFX application.
2. Create a document which explains how the created applications works. See Example Description.

X

您可以截屏并微信扫二维码

微信号:littlefairyessay1

(点击微信号复制,添加好友)

打开微信

微信号已复制,请打开微信联系客服!
QQ号已复制,请打开QQ添加客服好友!