Question: Java Progaming The Treasure Hunt Game Create UI similar to the illustration Use fonts, color, images etc. to make the game look interesting The treasure
Java Progaming
The Treasure Hunt Game
Create UI similar to the illustration
Use fonts, color, images etc. to make the game look interesting
The treasure field is 10 by 10 locationsEach location can be clicked to reveal
A treasure, or
Nothing
Treasures Left shows the number of treasures left on the board starting with 20
Treasures Found shows the number of treasures the user has found
Tries Left shows the number of clicks on the board the user has left
Counting each field only once
The game starts with 50 tries available
Last Move shows whether the last click on the board revealed a treasure, a miss, or if the game is over.
User Stories
As a user, I can see the title of game so that I know what I will be playing.
As a player, I can see a board of 10 by 10 locations where I can click, so that I can play the game.
As a player, when I click on a location on the board where there is a treasure, the Treasures Left is reduce by one, and the Treasures Found is increased by one , so that I can see how successful I have been so far.
As a player, when I click on a location on the board, the location changes so that I can see if there was a treasure randomly placed at the location.
As a player, I can see how many treasures that are hidden on the board, so that I know how far away from winning I am.
As a player, I can see how many treasure of the 20 treasures that I have discovered so far, so that I can see how successful I have been.
As a player, I can see how many of the 50 tries/turns I started with are left, so that I can see how far I have to go.
As a player, when I click on a location on the board, the Tries Left is reduced by one, so that I know how many tries I have left .
As a player, when I click on a location that I have already clicked, nothing happens, so that I cannot fake finding treasures.
As a player, when I click on a location, the Last Move fields shows: "Miss" - if there was nothing at the location "Treasure" - if there was a treasure at the location "Game Over - You win" - if there are no treasures left "Game Over - You lose" - if there are treasures more left but no tries
As a player, when I have no more tries left, clicking on the board locations does nothing.
As a player, when I have no more tries left, I can see where all the treasures are on the board.
The board now also contains 20 trolls that will take away all your treasure if you land on one!
20 distinct trolls (not on top of each other or a treasure)
User Stories
As a player, when I click on the board, in addition to a treasure or nothing, I may encounter a troll at random positions.
As a player, when I click on the board and encounter a troll, the troll is always one position in away from a treasure in the horizontal and vertical directions.
As a player, when I click on a troll, I lose all your treasures.
As a player, when the game is over, I can see where all the treasures and trolls are located on the board.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
