Pop-Up Thingie
Sidebar
>>> Magnum BBS <<<
Home
Forum
Files
Dark
Log in
Username
Password
Sidebar
Forum
Usenet
COMP.LANG.PROLOG
FUN PROLOG GAME IN 20 LINES!
From
Graham Cooper
@21:1/5 to
All
on Mon Jul 19 03:41:18 2021
Using S.T.R.I.P.S
Stanford Research Insitute Planning Solver
(dont bother doing the AI search to grab bananas , find locations avoiding others)
TRY TRACING OUT MOVE banana A
--------------------
Most STRIPS use 3 MODES
PRE: inhand(banana)
ADD: inhand(sword)
DEL: inhand(banana)
I added:
VOID: locked(room)
PRE: at(corridoor)
PLAN: subcall to primitives go,grab,drop
ADD
DEL
at base me
at base sword
at forrest dragon
con start fin
con base tunnel
con base castle
con castle river
con river tunnel
con tunnel forrest
locked tunnel
strips go pre at zz3 zzp
strips go pre con zz33 zz1
strips go void locked zz1
strips go del at zz33 zzp
strips go add at 1 zzp
strips grab pre at zz3 zzp
strips grab pre at zz33 zz1
strips grab del at zz33 zz1
strips grab add at hand zz1
strips drop pre at zz3 zzp
strips drop add at zz33 zz1
strips drop del at zzhand zz1
strips move plan grab zz2
strips move plan go zz1
strips move plan drop zz2
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)
Who's Online
System Info
Sysop:
Keyop
Location:
Huddersfield, West Yorkshire, UK
Users:
489
Nodes:
16 (
2
/
14
)
Uptime:
11:48:34
Calls:
9,665
Files:
13,712
Messages:
6,167,468