Upload
others
View
2
Download
0
Embed Size (px)
Citation preview
LESUR PaulCHARPENTIER Mathias
Project : Treasure HuntBy The Gingers
Description of the projectFor this project we have choose to do a Treasure Hunt.This treasure hunt allows you to create a treasure hunt, upload a treasure hunt to share it with friends, download a treasure hunt from a FTP server, and the most important play to a treasure hunt that you have downloaded or created.
Description of the application
Creation of a treasure hunt To create a treasure hunt you have to start the record to delimit an area in which you want to hide a treasure, when this area is acceptable you can stop recoding. Then you have to move to a location inthis area to hide a treasure, you will be notified if the treasure isn't in the area. To conclude the creation of a treasure hunt you can save this treasure hunt by indicate a name and a location, and if you are not satisfied by your creation then you can just come back to the menu.
Illustration 1: Recording the area
Illustration 2: Area delimited
Illustration 3: Placing the treasure
Illustration 4: Saving the hunt
Play a treasure huntYou can play a treasure hunt by clicking on "Find a treasure" in the menu, then a list of your hunt appears, click on the one that you want to play with.
On the game screen there is a map with the hunt area drawn. And there is a progress bar that indicates you how far you are from the treasure. Now you have to find the treasure, once you have find it you will be congratulated ! The treasure is now located on the map, but if you quit the game, it will be hidden again.
Download and upload huntsYou can upload a hunt to our server just by a “longclick” on this hunt.
You can also download hunts made by other players, click on the “Download a hunt” button and you will see all the hunts on the server.
Illustration 5: Menu
Illustration 6: Huntselection list
Illustration 7: Searching the treasure
Illustration 8: Treasure found
Illustration 11: 1 file on the server
Illustration 9: Upload a hunt
Illustration 10: 2 files on the server
About the code
DifficultiesWe were facing difficulties when we tried to develop our project :
• Mathias's PC was not good enough to run Android Studio + Genymotion, so we were obliged to develop the project on Paul's PC.
• After some researches we didn't find how to detect if the treasure was inside or outside the area. So we took the methods we need here.
• We faced some difficulties to contact the FTP server because it is impossible to do that in themain thread.
• We also had problems when we wanted to save/load our hunts because some types we used were not serializable.
Positive pointsSome positive points emerged from the project :
• We managed well our schedule.
• Paul already developed a small FTP client, so he already knew a library that can help us.
• The maps API is complete and very useful.
• We are both redheads so we get along well.
We chose to develop a game based on localization because it is very interactive with the user.
Illustration 12: A Gource overview of our project