Review Article

Game Play Schemas: From Player Analysis to Adaptive Game Mechanics

Algorithm 1

1. Stop at Closed Door
2. Check health of party
    if party member low, then:
        Rest Party
        Resummon summoned creature
    else
     if 1 party member low, then:
        if lots of healing potions, then:
            administer healing
        else
            Rest Party
            Resummon summoned creature
3. Enter combat configuration
4. Open door and enter room
5. If there is an enemy
    Select target
    Monitor health of party until enemy defeated
     if party member has low health, then:
        Run away
        Rest Party
        Resummon summoned creature
        Go back to step 3
    else
     if 1 party member low, then:
        if lots of healing potions, then:
            administer healing
        else
            Run away
            Rest Party
            Resummon summoned creature
            Go back to step 3
6. If enemy remains, go to step 5
7. Check for traps
etc.