CMPT 306: Behavioural AI and Maps (chatgpt)

0.0(0)
studied byStudied by 0 people
0.0(0)
full-widthCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/33

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

34 Terms

1
New cards

What does it mean that a map’s “resolution may vary

The level of abstraction can change (tiles vs large regions vs waypoints), depending on how detailed path planning needs to be

2
New cards

What is an obstacle in map representation?

Any area an agent cannot traverse, such as walls, locked doors, chasms, or narrative restrictions.

3
New cards

What is a grid map?

A grid map represents the world as a 2D grid where each tile is a node and connectivity is defined by adjacency.

4
New cards

Why is a grid map called an “implicit graph”?

Because adjacency is implied by grid structure rather than explicitly storing edges.

5
New cards

Why must tile coordinates be translated into world coordinates?

Because pathfinding operates on grid coordinates, while rendering and movement occur in world space

6
New cards

What is a waypoint map (roadmap)?

A traditional graph where nodes represent key locations in space and edges represent valid movement paths between them

7
New cards

How is connectivity often defined in waypoint graphs?

By line of sight (LOS) between nodes

8
New cards

What are the advantages of waypoint graphs over grid maps?

  • More flexible

  • Better for large or irregular spaces

  • More suitable beyond 2D

9
New cards

What information must a roadmap include to be useful?

  • Collision-free nodes and edges

  • A cost function (time, distance)

  • Full coverage of the map

10
New cards

List the three methods of generating roadmaps discussed in class.

  • Hand-drawn

  • Visibility graphs

  • Random waypoints

11
New cards

What is a hand-drawn roadmap?

A manually created graph where designers place nodes and edges directly in the level.

12
New cards

Give two advantages and two disadvantages of hand-drawn roadmaps.

Advantage: High precision in design, low computational cost; Disadvantage: Time-consuming to create and maintain and not robust to random obstacles.

13
New cards

What is a visibility graph?

A graph where nodes are placed at obstacle corners and edges exist if there is line of sight between nodes.

14
New cards

What is a major disadvantage of visibility graphs?

Graph complexity increases rapidly with many obstacles and can lead to overly “perfect” or unnatural movement

15
New cards

Describe the random waypoint method

Random points are placed in free space, connected via line of sight, then pruned and refined using heuristics

16
New cards

Why is random waypoint considered “quick and dirty”?

It generates reasonable paths quickly but is inefficient, lacks spatial understanding, and can over-generate edges and may miss necessary edges

17
New cards

Name four techniques discussed for converting geometry to graphs.

  • Grid overlays

  • Navigation meshes

  • Waypoint graphs

  • BSP / Quadtrees / Octrees

18
New cards

What is a Navigation Mesh (NavMesh)?

A mesh of walkable regions derived from geometry, where adjacency forms a navigation graph.

19
New cards

What is Procedural Content Generation (PCG)?

The algorithmic creation of game content with limited or indirect user input.

20
New cards

What types of content can PCG generate?

Levels

rules

stories

items

quests

music

characters

dialogue

21
New cards

What is a seed in PCG

A parameter that initializes a random number generator to produce reproducible content.

22
New cards

Give three reasons to use PCG.

  • More content

  • Lower development cost

  • Increased replayability

  • uses less memory

23
New cards

Give two reasons not to use PCG

  • Designers need precise control

  • PCG content can feel boring or harm shared experiences

  • Potentially lower quality output

    • Increased complexity in debugging and balancing

24
New cards

List the five key properties of a PCG solution.

  • Speed

  • Reliability

  • Controllability

  • diversity

  • Creativity

25
New cards

What are the three components of a PCG system?

  • Generation algorithm

  • Content representation (model)

  • Evaluation function

26
New cards

What is the difference between genotype and phenotype in PCG?

  • Genotype: internal data model

  • Phenotype: actual in-game content

27
New cards

Name the three types of evaluation functions.

  • Direct evaluation

  • Simulation-based evaluation

  • Interactive evaluation

28
New cards

What is direct evaluation?

Scoring content using extracted features and predefined metrics.

29
New cards

What is simulation-based evaluation?

Using AI agents to play through generated content to estimate quality.

30
New cards

What is interactive evaluation?

Evaluating content based on human player interaction or feedback

31
New cards

Navigation meshes replace the need for pathfinding algorithms

False

32
New cards

Waypoint graphs are often defined using line of sight.

true

33
New cards

why are hand-drawn maps not robust to random obstacles

If the environment changes unexpectedly, the roadmap can become invalid or produce strange behaviour. e.g. if the designer draws a path through a hallway, during gameplay a door closes or a wall appears, disrupting the intended navigation which can lead to the agent producing strange behaviour like trying to walk into the walls

34
New cards

hand-drawn maps can be linked with a local planner to avoid strange behaviour by agents when random obstacles occur means that

  • Use hand-drawn roadmap for high-level planning

  • Use local collision avoidance to handle changes