Comment on Game Programming in PrologComments−rustman1231yI admit to not having that much experience in prolog, but I'm having a hard time translating the time parameter `[n]` into executable prolog. Anyone got a clue?−upghost1ythat is prolog pseudocode. You would probably use the lists:nth/3 predicate.https://www.scryer.pl/listsMarkus Triska has probably the best resources on modern Prolog.Just search for "Power of Prolog" on YouTube or the internets.
Comments
I admit to not having that much experience in prolog, but I'm having a hard time translating the time parameter `[n]` into executable prolog. Anyone got a clue?
that is prolog pseudocode. You would probably use the lists:nth/3 predicate.
https://www.scryer.pl/lists
Markus Triska has probably the best resources on modern Prolog.
Just search for "Power of Prolog" on YouTube or the internets.