Remote agent/Simulation/C: Difference between revisions

m
Fixed syntax highlighting.
mNo edit summary
m (Fixed syntax highlighting.)
Line 3:
 
;<nowiki>server.c:</nowiki>
<langsyntaxhighlight lang="c">#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
Line 612:
if (dir == c_cw)
if (++agent.facing > 3) agent.facing = 0;
}</langsyntaxhighlight>
9,476

edits