The moveLeft() method is implemented, but there are still 3 other methods. Let's implement them as follows:
if we need to move tiles
down, we take our gameField matrix, rotate it 90 degrees clockwise (so the bottom becomes the left edge),
shift to the left, and rotate the matrix back (rotate clockw
2048 (Part 11/18)
- 3
Locked
Comments
- Popular
- New
- Old
You must be signed in to leave a comment
This page doesn't have any comments yet