Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Driven Web Sites

Authors: Mike Morrison, Joline Morrison

1st Edition

061901556X, 978-0619015565

More Books

Students also viewed these Databases questions