/CPlusPlus-SDL2-SnakeGame

Classic Snake Game, developed with Visual C++ 2022 and SDL2 Library

Primary LanguageCApache License 2.0Apache-2.0

Snake Game

This is a classic Snake Game, it was Developed with Visual C++ 2022 with the follow libraries:

  1. SDL2 Library 🏛️
  2. SDL2 Mixer (Music & Sounds 🎵)
  3. SDL2 TTF (Fonts) ✍️
  4. SDL2 Image 📷

Playing 🎮

  1. Begin the game pressing any arrow key ⬅️ ⬇️ ⬆️ ➡️
  2. Snake 🐍 must eat each red square 🟥.
  3. It grows up every time eat a 🟥.
  4. 🐍 can go outside the limit of screen.
  5. Every time it eats 10 🟥, the game advance next level and increase the speed.
  6. Must pass 10 levels to win 👏
  7. Lost if 🐍 bites itself 😞

1

1

Don't forget to config Visual Studio with all Libraries required

1

Do you want to run it without Visual Studio?

Run it ..\Debug\appSDL.exe 🏃‍♂️

Feel free to improve it!



**knowledge belongs to humanity**, *Pascal*