Hi forums
I decided to make a Tetris Clone, because it is considered a beginner project and I had never tried to do it. I know there are hundreds of Tetris Clones out there, so I made mine a bit different. Every piece has a square as its bounding box (rectangles would mess up the rotations) and they are read from a Pieces.txt file. So I can set pieces in this format:
0 1 0
0 1 0
0 1 0
1 1 1
0 1 0
0 1 0
1 1
1 1
In which the piece must be a square.
I know it's not optimized because I didn't worry about it, since Tetris is by itself a very light game.
Source:
https://github.com/Powereleven/Tetris-CloneFeedback would be nice