Click here to Skip to main content
15,884,298 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
:- dynamic ([
	     agent_location/1,
	     gold_location/1,
	     pit_location/1,
	     time_taken/1,
	     score/1,
	     visited/1,
	     visited_cells/1,
	     world_size/1,
	     wumpus_location/1,
             isPit/2,
             isWumpus/2,
             isGold/2
	    ]).


What I have tried:

I am trying to modify a Wumpus.pl program but first I am trying to understand the code.
If someone knows tell me please.
Posted
Updated 20-Jun-20 2:57am
Comments
Garth J Lancaster 20-Jun-20 7:09am    
I have not a clue what you're talking about, and without a minimum sample of the code causing concern/under question, I dont know what you expect from (us).. please use "Improve question" and elaborate what code you are referring to and what you mean by 'why to divide to numbers in dynamic'
[no name] 20-Jun-20 10:16am    

1 solution

 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900