Download presentation
Presentation is loading. Please wait.
1
Introduction to Android App Development
Tutorial 2 Introduction to Android App Development Course: Network Protocols (NETW703) Department of Networks Faculty of Information Engineering and Technology German University in Cairo
2
Ultimate-Tic-Tac-Toe
Previous Projects Year Project 2012 Pictionary 2013 Battleship 2014 Connect 4 2015 Checkers 2016 Ultimate-Tic-Tac-Toe 2017 ??
3
Ultimate-Tic-Tac-Toe
Previous Projects Year Project 2012 Pictionary 2013 Battleship 2014 Connect 4 2015 Checkers 2016 Ultimate-Tic-Tac-Toe 2017 Othello
4
Rules of the Game Link: http://www.othelloonline.org/
5
Project Architecture sockets sockets sockets Java server
Android clients
6
Demonstrated Example Java server Android client A Android client B
7
Demonstrated Example Android client A Java server Android client B
Welcome, A! Android client B
8
Demonstrated Example Android client A Java server Android client B
Welcome, B! B has signed in! Android client B
9
Milestone 1
10
Milestone 1 Each user should select and enter a unique username, which will be used by the server to distinguish between different users (connections). If a user selects a username which has already been selected by a previous user, the server should send back a message indicating that this is a duplicate username.
11
Milestone 1 Each user should select and enter a unique username, which will be used by the server to distinguish between different users (connections). If a user selects a username which has already been selected by a previous user, the server should send back a message indicating that this is a duplicate username. After a user has selected a valid username, all usernames of all OTHER online users should be displayed using ListView, RecyclerView. For instance, if there are 4 online users, their usernames should be displayed as follows: Player 1 Player 2 Player 3 Player 4
12
Milestone 1 Each user should select and enter a unique username, which will be used by the server to distinguish between different users (connections). If a user selects a username which has already been selected by a previous user, the server should send back a message indicating that this is a duplicate username. After a user has selected a valid username, all usernames of all OTHER online users should be displayed using ListView, RecyclerView. For instance, if there are 4 online users, their usernames should be displayed as follows: If a user clicks on another user’s username, an invitation should be sent, and the recipient should be able to either accept or reject the invitation. Player 1 Player 2 Player 3 Player 4
13
Milestone 1 Suppose that there are 3 online users called A, B and C. Now assume that A has sent an invitation to B, and that B has accepted this invitation. If C then tries to send an invitation to B, the server should inform C that this is not possible, as B has already accepted an invitation from A.
14
Milestone 1 Suppose that there are 3 online users called A, B and C. Now assume that A has sent an invitation to B, and that B has accepted this invitation. If C then tries to send an invitation to B, the server should inform C that this is not possible, as B has already accepted an invitation from A. For testing purposes, open 3 emulators and ensure that all of the above mentioned conditions are functioning correctly.
15
Milestone 1 Suppose that there are 3 online users called A, B and C. Now assume that A has sent an invitation to B, and that B has accepted this invitation. If C then tries to send an invitation to B, the server should inform C that this is not possible, as B has already accepted an invitation from A. For testing purposes, open 3 emulators and ensure that all of the above mentioned conditions are functioning correctly. The deadline for submitting milestone 1 AND submitting your project team’s details (names and IDs) will be midnight of Saturday 18/02/2016. This milestone is an individual task. Each team should be composed of no more than 3 members.
16
And remember… Start NOW before it’s TOO LATE!
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.