Repository navigation
Releases
v4.4.1 🎮 Improved Controls and Restart Feature 🔄
This update introduces new controls and improves the gameplay experience for the Snake game!
✨ Key New Features:
-
Arrow Key Controls
- Added support for arrow keys to control the snake, in addition to the existing WASD keys.
-
Game Restart After Losing
- The game now automatically restarts after losing, allowing for seamless replay without needing to restart the application manually.
Enjoy the improved gameplay experience!
📦 Installation
Arch Linux (AUR):
paru -S simple-go-snakeManual:
git clone https://github.com/XPLassal/simple-go-snake.git
cd simple-go-snake
go build -ldflags "-s -w" -o simple-go-snake .v4.4.0 🎮 Improved Controls and Restart Feature 🔄
This update introduces new controls and improves the gameplay experience for the Snake game!
✨ Key New Features:
-
Arrow Key Controls
- Added support for arrow keys to control the snake, in addition to the existing WASD keys.
-
Game Restart After Losing
- The game now automatically restarts after losing, allowing for seamless replay without needing to restart the application manually.
Enjoy the improved gameplay experience!
📦 Installation
Arch Linux (AUR):
paru -S simple-go-snakeManual:
git clone https://github.com/XPLassal/simple-go-snake.git
cd simple-go-snake
go build -ldflags "-s -w" -o simple-go-snake .v4.3.0 🚀 Added more setting to config ⚙️
This update focuses on enhancing configuration and customization options for the classic Snake gameplay!
✨ Key New Features:
-
Classic Food Mode (Single Apple)
- Added the option to enable Classic Mode, where only one piece of food (apple) is allowed on the map at any given time. (Setting: Multi Apple Mode).
-
Wall Pass
- Introduced the ability to configure whether the snake can pass through walls. If enabled, the snake wraps around and reappears on the opposite side of the board instead of triggering a Game Over. (Setting: Allow Wall Pass).
Enjoy the new ways to play!
📦 Installation
Arch Linux (AUR):
paru -S simple-go-snakeManual:
git clone https://github.com/XPLassal/simple-go-snake.git
cd simple-go-snake
go build -ldflags "-s -w" -o simple-go-snake .v4.2.0 🚀 Added FPS setting to config ⚙️
In this release, I added the ability to adjust the game's FPS in the configuration file. 🕹️💨 Enjoy the smoothness!
📦 Installation
Arch Linux (AUR):
paru -S simple-go-snakeManual:
git clone https://github.com/XPLassal/simple-go-snake.git
cd simple-go-snake
go build -ldflags "-s -w" -o simple-go-snake .v4.1.1 Logic Fixes & Modernization 🐍
v4.1.1 - Logic Fixes & Modernization 🐍
This update brings critical logic fixes to the movement system and modernizes the codebase.
🐛 Bug Fixes
- Movement Logic Fix: Fixed a critical bug where the snake's head position was updated before collision checks. Now, the body updates correctly after verifying apple consumption or tail removal.
- Input Handling: Improved responsiveness for WASD controls (
case 'w', 'a', 's', 'd'), ensuring input is processed in sync with the game tick.
🔨 Code Improvements
- Modern Go Syntax: Refactored rendering loops to use the new Go 1.22+
rangeover integers syntax (for i := range n) for cleaner code.
📦 Installation
Arch Linux (AUR):
paru -S simple-go-snakeManual:
git clone https://github.com/XPLassal/simple-go-snake.git
cd simple-go-snake
go build -ldflags "-s -w" -o simple-go-snake .v4.1.0: Logic Optimization 🍎
🚀 Improvements
- Apple Density: Optimized the formula for calculating maximum apples on the screen. Now uses pure integer arithmetic for better readability and performance.
📦 Installation
Arch Linux:
paru -S simple-go-snake
v4.0.1: Desktop Entry Hotfix 🚑
🚑 Hotfix
This release fixes a critical issue with the Linux desktop entry.
- Fixed: The
.desktopfile now correctly points tosimple-go-snakeinstead of the old binary name. - Result: The game now launches correctly from the Application Menu (Wofi, Rofi, GNOME, etc.).
📦 Installation
Arch Linux (AUR):
paru -S simple-go-snakev4.0.0: Rebranding & Full Linux Support 🚀
🚨 Major Update: Rebranding
The project has been renamed from simple-snake-on-go to simple-go-snake.
Please update your bookmarks and git remotes!
✨ New Features
- 🐧 AUR Package: Arch Linux users can now install the game simply via
yay -S simple-go-snake. - 💾 XDG Config Standards: Configuration is no longer stored next to the binary. It now lives in the proper system location:
- Linux:
~/.config/simple-go-snake/config.json - Windows:
%AppData%\simple-go-snake\config.json - macOS:
~/Library/Application Support/simple-go-snake/config.json
- Linux:
- 🪟 Windows Icon: The
.exebuild now includes a native application icon. - 📂 Clean Cleanup: Fixed path logic to ensure smooth installation via package managers.
📦 Installation
Arch Linux (AUR):
paru -S simple-go-snakeOther Systems:
Download the binary below or build from source.
v3.1.2: Config Logic Hotfix & Icons 🐍
🐧 Linux Improvements
- Standard Config Paths: Settings are now saved in
~/.config/simple-snake-on-go/instead of the binary folder. This fixes permission issues when installed via AUR.
🪟 Windows Improvements
- Icon: The
.exenow includes the game icon natively. - Path: Configs are saved in
%AppData%\simple-snake-on-go\.
📦 Installation (Arch Linux)
paru -S simple-snake-on-gov3.1.1: Config Logic Hotfix 🚑
This patch fixes a critical crash that occurred on the very first launch of the game.
🐛 Bug Fixes
- Fixed Crash on First Run:
- Addressed a
nil pointer dereferencepanic that happened when creatingconfig.jsonfor the first time. - The configuration wizard now correctly initializes and returns the settings object to the main game loop.
- Addressed a
🎮 How to Play
Download the binary for your system below (Assets section).