CRCCards - CMPUT301W23T56/notConstraintLayout GitHub Wiki
PlayerProfile
Responsibilities | Collaborates |
---|---|
Displays total points user have | QR Code |
Shows unique username | User |
Shows the contact information | |
Can edit contact information |
Camera
Responsibilities | Collaborates |
---|---|
Scan QR codes | User |
Save the QR to the wallet | QR Code |
To ensure if the QR code is readable or not | GeoLocation |
GeoLocation
Responsibilities | Collaborates |
---|---|
To store the location of scanned QR codes | QRCode |
User |
Map
Responsibilities | Collaborates |
---|---|
Show QR codes nearby | User |
Stores location of nearby QR codes | QR code |
Show the point of nearby QR code | Geo location |
Wallet |
QR code
Responsibilities | Collaborates |
---|---|
Should be readable | User |
They should have a unique readable name | Map |
They should have visual representation | Camera |
Should have its location displayed in the map | Wallet |
Should have some points | Photo |
Ask player if they want to save its location to not |
Wallet
Responsibilities | Collaborates |
---|---|
Stores QR code | User |
Get access from camera to store the QR code | QR code |
Store the photo | Camera |
GeoLocation | |
Photo |
Photo
Responsibilities | Collaborates |
---|---|
Stores the image of QR code object or location | Camera |
QR code |
User
Responsibilities | Collaborates |
---|---|
Scans QR codes | User |
Can add comment | QR code |
Add QR code | GeoLocation |
Can remove and see the QR code | Camera |
Can access user profile | Player Profile |
Can accept and decline the geolocation | Score Board |
Search other user and QR codes |
Score Board
Responsibilities | Collaborates |
---|---|
Shows the ranking of the user | User |
Player Profile |
Search
Responsibilities | Collaborates |
---|---|
Search other users | User |
Player Profile |
Privacy
Responsibilities | Collaborates |
---|---|
Ask the user to record QR code and GeoLocation or not | User |
Ask the user what information they want to show other players | Camera |
Map | |
GeoLocation | |
QR code |
Owner
Responsibilities | Collaborates |
---|---|
Make sure the photo is appropriately sized and not too large | Photo |
Visual Representation
Responsibilities | Collaborates |
---|---|
Generate a visual representation of QR code that is unique to the QR code | QR code |
User |