Question: Design and implement in Java the game called Treasure Island as an interactive command prompt game. - Provide one island map with a size between
Design and implement in Java the game called Treasure Island as an interactive command
prompt game.
Provide one island map with a size between and rowscolumns with your game. The map
should allow the user to successfully get the treasure for example, do not surround the buried
treasure chest location with obstacles
Game Objective:
Explore the island map for the location where the treasure chest is buried and dig it up The user
must have a shovel in order to dig up the treasure. The game ends when the user has the
treasure chest.
Game Map:
The map of the island can be represented as a gridtable with rows and columns, with the user
starting at location
The user will not be able to see the map but can explore it one locationtile at a time.
A map tile can be empty, can have an obstacle tree or mound can have a shovel, or can have
the buried treasure chest. There should be an obstacle on each row and on each column of the
map.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
