Closed nathanmartins closed 8 years ago
I'm not seeing this branch, did you push it? Yout must call print_list(List) from the scope where the list you wanna print is. As far as I know L is not global.
Which list is the Global List then?
there is no global list, the global ""list"" is the database
the L list is only used during the world generation and is stored as the "ww_initial_state()" predicate in the database
"ww_initial_state(List),print_list(List)." should print the list as it was stored in the database
Implemented code from print_list.pl into wumpus_world.pl into branch NSS and code won't print list items. Am I doing something wrong?