Skip to content

🚀 Enhance Snake Game: Pause Feature, Countdown Timer, Levels & Sound + Bug Fix#506

Merged
steam-bell-92 merged 8 commits into
steam-bell-92:mainfrom
rashiaggarwal06:main
May 20, 2026
Merged

🚀 Enhance Snake Game: Pause Feature, Countdown Timer, Levels & Sound + Bug Fix#506
steam-bell-92 merged 8 commits into
steam-bell-92:mainfrom
rashiaggarwal06:main

Conversation

@rashiaggarwal06
Copy link
Copy Markdown
Contributor

📝 Description

This PR enhances the Snake Game by fixing a critical gameplay issue and adding multiple interactive features.

🔧 Bug Fix

  • Fixed food spawning logic — food will no longer appear on the snake's body.

🚀 New Features Added

  • ⏸️ Pause functionality (toggle using P key)
  • ⏳ Countdown before game starts (3 → 2 → 1 → GO)
  • 🎯 Level progression system (speed increases with score)
  • 🔊 Sound effects for food consumption and game over events

These changes improve gameplay experience, responsiveness, and overall user interaction.


🔗 Linked Issue

Closes #434


📋 Contribution Checklist

  • My code strictly adheres to the project guidelines (Standard library only, procedural code, clean spacing).
  • I have verified that my files are placed in the correct directory.
  • I have tested my changes thoroughly on my local machine.
  • I have included interactive emojis and clean console/UI outputs.
  • GSSoC 2026: I have been formally assigned to this issue and noted it above.

@vercel
Copy link
Copy Markdown

vercel Bot commented May 20, 2026

@rashiaggarwal06 is attempting to deploy a commit to the Anuj's projects Team on Vercel.

A member of the Team first needs to authorize it.

@steam-bell-92 steam-bell-92 merged commit 6d848b0 into steam-bell-92:main May 20, 2026
3 of 4 checks passed
@github-actions
Copy link
Copy Markdown
Contributor

🎉 Thank you for your contribution!

Your Pull Request has been merged successfully.

We appreciate the time and effort you put into improving this project. Contributions like yours help the repository grow and stay useful for everyone.

If you'd like to contribute again, please check the open issues and make sure you are assigned before opening another Pull Request.

Thanks again for your support! 🙌

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature] Improve Snake Game Functionality, Controls, Sound Effects and UI Experience

2 participants