Tetris on Fortran using Ncurses

less than 1 minute read

TETRIS for FORTRAN by Lewis B and Michael Hirsch, Ph.D.

Lewis B created a Tetris clone in Fortran using Ncurses. I cleaned up the Fortran code, moving it to modern Fortran 2003+ style from Fortran 77 and added command line options.

Ncurses clears the screen on each loop and redraws. This occurs about every 10 ms and the CPU load is very low.

It would be trivial to add color and the like.

Leave a Comment