Closed ShrishtiSingh26 closed 2 hours ago
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 resolved the raised issues in PR #117
Closes: Issue #112
Describe the add-ons or changes you've made π
Give a clear description of what have you added or modifications made Key Points: Game State Management: All the game state (snake, food, direction, etc.) is stored in st.session_state to persist across user actions. Grid Display: The game grid is displayed using emojis (π© for the snake and π for the food), but you can customize this. Movement Control: The player controls the snake with W, A, S, D keys via Streamlit buttons. Game Logic: The snake moves, eats food, grows, and checks for collisions with walls or itself. Restart Option: A restart button re-initializes the game state.
Checklist: βοΈ
Screenshots π·