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

[BUG] 2048: Spawn new tile without any valid movements #11

Open
IndieCoderMM opened this issue Jan 12, 2025 · 1 comment
Open

[BUG] 2048: Spawn new tile without any valid movements #11

IndieCoderMM opened this issue Jan 12, 2025 · 1 comment
Labels
bug Something isn't working

Comments

@IndieCoderMM
Copy link
Contributor

Describe the bug
Any key press spawns a new tile without any movement (sliding/merging) of existing tiles.
This allows the player to magically create a new tile which makes the game a lot easier.

Screenshot
It's not obvious but you can see the bug in this gameplay.

20480-bug-demo

Expected behavior
In the original game, a new tile is only spawned after a valid movement.
e.g., In this position, only UP & LEFT keys can spawn a new tile.

image

Additional context
I'm not sure if this is intentional or not.

@IndieCoderMM IndieCoderMM added the bug Something isn't working label Jan 12, 2025
@Kaamkiya
Copy link
Owner

Right, this bug is documented in the code but I forgot to make an issue for it.

I have an idea on how to fix this, but it might take me a little while.

It's not intentional.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants