Skip to content

This is a simple Snake clone created in C++ using the console.

Notifications You must be signed in to change notification settings

BodenMcHale/Snake-CPlusPlus

Repository files navigation

Snake

The player controls a snake, which roams around in the console, picking up food, trying to avoid hitting its own tail or the edges of the playing area. Each time the snake eats a piece of food, its tail grows longer, making the game increasingly difficult. The user controls the direction of the snake's head (up, down, left, or right), and the snake's body follows.

Screenshots

image (Example of gameplay)

image (Example of game over screen)

Watermark

To remove the www.LostRabbitDigital.com watermark from the game, edit the string on line 133.

  Ln 133    wsprintf(&screen[screenWidth + 38], L"www.LostRabbitDigital.com - Snake - Score: %d", score);

About

This is a simple Snake clone created in C++ using the console.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages