It is much better building games on the Pinephone, if you have the Rii keyboard - 8Bitdo phone holder.
https://forum.pine64.org/showthread.php?...#pid126315
Ski jumping game in the terminal:
https://github.com/mihneabuz/AsciiJump
$ sudo apt install build-essential
$ sudo apt install libncurses-dev
$ unzip AsciiJump-master.zip
$ cd AsciiJump-master/
$ make
$ ./asciijump
Other terminal games you can try to get working:
https://ligurio.github.io/awesome-ttygames/
Classy sidescrolling game in X:
https://github.com/lvella/xevil
$ sudo apt install libxpm-dev
$ unzip xevil-master.zip
$ cd xevil-master/
$ make HOSTTYPE=arm
$ ./x11/REDHAT_LINUX/xevil
Visual memory game in Qt:
https://github.com/0x464e/pairs_gui
$ sudo apt install qtbase5-dev
$ unzip pairs_gui-master.zip
$ cd pairs_gui-master/
$ qmake -makefile
$ make
$ ./pairs_gui
Clever chess game in SDL:
https://sourceforge.net/projects/mpchess/
$ sudo apt install libsdl1.2-dev
$ tar zxvf mpchess-1.2.2.tar.gz
$ cd mpchess-1.2.2/
$ ./comp
$ ./chess
Basic pong with no acceleration in SDL:
https://github.com/nathan242/sdl-pong
$ sudo apt install libsdl1.2-dev libsdl-image1.2-dev
$ unzip SDL-pong-master.zip
$ cd SDL-pong-master/
Edit makefile
2 g++ -o pong pong.o physics.o -lSDL -lSDL_image
$ make
$ ./pong
Hilarious volleyball game in SDL:
https://packages.debian.org/bullseye/gav
$ sudo apt install libsdl1.2-dev libsdl-image1.2-dev libsdl-net1.2-dev libsdl-mixer1.2-dev
$ tar zxvf gav_0.9.0.orig.tar.gz
$ gunzip gav_0.9.0-3.diff.gz
$ mkdir gav-0.9.0/debian
$ patch -p0 < gav_0.9.0-3.diff
$ cd gav-0.9.0/
$ make -f Makefile.Linux
$ ./gav