Skip to content

error in test_loop_fork.txt data for adventure traversal #773

@chazkiker2

Description

@chazkiker2

Error in Seed Data test_loop_fork.txt

Description

The test_loop_fork.txt seed data file in src/projects/adventure/maps/test_loop_fork.txt has an error in its adjacency list.

The printed map looks like so:

preview of printed test_loop_fork map

As you can see, room 008 and room 009 are connected. However, the adjacency list in test_loop_fork.txt has the following values at keys 8 and 9:

{
  # ... other keys omitted
  8: [(1, 5), {'e': 7}],
  9: [(1, 4), {'n': 8, 's': 10}],
}

The adjacency list should be corrected to have the following entry at key 8 so that room 8 will reflect its southward connection to room 9

{
  # ... other keys omitted
  8: [(1, 5), {'e': 7, 's': 9}],
}

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions