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

Snake Game Feedback #848

Closed
OlegSchwann opened this issue Nov 27, 2021 · 6 comments
Closed

Snake Game Feedback #848

OlegSchwann opened this issue Nov 27, 2021 · 6 comments

Comments

@OlegSchwann
Copy link
Contributor

What are you want to add or change

#829 was merged, but since this is the first game, it's not perfect of the box. I have heard some notes about unintuitive timings. As an author who knows the inner workings, I can't see by the user's eyes myself.

What questions do you have

Please tell us about your impressions when you first ran the game. What did you expect that didn't come true? Each of us has some kind of experience, where did I not guess it?

@OlegSchwann
Copy link
Contributor Author

OlegSchwann commented Dec 6, 2021

I asked people: it must not drop button presses. They should be queued up and applied sequentially at a point suitable for turning, not overwritten like they are now.

case InputKeyUp:
snake_state->nextMovement = DirectionUp;
break;
case InputKeyDown:
snake_state->nextMovement = DirectionDown;
break;
case InputKeyRight:
snake_state->nextMovement = DirectionRight;
break;
case InputKeyLeft:
snake_state->nextMovement = DirectionLeft;
break;

I need to correct that.

@LionZXY
Copy link
Member

LionZXY commented Dec 6, 2021

Two main ways to improve snake game:

  • Increase snake grid
  • Store all pressed button in local storage and repeat it in this order

@OlegSchwann
Copy link
Contributor Author

Some discussion here
https://t.me/flipperzero/4248

@karasevia
Copy link

Difficult, inconvenient, not intuitive, absolutely minimalistic, there is not even a table of records.
And it's perfect!!!
Please don't change anything

@zhovner zhovner removed the discussion label Dec 7, 2021
@anna-oake
Copy link
Member

Closing the stale issue.

@JulyIghor
Copy link

Wrong keys behavior. If you press fast, previous direction ignored.
It is need to be a key press queue.
Good example is here https://www.googlesnake.com

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

6 participants