Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: Tetris Clone :P  (Read 3061 times)

0 Members and 1 Guest are viewing this topic.

Powereleven

  • Newbie
  • *
  • Posts: 36
    • View Profile
Tetris Clone :P
« on: July 07, 2018, 06:07:12 pm »
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-Clone

Feedback would be nice :)

verdog

  • Newbie
  • *
  • Posts: 25
    • View Profile
    • Email
Re: Tetris Clone :P
« Reply #1 on: July 11, 2018, 08:38:47 pm »
Nice!! I like the custom pieces.

 

anything