Jump to content

Hunt the Wumpus: Difference between revisions

m
→‎{{header|FORTRAN}}: corrected language name -> Fortran and syntax hihjlighting
m (→‎{{header|Wren}}: Minor tidy)
m (→‎{{header|FORTRAN}}: corrected language name -> Fortran and syntax hihjlighting)
Line 1,402:
</syntaxhighlight>
 
=={{header|FORTRANFortran}}==
This code names rooms by alphabetic character, thereby making use of index function and simplifying the input to single characters. Compiled with gfortran, source compatible with FORTRAN 2008. You're welcome to move this content to a separate webpage.
Makefile
Line 1,424:
</syntaxhighlight>
The paint subroutine is a place-holder where is envisioned to place additional symbols representing possible hazards and determined hazards. With ANSI graphics or actual pictures. Source:
<syntaxhighlight lang="f08fortran">
! compilation, linux. Filename htw.f90
! a=./htw && make $a && $a
3,043

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.