https://github.com/james-p-d/consolesnake
Snake game for Windows console in C/C++
https://github.com/james-p-d/consolesnake
c console-application cpp snake snake-game
Last synced: 2 months ago
JSON representation
Snake game for Windows console in C/C++
- Host: GitHub
- URL: https://github.com/james-p-d/consolesnake
- Owner: James-P-D
- License: mit
- Created: 2021-11-20T14:10:58.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2021-11-21T11:27:27.000Z (over 4 years ago)
- Last Synced: 2025-03-11T17:24:32.370Z (over 1 year ago)
- Topics: c, console-application, cpp, snake, snake-game
- Language: C++
- Homepage:
- Size: 421 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ConsoleSnake
Snake game for Windows console in C/C++

## Introduction
Simple Windows console version of the game [Snake](https://en.wikipedia.org/wiki/Snake_(video_game_genre)).
The red snake can be moved around the screen using the ←, →, ↑ and ↓ buttons to reach the green apple. Each time the snake eats a piece of fruit the tail grows by one cell. The objective of the game is to collect all the fruit without the snake hitting either one of the four walls, or its own tail.