ITP4206 Proprietary Mobile Application Development
Individual Assignment (20% of overall marks)
Objective
By completing the assignment, students can
be familiar the basic features of the Swift programming language.
practice through the steps to develop iOS app using the Xcode SDK.
The Basic Task
You are required to create an App to a game named Tie-Tic-Toe: which is a paper-and-pencil game for two players, X and O, who take turns marking the spaces in a 33 grid. It is allowed to use a single view for the app and is suggested as follows:
The rules
The first player is known as X and the second is O. Players alternate placing Xs and Os on the game board until either oppent has three in a row or all nine squares are filled. The player who succeeds in placing three of their marks in a horizontal, vertical, or diagonal row wins the game. The following example game is won by the first player, X:
The game is played by two human players with the same iphone.
It is suggested to use array to store the values of current generation and next generation separately, otherwise many variables are required to store the input data and the computation logic will be complicated.
A separate class is required in the project to decide the winner / a draw game.
Good coding standard is required appropriate comments, error handling, well-structured coding and good naming convention.
Useful Information
Students are required to search the Apple official site and other useful webpages for learning the Swift programming and the Xcode SDK for the app development.
Extra Task
Make the game able to do computer vs human game. (5 marks).
The game shows and records the number of winning X, winning O and draw games using Core Data. (5 marks)
Make the game a real multiplayer game using 2 iPhones (10 marks).
Marking Scheme (Full marks 100)
Finish the user input (show X and O alternatively) 40 marks
Finish the winning decision part with reset 40 marks
Finish the Extra Task 20 marks
Remarks: Poor coding style (e.g. no suitable comments in every custom method (non-delegate/commonmethods e.g. viewDidAppear), variables and etc.) in the source codes will cause maximum 30 marks deduction.
Submission
Hand in your Xcode project through Moodle by 14th Jan 2020 23:59.
Demonstration
The demonstration will be conducted on 14th Jan 2019
Reviews
There are no reviews yet.