
Small Terminal Tetris Game
Hey guys, I have been going through learncpp and paused at the array section because I thought it would be a good place to stop and make a small project to reinforce the concepts that I have read about up to this point. I made a small tetris game and want some feedback on the quality of the code. I am pretty inexperienced in things like code quality and readability as I am a beginner and wanted some critique. It is a naive implementation and I am just using a 2D array to represent the board as performance really isn't my primary concern. All core mechanics such as board collisions, complete lines, and game end are present but there is only one piece. I added only one of the 7 pieces because I solved the problem I was trying to solve and adding the other pieces is a trivial change. The github of the project is linked below. The binary of the project that is in the releases section was built on macos.