I am creating a game is java and I need to :
- Add the ability for a player to eliminate another player fromthe game by landing on top of them. In other words, when a playermoves, if they move to the location of another player the otherplayer is eliminated from the game. So, this means there will be 2ways to win the game. If a player eliminates all other players fromthe game (before all treasures are collected), they win the game.Otherwise, the remaining player with the most points when alltreasures have been collected wins. (Hint: to accomplish this, youwill need to
OROR