RCRPG/PureBasic: Difference between revisions

m
Fixed syntax highlighting.
m (code comment correction)
m (Fixed syntax highlighting.)
 
(One intermediate revision by one other user not shown)
Line 3:
 
An additional command 'ask' was implemented for providing hints in finding the randomly placed Prize Room. The program also allows the stacking of commands if they are separated by a space (i.e. 'take all equip sledge a north n' will perform four actions: take all, equip sledge, [a]ttack north, [n]orth).
 
<lang PureBasic>;Here is a description of all of the commands:
A simple outlay of the play strategy is: Take and equip a sledge. Get some gold to ask for hints (from the program) and move a ladder into a room to go up if necessary and attack walls to make exits.
<langsyntaxhighlight PureBasiclang="purebasic">;Here is a description of all of the commands:
;
;north
Line 857 ⟶ 859:
display(#CR$ + #CR$ + "Press ENTER to exit"): Input()
CloseConsole()
EndIf </langsyntaxhighlight>
9,476

edits