Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tetris Gameplay #3

Closed
kmeranda opened this issue Apr 30, 2016 · 5 comments
Closed

Tetris Gameplay #3

kmeranda opened this issue Apr 30, 2016 · 5 comments

Comments

@kmeranda
Copy link
Owner

No description provided.

@kforbes
Copy link
Collaborator

kforbes commented May 1, 2016

Board size is 10x20 squares, and 260x520 pixels. Each individual colored square is 24x24 pixels with a black border of 26x26 pixels.

@kforbes
Copy link
Collaborator

kforbes commented May 1, 2016

Arrays are read self.array[y][x] for y in height and x in width (array of rows)

@kforbes
Copy link
Collaborator

kforbes commented May 2, 2016

tetrominoes
This is the image I'm using as a basis for what our shape configurations should look like/what colors to use.
Except J is blue (I is teal) instead of pink bc I like that better and I saw that more often on images, but I picked this one since it had the letters with them.

@kmeranda
Copy link
Owner Author

kmeranda commented May 2, 2016

For clearing a full row, use del arr[i], where i is the full row that is being deleted. This moves everything above it down an index. Then use arr.append([0,0,0,0,0,0,0,0,0,0]) to maintain the correct number of rows in the array.

@kforbes
Copy link
Collaborator

kforbes commented May 2, 2016

ToDo:

  • Delete complete rows
  • Losing
  • Debug rotate
  • Debug move

@kmeranda kmeranda closed this as completed May 4, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants