International Journal of Computer Games Technology / 2015 / Article / Alg 1

Research Article

Artificial Intelligence in Video Games: Towards a Unified Framework

Algorithm 1

Fortress Defender combat code snippet.
void  handle_enemy(pc_t & enemy)
{
 ⋯
if  (enemy.type() == pc_t::cleric ∣∣  enemy.type()
  == pc_t::sorcerer ∣∣  enemy.type()  == pc_t::ranger)
  queue_action(use_skill(Skill::root, enemy));
queue_action(attack(enemy));
 ⋯
}

We are committed to sharing findings related to COVID-19 as quickly as possible. We will be providing unlimited waivers of publication charges for accepted research articles as well as case reports and case series related to COVID-19. Review articles are excluded from this waiver policy. Sign up here as a reviewer to help fast-track new submissions.