Question: JAVA programing The Treasure Hunt Game Create UI similar to the illustration Use fonts, color, images etc. to make the game look interesting The treasure

JAVA programing

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

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)

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.

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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!