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

Added Snake Game in Games #151

Closed
wants to merge 4 commits into from
Closed

Conversation

abhayku2002
Copy link

@abhayku2002 abhayku2002 commented Oct 8, 2024

Closes: #145

  • Title: Snake Game
  • Your Name: Abhay
  • Idenitfy yourself: GSSOC ontributor (gssoc-ext)

Describe the add-ons or changes you've made 📃

This Snake Game program is a simple version of the classic Snake game built using Streamlit. This Snake Game is simple, interactive, and demonstrates how you can build dynamic web applications using Streamlit. It allows players to engage directly through a browser interface with real-time feedback.

Give a clear description of what have you added or modifications made
The game grid is a 20x20 board where the snake moves. The game randomly generates a food item on the grid at a location that is not occupied by the snake. The player can control the game's speed using a slider that adjusts the Frames Per Second (FPS).
Displays the game grid, updates the game state, handles user input (direction control), and renders the game on the screen.

Checklist: ☑️

  • My code follows the Contributing Guidelines & Code of Conduct of this project.
  • This PR does not contain plagiarized content.
  • I have performed a self-review of my own code.
  • I have commented my code, particularly wherever it was hard to understand.
  • My changes generate no new warnings.

Screenshots 📷

Screenshot 2024-10-08 125253

Copy link

github-actions bot commented Oct 8, 2024

Thank you for submitting your pull request! We'll review it as soon as possible. For further communication, join our discord server https://discord.gg/tSqtvHUJzE.

@Avdhesh-Varshney
Copy link
Owner

Never commit in main branch

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.

📃: Adding snake game in games section
2 participants