Remote agent/Agent logic/PicoLisp: Difference between revisions

m
Fixed syntax highlighting.
(Initial version)
 
m (Fixed syntax highlighting.)
 
(One intermediate revision by one other user not shown)
Line 1:
{{implementation|This is the client for [[Remote agent/Agent logic}}]]. For the server, see [[Remote agent/Simulation#PicoLisp]].
<langsyntaxhighlight PicoLisplang="picolisp"># Global variables:
This is the client. For the server, see [[Remote agent/Simulation#PicoLisp]].
<lang PicoLisp># Global variables:
# '*Sock' is the TCP socket to the server
# '*Dir' is a circular list of direction structures
Line 183 ⟶ 182:
(pack " "
(: field)
(if (: ball) (lowc @) " ") ) ) ) )</langsyntaxhighlight>
Output:
<pre>: (gameClient "picolisp.com" 54545)
9,476

edits