RCRPG/Raku: Difference between revisions

Content deleted Content added
Thundergnat (talk | contribs)
Fix up some internal links
Thundergnat (talk | contribs)
m →‎RCRPG/Raku: Fix syntax highlighting
 
(One intermediate revision by the same user not shown)
Line 1:
{{collection|RCRPG}}
=={{example|task=RCRPG|language=Raku}}==
 
This [[Raku]] version of [[RCRPG]] implements a text interface.
 
Line 24:
==Code==
{{works with|Rakudo|2018.03}}
<syntaxhighlight lang="raku" perl6line>my %commands;
my %rooms;
 
Line 235:
}
%rooms{$room}.greet;
}</syntaxhighlight >
}</lang>