42889留学生编程 写作、 辅导programming程序

” 42889留学生编程 写作、 辅导programming程序Faculty of Engineering and Information TechnologySchool of Computer Science42889 – iOS Application DevelopmentSummer 2020Assessment Task 2Individual Programming project: BubblePop GameDue 22 Jan 2021 at 11:59 pmThis project is worth 30% of the overall mark for this subject.IntroductionA client has just hired you to develop a casual iOS game based on an idea he had recently. Hehas no programming experiences and only knows the overall functions the game must have.You must help him to work out a detailed Graphical User Interface (GUI), design a wellstructuredprogram and implement the program in the Swift programming language. The finalproduct Shall be thoroughly tested and ready to be submitted to the App Store.Submit to Assignment 2 in CanvasFigure 1. Gameplay Mockup Figure 2. Scoreboard MockupObjectivesThe purpose of this project is to demonstrate competence in the following skills:The full software development cycleiOS App UI and program designiOS UI programmingEffective use of platform APIsProgram testingFunctionality SpecificationThe game is called BubblePop (you can call your app a different name if you wish to). In thisgame, a number of bubbles are randomly displayed on an iOS device screen. A player pops abubble by touching the bubble, and every time they pop a bubble they earn a certain number ofpoints. Bubbles come in five colours: red, pink, green, blue and black. Each colour correspondsto a specific number of points and has a specific probability of appearance (see table 1). Allbubbles appear on the screen briefly (see core functionality 9). A player needs to pop as manybubbles as possible within a certain timeframe (default to 60 seconds) to get high scores. Notethat, if a player pops two or more bubbles of the same colour consecutively, they earn 1.5 timesthe points for the additional bubbles they pop. Finally, game scores are saved and a high scoreboard is displayed after a game run is finished. Figure 1 provides a rough mock up of what themain interface may look like. NOTE: Figure 1 gives you a guide for your GUI, you may design aColour Game Points Probability of AppearanceRed 1 40%Pink 2 30%Green 5 15%Blue 8 10%Black 10 5%more sophisticated and more polished GUI for your own work. You will get 1 functionality markfor each functionality item specified below.Table 1. Specifications for coloured bubblesCore Functionalities1. A player must be able to enter their name before the start of a game run. (You may loadthe players Name from the GameKit API if you wish. This extra work is not required.)2. A game timer shall be displayed and it must count down continuously in one-secondintervals. When the timer reaches zero, the game stops.3. A score shall be displayed. It shall be zero initially and shall be updated every time theplayer successfully pops a bubble.4. The default timeframe for a game is 60 seconds, i.e. the game timer starts from 60seconds and counts down to 0. This number shall be adjustable in the app settings.5. The maximum number of bubbles displayed on the screen is defaulted to 15, i.e. thereshall be between 0 and 15 bubbles shown on the screen at the same time. This numbershall be adjustable in the app settings.6. The app randomly decides how many bubbles (up to the maximum allowed bubblenumber) shall be displayed on the screen at a time. The bubble colour is decided accordingto the Probability of Appearance in Table 1.7. Bubbles shall be displayed at random positions on the screen with the followingrestrictions:1. The entire bubble shall be displayed within the screen. There shall not be any bubblewith some parts off the screen once it has fully appeared.2. No two (or more) bubbles shall overlap each other.8. When a player touches a bubble, the bubble shall be removed from the screen and thecorresponding game points shall be added to the overall score. For example, if the greenbubble in Figure 1 was touched, it shall disappear and the score shall increase by 5 gamepoints. If two or More bubbles of the same colour are popped in a consecutive sequence,the bubbles after the first one will get 1.5 times their original game points. For example, iftwo black bubbles were popped one after the other, 25 (10 + 1.5 * 10) shall be added tothe total score. Round to the nearest integer if necessary.9. The app shall refresh bubbles displayed every game second. That is, after every gamesecond, the app shall randomly remove a number of bubbles (do not include the bubblesthat have been popped by the player) and replace them with another set of randomlypositioned bubbles. There may be more or less bubbles on the screen compared with theprevious game second subjected to the restrictions in 5 and 6. In this case, randommeans chosen by the program, not the user. So you have a lot of discretion inplacement of new bubbles and selection of old bubbles.10. When the game stops, the players score shall be saved in a persistent file (or database)that contains all players names and their highest scores.11. At the end of the game, a high score board shall be displayed with the names and scoresof the highest ranking players. (See Figure 2)Extended Functionalities (please do not start on these until finishing CFs)1. In addition to core function 7 and 9, displayed bubbles shall move and go off the screen ifthey are not removed earlier. Their moving speed shall increase as the game timer countsdown. You Decide the rate of change with respect to the game timer.2. Animations of game state transitions. For example, one of:1. Flashing count down 3, 2, 1 start at the beginning of play2. Bubbles shrinking, growing, or flying away when removed or tapped3. Score changes or combo lengths displayed with animations in response to taps3. The highest score in the scoreboard shall be displayed during gameplay.4. Any cool and useful features that you can think of.PROGRAM/TEST HINTMake sure your program works under different iOS devices/simulators (e.g. iPhone4s, iPadetc.) with different screen sizes and orientations.For core functionality 4 and 5, the game time and the maximum number of bubbles can beset in the app settings. How can you make sure their settings are valid? How can youprevent a user from setting a negative or a very large number for these settings. Thinkabout how to communicate these constraints to the user in a comfortable way.AssessmentYou need to submit your assesment in Canvas on 22 Jan 2021.Max score: 30 marksFunctionality: 20 marksThe Xcode project must unzip successfully and compile without errors.15 marks for specified functionalities.Full marks in functionality requires the completion of all CFs and EFs2 marks for compiling without warnings.1 mark for Operating without unhandled runtime errors.2 marks for correct display on different screen sizes and orientations.Code Style: 3 marksDeduct up to 1 mark for bad or inconsistent indentation, whitespace, or braces.Deduct up to 1 mark for bad or misleading comments.Deduct up to 1 mark for unclear symbol naming.Program Design: 7 marksData modeling: Do the data structures reflect the problem domain?Immutable data and idempotent methods: Is the type system used to prevent incorrectcode from being written?Functional separation: Is the problem broken down into meaningful parts?Loose coupling: Can parts be changed in isolation of each other?Extensibility: How easy would it be to add, remove, or change functionality? Could a newmechanic or new content be added by changing data instead of changing code?Error handling: Are errors detected at appropriate places? Is the user prevented fromentering invalid input and guided toward valid input?Late submissionLate submissions may be demonstrated in lab the following week.Deduct 1 mark per 24 hours late (rounded up). Submissions will not be accepted after the FinalDue Date (7 days after the standard due date).Please note: Regardless of how many times you have submitted your project, if your finalsubmission is after the due date it will be considered late and marks will deducted accordingly.An extension will only be granted if there is a fully documented reason which merits it. Thedocumentation must be presented to the Subject Coordinator before the due date. Extensionsafter the Final Due Date will never be granted under any circumstance. If an extension isgranted that Means submission will be accepted up to the extension date without penalty. If anextension is granted, UTS Online will show the extended due date.Students may apply for special consideration if they consider that illness or misadventure hasadversely affected their performance.Bug reportsIt is quite possible that errors or ambiguities may be found in the specification. If so, updateswill be placed on Canvas and announcements made regarding the amendment. It is yourresponsibility to keep up to date on such amendments and ensure you are using the latestversion of the Project Description.If you discover an error or bug in the provided material, you will receive favorable marking. Thefollowing rules apply:1. It must be a report on the currently posted version of the material.2. It must be reported on the Canvas discussion board to be accepted.3. It must be a genuine bug. By genuine I mean it requires me to amend the material.4. If a number of Students post a report on the same bug, the first who posted will receivethe mark.Return of Assessed ProjectIt is expected that marks will be made available one week after the final due date viaCanvas. You will be given the marks and feedback.Acceptable Practice vs Academic MalpracticeStudents should be aware that there is no group work within this assessment. All workmust be individual. However, it is considered acceptable practice to adapt code examplesfound in the lecture notes, labs and the text book for the assignment. Code adapted fromany other source, particularly the Internet and other student assignments, will beconsidered academic malpractice. The point of the assignment is to demonstrate yourunderstanding of the subject material covered. Its not about being able to find solutionson the Internet.You should also note that assignment submissions will be checked using software thatdetects similarities between students programs.Participants are reminded of the principles laid down in the Statement of Good Practiceand Ethics in Informal Assessment in the Faculty Handbook. Assignments in this subjectshould be your own original work. Any collaboration with another participant should belimited to those matters described in the Acceptable Behaviour section. Anyinfringement by a Participant will be considered a breach of discipline and will be dealtwith in accordance with the Rules and By-Laws the University. The Faculty penalty forproven misconduct of this nature is zero marks for the subject. For more information, seeUTS Policy on Academic integrity, plagiarism and cheatingQueriesIf you have a question, please contact the instructor as soon as possible.If the answer to your questions can be found directly in any of the following:subject outlinetask specificationCanvas discussion boardYou will be directed to These locations rather than given a direct answer.如有需要,请加QQ:99515681 或WX:codehelp

添加老师微信回复‘’官网 辅导‘’获取专业老师帮助,或点击联系老师1对1在线指导