Remote agent/Agent logic/PicoLisp: Difference between revisions

m
Fixed syntax highlighting.
m (Improper use of implementation template--that's for languages, not tasks)
m (Fixed syntax highlighting.)
 
Line 1:
This is the client for [[Remote agent/Agent logic]]. For the server, see [[Remote agent/Simulation#PicoLisp]].
<langsyntaxhighlight PicoLisplang="picolisp"># Global variables:
# '*Sock' is the TCP socket to the server
# '*Dir' is a circular list of direction structures
Line 182:
(pack " "
(: field)
(if (: ball) (lowc @) " ") ) ) ) )</langsyntaxhighlight>
Output:
<pre>: (gameClient "picolisp.com" 54545)
9,476

edits