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

Flipboard functionality does not work #13

Open
Ayushpatel2026 opened this issue Aug 22, 2024 · 0 comments
Open

Flipboard functionality does not work #13

Ayushpatel2026 opened this issue Aug 22, 2024 · 0 comments

Comments

@Ayushpatel2026
Copy link

There is a bug in the code that does not allow the user to flip the board properly. This is because in the drawBoard method, the boardDirection.traverse is used to get the boardtiles based on direction. However, when the board is in flipped direction, and boardDirection.traverse is called, the board is flipped once more. Hence, each time we click on the board, the board is flipped when it is the flipped direction.

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

No branches or pull requests

1 participant