Question: Please write code in Java... Objective: Write a game where you are a car, represented by the character X, trying to avoid pots holes in

Please write code in Java...

Objective: Write a game where you are a car, represented by the character X, trying to avoid pots holes in order to get home. As visibility is very low, the car can only move one space at a time, and if the space is a pothole, then the player loses, and the game is over. However, if they manage to reach home, the player won, and the game is over.

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!