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

Add counterclockwise rotation #29

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Add counterclockwise rotation #29

wants to merge 1 commit into from

Conversation

siers
Copy link

@siers siers commented Sep 16, 2023

Add counterclockwise rotation

The default rotation is now clockwise¹. In the help widget, it now says: RotateR with k/↑, RotateL with g.

1 - both tetris.com and tetris.fandom.com/wiki/Tetris_Guideline use cw rotation for up

The default rotation is now clockwise¹. In the help widget, it now says: RotateR with k/↑, RotateL with g.

1 - both tetris.com and [tetris.fandom.com/wiki/Tetris_Guideline](https://tetris.fandom.com/wiki/Tetris_Guideline) use cw rotation for up
@siers siers changed the title Add counterclockwise rotation, rotate Is¹ Add counterclockwise rotation Sep 16, 2023
@siers
Copy link
Author

siers commented Sep 16, 2023

Removed rotation of Is, because the horizontal orientations were horizontally displaced by a single pixel, which is wrong and that would require more elaborate of a fix (either moving origin, rotation code with edge cases or a static list of rotation coords).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant