Question: this is a java based programming language. we should use arrays and loops for this exercise. program should create a 2D array of asterisks then

this is a java based programming language. we should use arrays and loops for this exercise. program should create a 2D array of asterisks then one by one it should delete teh asterisk using the thread.sleep(1000) as the timer of how the asterisks are deleted one by one. the link thats provided at the end of the question shows how our program should act. finished product should just have the outside boundary left with everything else inside deleted Program 2 (Loop statement, Array): Make a simple pac-man game that a sweeper removes all trashes in a room. The game runs on console but not GUI. You can use * and @ to express the trash and sweeper in the console. Once the game starts, the sweeper randomly moves until all trashes are removed. You can assume the room is fully filled with the trashes. Please make the room size flexible. Hint: Use array and while loop with Thread.sleep(1000) here is an example from youtube that will help show what the program should look like Example link: https://www.youtube.com/watch?v=RZ206gReXcc

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!