I have finally made my own video game. It is basically a Tetris clone with a few features. I add new features to it occasionally. There are two versions of it: Long Boi and Chaste Tris.
Long Boi is a Tetris clone that I wrote which contains only the long block. Because of this, it's simpler to code than standard Tetris but at the same time is a complete game.
Chaste Tris is much more of a Tetris clone than even Long Boi. The blocks are not really random but it still allows for holding pieces as most modern Tetris games do.
The same source code files required to compile both games are all available here:
main.c
makefile
chastity_tetris.h
chastity_tetris_moves.h
gl_bbmio.h
gl_ftgl.h
readme.txt
Technically not all functions in those source files are even being used. A much smaller and cleaner version of the code is possible, although it would run identically to how it does now. I could easily talk for hours about all the details of the code and I will make more videos as I find time.
All graphics are done with the glfw library, legacy opengl, and ftgl for rendering the fonts. As such, it's no easy task to install all the required tools unless you're running Linux and have a package manager that can install them with a few commands. The makefile contains the commands required to compile on Linux or inside msys2 running under Windows. Most of the development was done on Ubuntu Linux because it is a lot easier to compile C code.
I have a playable Windows version available to download as well. The archive contains two executables and the required DLL files for them to run. Please try it out and let me know if you like the game.