共计 8273 个字符,预计需要花费 21 分钟才能阅读完成。
FIT9131 November Semester 2020 Assignment 1
Escape from Ivalice
Introduction
This document specifies the programming component of Assignment 1. This component is due by
10pm Friday of Week 7 (18
th December, 2020). Heavy penalties will apply for late submission.
This is an individual assessment task and must be your own work. You must attribute the source of
any part of your code which you have not written yourself. However, you must ensure to be able to
understand, explain, and/or modify any part of your program. Please note the section on plagiarism in
this document.
The assignment must be done using the BlueJ environment.
The Java source code for this assignment must be implemented according to the Java Coding
Standards for this unit.
Any points needing clarification may be discussed with your tutor in the lab classes.
Completion of this assignment contributes towards the following FIT9131 learning outcomes:
- design, construct, test and document small computer programs using Java;
- interpret and demonstrate software engineering principles of maintainability, readability, and
modularisation; - explain and apply the concepts of the “object-oriented” style of programming.
Specification
For this assignment you will write a program which will allow a player to play a game Escape from
Ivalice. This section specifies the required functionality of the program. Only a text interface is
required for this program; however, more marks will be gained for a game that is easy to follow
with clear information and error messages to the player.
In the game, Escape from Ivalice, the player is a wielder of magical powers. The new king of the land
has made the practice of magic illegal. As such, the player must try to escape Ivalice as soon as
possible by opening a magical doorway (i.e. a portal) to another realm. To prevent this, the king has
created a series of mazes which must be navigated first. The aim of Escape from Ivalice is for a player
to choose the correct magical portal which will lead them to the final exit so they can leave Ivalice
FIT9131 November Semester 2020 Assignment 1
Page 2 of 5
without landing in prison. The player either manages to escape or is captured. There is no other way
out!
Game play
The Escape from Ivalice game gameplay can be described as follows: - The game begins with a simple screen which prompts the user to enter their name, which
must be between 3 and 12 characters long (both inclusive). If this criterion is not met, the
player is asked to re-enter their name until correct. - Next the player is placed in the middle of a room. The rules for the room are as follows:
a. Each room may have up to 4 portals possible which allows the player to go from one
realm to another – to the north, to the south, to the east, and to the west.
b. The rules for the portal are as follows:
i. The north portal has a 80% chance of existing
1.If the player selects the north portal, the probability of finding the final
exit portal decreases by 2%. (The minimum probability cannot go
below 1%)
ii. The west portal has a 60% chance of existing
iii. The east portal has a 40% chance of existing
iv. The south portal has a 20% chance of existing - The south portal also has the final escape portal which has an
independent 5% chance of appearing only IF the south portal is
open.
2.Based on this the south direction can either be another portal or the
final exit portal. - Each time the player takes the south portal, if there is no exit, the
probability of finding the final exit portal the next time increases by
5%. (The maximum probability can only be 100%)
c. The system will randomly generate which portals are available to the user and ask
the player to make a choice. The system will also display the current probability of
finding the exit portal.
d. The players’main goal is to find the final escape portal which will only appear on
the south side.
e. The player will then make a choice to go in one available direction.
f. The game will end when one of two things happens:
i. The player finds the final exit portal in the south direction
ii. The player ends up in jail – a room where none of the portals are available to
jump to in any of the four directions.
g. The game will continue until the player ends up in jail or manages to find the final
exit portal.
FIT9131 November Semester 2020 Assignment 1
Page 3 of 5
Game Requirements
The existence of a portal must be randomly determined.
The final exit portal can only appear in the south direction.
Students MUST
o demonstrate an understanding of the logical flow for the game. A clear and concise
gameplay should be demonstrated.
o demonstrate a scalable class design for the program with a minimum of three
classes. Additional classes which are justified will score more marks. If in doubt,
consult your tutor.
o demonstrate the correct use of fixed size collections where necessary.
Students should check the demo video of the assignment which will be uploaded in Week - on Moodle to get a better idea of the runtime requirements for the game.
Students should aim to develop their own game execution that doesn’t copy the demo
video. Marks will be awarded for a creative approach to displaying the game. (The game
should still be text based only!)
Hints and Suggestions
When working with multiple classes you are encouraged to understand, and apply pass by
reference so as to ensure appropriate design is included within your program.
For assignment 1, you are not required to validate numeric inputs with the exception of
the menu choice (if using numbers). All other numeric inputs are not required to be
validated.
FIT9131 November Semester 2020 Assignment 1
Page 4 of 5
Assessment
Programming Task Assessment
Assessment for this component will be done via an interview with your tutor.
The marks for your program code will be allocated as follows:
• 40% – Object-oriented design quality. This will be assessed on appropriate implementation of
classes, fields, constructors, methods and validation of the object’s state.
• 10% – Adherence to FIT9131 Java coding standards.
• 50% – Program functionality in accordance to the requirements.
You must submit your work by the submission deadline on the due date (a late penalty of 20% per
day, inclusive of weekends, of the possible marks will apply – up to a maximum of 100%). There will
be no extensions – so start working on it early.
Marks will be deducted for untidy/incomplete submissions, and non-conformances to the FIT9131
Java Coding Standards.
Please note that your program code will be submitted to a code similarity checker.
Interview
You will be asked to demonstrate your program at an“interview”following the submission date. At
the interview, you will be asked to explain your code/design, modify your code, and discuss your
design decisions and alternatives. Marks will not be awarded for any section of
code/design/functionality that you cannot explain satisfactorily (the marker may also delete excessive
in-code comments before you are asked to explain that code).
In other words, you will be assessed on your understanding of the code, and not on the actual code
itself.
Interview times will be arranged in the tutorial labs in Week 7. It is your responsibility to attend the
lab and arrange an interview time with your tutor. Any student who does not attend an interview
will receive a mark of 0 for the assignment.
FIT9131 November Semester 2020 Assignment 1
Page 5 of 5
Submission Requirements
The assignment must be uploaded to Moodle by 10pm Friday of Week 7 (18
th December, 2020).
The submission requirements for Assignment 1 are as follows:
A .zip file uploaded to Moodle containing the following components:
the BlueJ project you created to implement your assignment.
a completed Assignment Cover Sheet. This will be available for download from the unit’s
Moodle site before the submission deadline. You simply complete the editable sections of the
document, save it, and include it in your .zip file for submission.
The .zip file should be named with your Student ID Number. For example, if your id is 12345678,
then the file should be named 12345678_A1.zip. Do not name your zip file with any other name.
It is your responsibility to check that your ZIP file contains all the correct files, and is not corrupted,
before you submit it. If you tutor cannot open your zip file, or if it does not contain the correct files,
you will not be assessed.
Marks will be deducted for any of these requirements that are not complied with.
Warning: there will be no extensions to the due date. Any late submission will incur the 20% per day
penalty. It is strongly suggested that you submit the assignment well before the deadline, in case there
are some unexpected complications on the day (e.g. interruptions to your home internet connection).
Extensions
All requests for extensions must follow the faculty guidelines and submit the required forms as soon
as possible. Please note that for any extension to be granted you must submit the request centrally via
the link below:
https://www.monash.edu/exams/…
In addition, please remember to have supporting documentation available. This assignment cannot be
completed in a few days and requires students to apply what we learn each week as we move closer to
the submission date. Please remember to show your progress weekly to your tutor.
Extensions due to starting late and not having enough time to complete will not be approved.
Plagiarism
Cheating and plagiarism are viewed as serious offences. In cases where cheating has been confirmed,
students have been severely penalised, with penalties ranging from losing all marks for an assignment,
to facing disciplinary action at the Faculty level. Monash has several policies in relation to these
offences and it is your responsibility to acquaint yourself with these.
Plagiarism (http://www.policy.monash.edu/…)
All submissions will be checked for plagiarism and collusion.