ITECH2000 Mobile Development Fundamentals

FIND A SOLUTION AT American Essay Writers

Page 1 of 6ITECH2000 Mobile Development FundamentalsAssessment Task 2: Hangman AppSummaryYou will implement an app in AppInventor based on a given project specification. This app will use arange of components. You will also submit a brief report containing pseudocode and describing howyour solution utilises various concepts we have learned in class.Timelines and ExpectationsPercentage weighting of task: 20% (of final semester mark for this course)Final Due Date: 11:59 PM, Sunday 5th September, 2021 (end of Week 6)Cut-off Date: 11:59 PM, Sunday 12th September, 2021Minimum time expectation: 10 hoursLearning Outcomes AssessedThis assignment has been designed to enable you to demonstrate your learning in regard to thefollowing outcomes of the course:
Understand constructs typical of many programming languages such as: variables,expressions, assignment, sequence, selection, iteration, procedures, parameters, returnvalues.Design, develop, test and debug mobile apps from a given textual program specification.
S1. Analyse the input, processing and output needs of small programming problems.
Design code sequences to realise algorithms in a programming language.Design basic user interfaces and develop storyboards to convey designed interactionsequences.
In particular, the assignment has been designed to help give you further experience in usingAppInventor, and to assess your attainment of a range of the learning objectives from weeks 1 throughto 6 of this course.Getting Assistance and ClarificationIf any part of the task is unclear to you, or you are not quite sure how to do some aspect of the task,you should post a question to the Discussion Forum on Moodle. However, any questions posted to theforum on Moodle should not include anything that you plan to submit (such as screenshots of codeyou might want to submit) to avoid potential plagiarism.PlagiarismPlagiarism is the presentation of the expressed thought or work of another person as though it is one’sown without properly acknowledging that person. You must not allow other students to copy your workand must take care to safeguard against this happening. Lecturers are obligated to report anysuspicions to the plagiarism officer. More information about the plagiarism policy and procedure for theuniversity can be found online at: Provider No. 00103D | RTO Code 4909CRICOS Provider No. 00103D | RTO Code 4909 Page 2 of 61. Application DescriptionYour assignment is to develop a “Hangman” game application, using MIT AppInventor. In this game,the app will select a random word and the player must try to guess the word within a certain number ofguesses by suggesting letters. For more information about the game, please see: application may contain one or more screens to fulfill the requirements described below. You arefree to design the interface(s) of your app as you like, but your solution should also fulfil therequirements in a logical way.Specifically, the logic requirements that must be supported in the app are as follows:• When the application is first opened, a menu should be displayed that provides the user withtwo options: “Play” and “Time Trial”. These two options, when clicked, will start the game asfollows:o Play: The player has unlimited time in which to solve the puzzle.o Time Trial: The player must guess the hidden word correctly within 20 seconds, elseit is game over.• There should be a separate screen in which the game is played, opened from the menu.• When the game is started, a random word should be selected (from a candidate list of words),and it should be displayed on the screen in some way (e.g., a set of dashes, one for eachletter of the word). For example, if the word to guess is “CAT”, it could be initially displayed as“_ _ _”. You can find a list of words to use in your app here:• Also on the game screen, the image of the “hangman” should be visible. You have beenprovided with a series of images that you can use. When the game starts, the first imageshould be displayed (e.g., 1.png from the provided images).• The user should have some way of inputting a guess in the form of a single letter.o If the word to guess contains that letter, then all instances of that letter in the wordshould be revealed to the user. For example, if the word to guess is “BOOT”, and theuser guesses the letter “O”, then the word should be displayed as “_ O O _”.o If the word to guess does not contain that letter, then the user “hangman” imageshould be updated to display the next image in the sequence, e.g., after the firstincorrect guess is inputted, 2.png will display from the provided images.• It should be clear to the user somehow which letters they have already guessed (bothcorrectly and incorrectly), such that the user cannot guess the same letter twice in a singlegame.• The user wins the game if they correctly select all the letters to form the complete word withinthe total allowed number of guesses. A message should be displayed to alert the user thatthey have won the game.• If the user makes too many incorrect guesses (i.e., 6 guesses in this game before the final“hangman” image is displayed), then they will lose the game and are allowed no furtherguesses. A message should be displayed to alert the user that they have lost the game, andthe correct answer should be revealed.• When the game is over (whether the user won or lost), the user should have the option to starta new game (in which case a new word is randomly selected and the game starts again) orreturn to the main menu.CRICOS Provider No. 00103D | RTO Code 4909 Page 3 of 6• In time trial mode, the game mechanics are the same except that there is a 20 second timerthat starts counting down when the game begins. If the user gets the correct answer beforethe time is up, they win the game. Once the timer reaches zero or the user makes too manyincorrect guesses before the time is up, the game stops and a “Game Over” notification isdisplayed before the app prompts the user if they would like to play again or return to the mainmenu.General Requirements for CodingWhile your app should meet the functionality described above, you also need to ensure that yousatisfactorily demonstrate all the concepts that have been covered in ITECH2000 so far. To achievefull marks, you will need to ensure that you have correctly made use of each of the followingcomponents or constructs somewhere in your app:• a Notifier• Various user interface components, including Labels, Textboxes, Buttons, and/or Checkboxes,as well as HorizontalArrangement, VerticalArrangement or TableArrangement (or all of them).• a Clock and instants• the list construct• a repetition construct• a decision construct• a boolean (AND or OR) expression.• Procedures that you have defined using the ‘to do’ or ‘to do … result’ blocks.Please read through all of the requirements before you commence work on the app, so you geta full sense of what is required to be done. It is recommended that you first model any eventsor complex algorithms using pseudocode before commencing programming.2. Brief Report RequirementsAs well as completing the program described above in AppInventor, you are also required to submit abrief report that includes the following:• A title page that includes your name and student ID number.• Pseudocode describing the behaviour of three (3) events that your app will respond to. Ensurethat you clearly label these events so that it is clear what aspect you are modelling.• For each of the 8 design elements/blocks listed in the previous section (General Requirementsfor Coding), you should describe in 2-3 sentences how you used this component in yoursolution and justify why. If you have used a component multiple times, please describe oneexample.CRICOS Provider No. 00103D | RTO Code 4909 Page 4 of 6Submission and FeedbackSubmissionYou must export your AppInventor project for submission. To do this, go to the “Projects” menu, andselect “Export selected project (.aia) to my computer”. Name your .aia file“A1_YourName_YourStudentID.aia”.You should also save your brief report as a PDF, named “A1_YourName_YourStudentID.pdf”.Add both your .aia and .pdf files to a single .zip file, and then upload this file to Moodle through theassignment link labelled “Submit Assignment 2”. This link will only become available after you havecompleted the ‘Declaration of Originality’ form for the assignment, which requires you to accept theStudent’s Statement. It is a legal declaration that the work was done by you, without any part of itbeing done by someone else.FeedbackYou can expect to receive your final mark and feedback comments within 3 weeks of the duedate, or the date which you submitted your work, whichever is later.You may be required to attend an interview with the marker to answer questions about yourwork before they will mark your submission.CRICOS Provider No. 00103D | RTO Code 4909 Page 5 of 6Marking CriteriaStudent Name: _________________________ Student ID: ________________________
App Logic
A menu screen is present and displayed using appropriate input/output elementsMenu options behave correctly when clicked
A game screen is present and includes appropriate input/output elementsA random word is selected, and its hidden letters correctly displayed to the userAppropriate event(s) handled when user guesses a letter in the game screenAppropriate method(s) used to track guessed letters and update “hangman” imageTimer functionality works correctly (for time trial mode)Game logic works correctly if the user “wins” a game roundGame logic works correctly when the user “loses” a game round
1 2 2 2 2 2 2
Has used TextBoxes, CheckBoxes, Labels, and/or Buttons (including using their action blocksand event blocks) appropriatelyHas used the screen-changing mechanisms correctly and appropriately
1 1
Has used repetition construct to repeat code sequences appropriately and in appropriate placesHas used decision constructs appropriately / in appropriate placesHas formed appropriate boolean and relational expressionsHas used the list construct for appropriate purposes and used its action blocks in an appropriatemanner to manipulate/use lists.Has formed procedures appropriately and in appropriate circumstancesHas used the Clock component and “time instant” values appropriately
1 1 1 1 1 1
The names used for variables, components, procedures and their argument slots, are theappropriate, and are chosen to clearly communicate their purpose in the code.
The app is robust, validates user input (where necessary) and does not crashunexpectedly.
Brief ReportThree (3) events are adequately modelled using pseudocode [1 mark each]Examples and explanations provided for each of the 8 elements/components listed in theGeneral Requirements for Coding section [0.25 marks each for reasonable description of all 8elements]
3 2
CRICOS Provider No. 00103D | RTO Code 4909 Page 6 of 6Feedback:

YOU MAY ALSO READ ...  What should the multilateral development banks consider as they allocate resources? How can they better…
Best Essay Writers