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

Increase Snake Speed when Eating Food #2

Open
ANKITy102 opened this issue Mar 14, 2024 · 1 comment
Open

Increase Snake Speed when Eating Food #2

ANKITy102 opened this issue Mar 14, 2024 · 1 comment

Comments

@ANKITy102
Copy link
Contributor

ANKITy102 commented Mar 14, 2024

Description:

Currently, the Snake game maintains a constant speed throughout gameplay, regardless of the snake's actions. To introduce dynamic gameplay and add a level of challenge, implement a feature where the speed of the snake increases each time it consumes food. This will make the game progressively more difficult as the snake grows longer and moves faster.

Tasks:

  • Implement logic to increase the speed of the snake by 0.1 units when it consumes food.

Resolution:

Solve the tasks outlined above and submit a pull request referencing this issue ID (#ISSUE_ID) with a screenshot or video demonstrating the implemented feature.

@sulfur05
Copy link

Hey @ANKITy102 please assign me this issue

NotVishesh added a commit to NotVishesh/snake-game-js that referenced this issue Mar 15, 2024
In this Snake game implementation, a dynamic speed increment feature has been introduced to enhance gameplay dynamics. When the snake consumes food, its speed increases by a fixed increment of 0.1 units, adding an element of challenge and excitement to the gameplay experience.
sanchitapatel29 added a commit to sanchitapatel29/snake-game-js that referenced this issue Mar 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants