The requirements for this week’s programming assignment are quite vague in the assignment description, so, I thought I would clarify. Just a reminder that we are writing a Geocaching application where treasure items are named and a location is set for each item, along with some clues and an answer to those clues. The object of the Geocaching game is for other users to find that treasure at that location via the clues and a picture. They must also provide an “answer” based on those clues. The requirements this week are mainly: 1. Complete the splash screen 2. Complete the menu screen 3. Complete a partial Create Treasure Screen (No image capture or GPS capture required this week) 4. Complete a partial Game Play Screen (No image display required this week) The first three screens (splash, menu, create treasure) should be completed from past assignments. 1. The splash screen is simply a screen that displays an image before showing the menu screen OR you can simply display the menu with an image behind it. Here is an example screen shot of the splash/menu screen (menu options with image as background) 2. The Create Treasure Screen is what we did last week. We will not complete the entire screen this week. We will finish up this screen during the final week. The requirements for this screen this week are: 1. User can create a Treasure item (name) 2. User can create clues (3 clues) and an answer to those clues 3. User can assign a point value The implementation of the above was done last week. You will need to write each treasure item name, its clues and answer, and a point value to an xml file in your apps files directory. A single xml file can store many treasures. Here is an example of the xml file: Example1 MyClue MyClue2 MyClue3 myAnswer 5 Example2 MyClue MyClue2 MyClue3 myAnswer 15 Here is an example screen shot (Location displays the current location of the image snapped, both the location text field and the ImageView are NOT REQUIRED this week) 3. The Game Play Screen will allow the user to play the game. The requirements for this screen this week are: 1. Display the users GPS co-ordinates 2. Display all treasures (final project will need to be modified to only show treasures near current location) 3. Allow the user to select one of the above treasures 4. A clue is displayed for the selected treasure (dialog or text somewhere on the screen) 5. User can ask for more hints 6. User can guess answer and GPS coordinates of treasure (location should be current location) If the user can get the treasure's correct answer and have the right GPS co-ordinates of the treasure they get full point value. If they need 1 or 2 hints and then get the right answer and co-ordinates then they get half points. If they need more than 2 hints then they will get 1 point. You do not need to keep track of the total points for a user. You can just display the points they received for one treasure. The full implementation of points will be completed in the final week in the User Profile Screen. Here is an example screenshot (Image View NOT REQUIRED this week) You should have noticed that the create screen and game play screens will not be completed this week. Next week, we will finish up the create game screen by writing a simple app that allows the user to take a picture and our program will save that picture’s data to internal storage and also save the location of that picture. Once we can do that, it will allow us to complete the game screen by displaying the image saved for a treasure and only show treasures near the current location. It will also allow us to complete the Create Game Screen. Both screens will be done in the final couple weeks of class. Also, there are many ways to design the above screens, please feel free to modify the design as you see fit.
You'll get a 1.4MB .ZIP file.