Snake
- 9 Devlogs
- 13 Total hours
A game like snake
A game like snake
🐍 Devlog: Cleaned up my Snake game repository by putting the README.md, Snake.py, save.json, background.mp3, and death.wav files into one main repository. I also fixed the README file name and prepared the repository and demo links for resubmission.
🐍 Devlog #7 – Final Project
In this final session, I finished my Snake game by fixing the last few bugs and making sure all features worked correctly.
✅ Final Changes
. Fixed the restart button and menu navigation.
. Made sure scores save correctly.
. Finished the sound and speed settings.
. Improved the controls and button layout.
. Tested the game and fixed minor bugs.
📝 Reflection
I’m happy with the final result and the game is now complete and ready for submission.
🐍 Devlog #6 – Settings Menu (Sound & Speed)
This update focused on adding and improving the settings menu to give players more control over gameplay, specifically sound and game speed.
⚙️ Settings Menu
I implemented a settings menu where players can adjust key game options instead of everything being fixed in the code.
🔊 Sound Control
I added a sound option that allows players to enable or disable game audio, making the experience more flexible depending on preference.
⚡ Speed Control
I added a speed setting that changes how fast the Snake moves. The speed levels are slow, Normal, fast, and Extreme.
🧭 Menu Integration
The settings menu is fully connected to the main menu and game loop, so changes apply correctly without breaking navigation or gameplay.
🧩 Stability
I made sure settings updates don’t interfere with saving, restarting, or switching between menus.
This might be my last update, unless I do some last minute edits :
🐍 Devlog #6 – Settings Menu (Sound & Speed)
This update focused on adding and improving the settings menu to give players more control over gameplay, specifically sound and game speed.
⚙️ Settings Menu
I implemented a settings menu where players can adjust key game options instead of everything being fixed in the code.
🔊 Sound Control
I added a sound option that allows players to enable or disable game audio, making the experience more flexible depending on preference.
⚡ Speed Control
I added a speed setting that changes how fast the Snake moves. The speed levels are slow, Normal, fast, and Extreme.
🧭 Menu Integration
The settings menu is fully connected to the main menu and game loop, so changes apply correctly without breaking navigation or gameplay.
🧩 Stability
I made sure settings updates don’t interfere with saving, restarting, or switching between menus.
This might be my last update, unless I do some last minute changes tomorrow.
🐍 Devlog #5– Snake Game Update
This update focused on improving the game’s usability and adding a full interactive UI.
✨ What I added
.Clickable menu buttons (New Game, Continue, Controls, Quit)
.Clickable game over buttons (Restart, Menu)
.A controls screen showing keybinds like movement, pause, and turbo
.Support for both keyboard AND mouse input
.Clear button labels that show controls (e.g. “Pause (P)”)
.Improved menu navigation flow
.Wider and easier-to-click buttons
🔊 Audio improvements
.Background music system added
.Music starts at volume 0 and fades in smoothly
.Death sound effect plays when you lose
💾 Game system
.Save and load system using save.json
.High score tracking
.Continue option added from menu
🐛 Bugs fixed
.Fixed crashes from missing menu states
.Fixed input not working in some screens
.Improved game-over handling so it doesn’t freeze
.Fixed snake movement issues after restart
🎯 Next steps
.Add settings menu (sound on/off, speed control)
🐍 Devlog #5 – Polish + Game Improvements
This update focused on improving the overall stability and feel of my Snake game. I fixed several issues in the game logic, including problems with saving the high score, menu flow, and game over handling.
💾 The save system now works properly and keeps the high score between sessions. The menu system has also been cleaned up so restarting or continuing a game no longer causes bugs or resets data incorrectly.
🐍 I also improved the gameplay experience by polishing movement, collision handling, and general game structure. The code is now more stable and easier to manage.
🎮 Overall, the game now feels more complete and consistent, with fewer bugs and smoother transitions between states like menu, gameplay, and game over.
🎵 Next update will include background music and a death sound to improve the game’s atmosphere.
🐍 Devlog #4 – Save System + Progress Update
This update added a full save system to my Snake game, so now the game remembers your progress even after you close it.
💾 What I added
.A save system using JSON files
Automatic saving during gameplay (mid-game autosave)
Saving when:
.You eat food
.You hit game over
.You quit the game
.A working high score system
.Game state saving (snake position, direction, and food position)
🔄 What changed
Now the game doesn’t reset every time you open it. Instead, it loads your last session from a file called save.json.
That means:
.You can close the game anytime
.Open it again and continue where you left off
.Your high score stays saved permanently
⚙️ How it works
The game stores all important data:
.Score
.High score
.Snake body positions
.Direction
.Food location
This data is written into a file using Python’s json module and reloaded when the game starts.
🎮 Result
The game now feels much more like a real game instead of a restart-every-time project. Progress is saved automatically and reliably.
🚧 Next steps
In the next update, I want to improve the game by adding:
.A main menu (Start / Continue / Quit)
.Better visuals or animations
.Possibly sound effects
.Cleaner restart system
🐍 Devlog #3: Snake Game – Game Over Update
I added a Game Over system to my Snake game. Now when the snake hits the wall or itself, the game switches to a Game Over screen and shows the final score.
I also added controls so the player can press R to restart the game or Q to quit. When restarting, the snake, score, direction, and food all reset properly.
I fixed issues where the game would close instead of showing Game Over and made sure the restart system works correctly.
Next, I want to add increasing speed and a high score system.
🐍 Devlog 2 – Snake Game Progress
This week I improved my Snake game made with Python and Pygame. I focused on fixing bugs and making the gameplay smoother.
🔧 What I worked on:
.Adjusted the game speed because it was too fast at first
.Fixed movement and collision issues
.Improved how the snake grows when it eats food
.Cleaned up parts of the code to make it easier to understand
🎮 What works now:
.Snake moves smoothly in all directions
.Food spawns correctly
.Score increases when food is eaten
.Game runs without crashing
⚠️ Problems I faced:
.The game speed felt uncontrollable at first
.Some collision detection bugs made the snake die randomly
🚀 Next steps:
.Add a game over screen
.Add increasing difficulty over time
.Possibly add sound effects or a restart button
🐍 Devlog #1 – Starting My Python Snake Game Today I started my new Python project: Snake I chose Snake because it’s a classic game that most of us have played before So far, I’ve created the project folder, set up my files, and started planning how the game will work. My first goal is to create the game window and get the snake moving smoothly with the arrow keys. Over the next few devlogs, I’ll add food, scoring, game-over detection, and polish the game with better graphics and features.