You're working on a game that involves enemy wizards dueling each other. Each wizard has at least a dozen different spells at his disposal -- some of them simply inflict damage, while others will temporarily stun or immobilize an enemy, slow him, prevent him from casting spells for a brief duration, teleport the caster a short distance, or give the caster a temporary shield. A wizard can only cast one spell at a time, but each spell has a fixed cooldown (time before it can be cast again) and an associated mana cost (assume no mana regeneration). Describe some ways you might implement a competent AI system for a wizard.


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More Software Interview Questions

What's the difference between a finite state machine (FSM) and a hierarchical finite state machine (HFSM)? Give an example of a hierarchical state machine with functionality that you could not easily replicate in a non-hierarchical FSM.

0 Answers  


How to determine Shipping point?

0 Answers  


How Accounting determination happened?

0 Answers  


How to manage Payment terms in Credit Management?

0 Answers  


What are some of the limitations of state machines? When is the use of state machines appropriate, and when are they insufficient to generate the kinds of behaviors you need in a game?

0 Answers  






can anyone tell me the program to compare two files and write matching records to a file and unmatched to another in mainframe.

0 Answers  


A bank offers 5% compound interest calculated on half-yearly basis. A customer deposits Rs. 1600 each on 1st January and 1st July of a year. At the end of the year, the amount he would have gained by way of interest is:

0 Answers   Zoho,


You're in charge of implementing a stealth game similar to Thief: The Dark Project, and you need guards in your game that have imperfect vision and hearing and inhabit dimly-lit castles, and they can search the area for the player if they think there's an intruder around. How do you model the sensory systems of these guards, and how do you aggregate auditory, visual, and other kinds of stimuli in this system? How do you implement the various alert states for the guards, and why?

0 Answers  


How to Create a New Table?

0 Answers  


How to find the Table name for the Specific Field?

0 Answers  


How will you execute 1000 test case in a day ??

0 Answers  


where will movement type get assigned?

0 Answers  


Categories