In one room in your game, there's an elevator that AIs will need to use to escape from the player. In order to use the elevator, they have to walk over to a special button on the wall, press it to summon the elevator, then walk into the elevator and press another button to tell it to ascend. How would you design a system to make sure AIs can do all of these things in the proper order? If you have 3 AIs in the room, how would you design the system to make sure they can all escape in the elevator at the same time? What happens if one of them dies while they're trying to do this, and how do you make sure the other AIs don't get stuck waiting for that dead AI?
1496Post New TCS Software Interview Questions
How do I provide user credentials for starting a server?
How can you sort a list in reverse order in python?
How onclick works in javascript?
What is the voltage gain or transfer function of amplifier?
What does last statement do in perl?
Are html tags case sensitive?
What is the heap?
Explain csv tables.
What is metallurgy?
Is geany a good ide?
Can circle be called an ellipse?
What does your name means?
Is there a pl/sql pragma similar to deterministic, but for the scope of one single sql select?
What are the most common InputFormats in Hadoop?
Can pivot tables show text?