A snake game developed in C++ using Visual Studio 2022
External library used: Raylib,
Dear ImGui,
rlImGui
- Dual difficulty modes. In Hard mode random obstacles are generated and the snake speeds up as it grows
- High-impact explosion effects and screen shake upon collision
- Built-in 6 background tracks, supports:
- Space: Pause / Resume
- A / D: Previous / Next track
- W / S: Volume adjustment (±10%) with normalized initial levels
(Notice: I've already adjusted the initial volume accroding to the source file)
- Highest scores for both modes are automatically saved to a local folder
Give it a try now! 👉: Download
- raylib and imgui: vcpkg
- rlimgui:
- Make sure you have installed imgui first
- Clone the library: rlImGui, move the entire folder under the project folder
- In Visual Studio, right-click the project, select "Properties", select "C/C++", select "General", and add the folder in "Additional Include Directories"


