Fortran Fun

April 13, 2024 · View on GitHub

A collection of text-based computer games and other small programs written in Fortran. See FORTRAN Computer Games for further descriptions.

Overview

DirectoryLanguageDescription
src/acey/F2018Acey Ducey card game.
src/acey77/F77Acey Ducey in FORTRAN 77.
src/amazing/F2018Maze generator.
src/buzzword/F2018Phrases generator.
src/delmar/F77Horse race simulation ported from FORTRAN IV.
src/donut/F77Spinning ASCII donut.
src/french/F77French variant of hangman game.
src/hamurabi/F2018Ancient city management game.
src/hamurabi77/F77FORTRAN 77 version of Hamurabi.
src/guess/F77Guess a number game.
src/jackpot/F77Slot machine.
src/magic8/F77Fortune telling.
src/oregon/F77Oregon Trail in FORTRAN 77.
src/penney/F77Source port of Penney’s Game.
src/pi/F77Spigot algorithm for the digits of Pi.
src/rock/F2018Rock, Paper, Scissors against the computer.
src/rock77/F77FORTRAN 77 version of Rock, Paper, Scissors.
src/rot13/F77Basic Rot-13 encoder/decoder.
src/russian/F2018Virtual revolver.
src/russian77/F77Virtual revolver in FORTRAN 77.
src/wumpus/F77Hunt the Wumpus.

Build Instructions

Just execute the Makefile:

$ make

Overwrite the argument FC to switch the Fortran compiler:

$ make FC=ifx

Licence

ISC