Swift代写 | 42889 41889 Autumn 2021 Assessment Task 2

本次澳洲CS代写主要是使用Swift完成一个休闲iOS游戏APP

Individual programming project: BubblePop Game
Due 30 April 2021 at 11:59 pm
This project is worth 30% of the overall mark for this subject.

Submit to Assignment 2 in Canvas

Intr oduction

A client has just hired you to develop a casual iOS game based on an idea he had recently. He has 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 well-

structured program and implement the program in the Swift programming language. The final product shall be thoroughly tested and ready to be submitted to the App Store.

Figure 1. Gameplay Mockup Figure 2. Scoreboard Mockup

Objectives

The purpose of this project is to demonstrate competence in the following skills:

The full software development cycle iOS App UI and program design
iOS UI programming
Effective use of platform APIs Program testing

Functionality Specification

The game is called BubblePop (you can call your app a different name if you wish to). In this game, a number of bubbles are randomly displayed on an iOS device screen. A player pops a bubble by touching the bubble, and every time they pop a bubble they earn a certain number of points. Bubbles come in five colours: red, pink, green, blue and black. Each colour corresponds to a specific number of points and has a specific probability of appearance (see table 1). All bubbles appear on the screen briefly (see core functionality 9). A player needs to pop as many bubbles as possible within a certain timeframe (default to 60 seconds) to get high scores. Note that, if a player pops two or more bubbles of the same colour consecutively, they earn 1.5 times the points for the additional bubbles they pop. Finally, game scores are saved and a high score board is displayed after a game run is finished. Figure 1 provides a rough mock up of what the main interface may look like. NOTE: Figure 1 gives you a guide for your GUI, you may design a

more sophisticated and more polished GUI for your own work. You will get 1 functionality mark for each functionality item specified below.

Colour

Red

Pink

Green

Blue

Black

Game Points

1

2

5

8

10

Probability of Appearance

40%

30%

15%

10%

5%

Table 1. Specifications for coloured bubbles