RTetris is a Tetris clone by Richard Regeer. This is the first game I have developed in C++. I created this project to learn C++ back in 1999.
It's written for DOS and using the Allegro game library. When you take a look at the source code, keep in mind all the comments are in my native language (dutch). Thats what I did back in 1999.
I found the source code in my archive and thought it will be nice to share it and preserve a part of my personal history.
The game can still be played using DOSBox
The game requires DOS to run. To be able to run it on a modern operating system, DOSBox can be used.
For the examples I will use ~/games/rtetris
as installation directory.
wget https://github.com/richardregeer/rtetris/archive/2.0.2.zip -O rtetris.zip \
&& unzip rtetris.zip -d ~/games \
&& mv ~/games/rtetris-2.0.2/ ~/games/rtetris \
&& rm rtetris.zip
Ubuntu
sudo apt install dosbox
Homebrew Mac OS-X
Make sure homebrew is installed.
brew install dosbox
Download
Download Dosbox and install it manually.
~/games/rtetris/RTetris.sh
Move Left :Left arrow
Move Right :Right arrow
Down :Down arrow
Rotate :Space
Pause game :'p'
Help :F1
Quit :Esc
To reset the highscores delete the highs.dat
and restart RTetris. RTetris will create a new default highscore dat file.
RTetris will autodetect your soundcard, if no soundcard is detected sound will be disabled. A Sound Blaster Live card is not supported.
Did not investigate if the code can still be compiled with modern compilers. I developed the code and compiled it using DJGPP back in 1999.