1. 13
  1.  

  2. 1

    The tetris game written by Q. Alex Zhao that is shown on the screen shots caught my interest. The source code archive tetris.3.2.1.tar.gz is still served by a public FTP.

    The included Makefile is totally outdated, and imake failed to create a new one, but compiling the sources manually just works fine:

    $ cc -I/usr/local/include -L/usr/local/lib -o tetris \
      tetris.c utils.c playing.c -lX11 -lXaw
    

    The default bitmap fonts loaded by the game are unfortunately long gone. Thankfully, the author lets us select the fonts:

    $ ./tetris -v                            
                     GENERIC TETRIS V3.2.1
    Copyright (C) 1992-95      Q. Alex Zhao, azhao@cc.gatech.edu
         GENERIC TETRIS comes with ABSOLUTELY NO WARRANTY.
    
    Usage: ./tetris [-s] [-l <starting level>]
       [-p <prefilled rows>] [-plain] [-showNext] [-beep] [-u <name>]
       [-display <display>] [-geometry <geometry>] [-iconGeometry <icon geometry>]
       [-fg <foreground>] [-bg <background>] [-bigFont <font>] [-tinyFont <font>]
       [-xrm <resource specifications>]
    

    So, Generic Tetris still runs like in 1995:

    $ ./tetris  -bigFont fixed -tinyFont fixed
    
    1. 1

      The linked digiater site also had the source code. How cool that it still works and compiles. Do you have a modern screenshot you could show?

      1. 1

        Looks quite the same, even the window decorations, as Iʼm running Fvwm.