Execute SNUSP/D: Difference between revisions

m
<lang>
m (<code> uh oh...double backslash problem)
m (<lang>)
Line 25:
:::==a^A&lt;=cp==B^==&lt;=C^==
::when the code pointer cp heading into A's^, next turn, the code pointer will be in C. if no such ^ in the reverse direction, the code pointer will be in ''a'' next turn.
<lang d>
<code d>module snud ;
private import std.string, std.random ;
 
Line 210 ⟶ 211:
private char[char] acceptCmd ;
private uint Id = 0 ;
}
}</code>
</lang>
Sample SNUSP using a console io :
<lang d>
<code d>module rcsnusp ;
import snud ;
import std.stdio, std.file, std.conv ;
Line 263 ⟶ 266:
 
return result ;
}
}</code>
</lang>
973

edits