Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error in test_loop_fork.txt data for adventure traversal #773

Open
chazkiker2 opened this issue Apr 9, 2021 · 0 comments
Open

error in test_loop_fork.txt data for adventure traversal #773

chazkiker2 opened this issue Apr 9, 2021 · 0 comments

Comments

@chazkiker2
Copy link

chazkiker2 commented Apr 9, 2021

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}],
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant