Skip to content

feat: add Snake Game in C++#585

Open
tpncoder wants to merge 1 commit into
josharsh:masterfrom
tpncoder:master
Open

feat: add Snake Game in C++#585
tpncoder wants to merge 1 commit into
josharsh:masterfrom
tpncoder:master

Conversation

@tpncoder

Copy link
Copy Markdown

Snake Game

A simple CLI snake game written in C++

What This Adds

A new Snake-Game/ directory containing:

  • main.cpp - The main application (under 100 lines)
  • README.md - Documentation with usage instructions

Features

  • Responsive movement of snake
  • Game logic with game over on hitting itself
  • Cross-platform compatibility
  • No external libraries

Usage

g++ -g ./main.cpp -o ./main.exe
./main.exe

@github-actions github-actions Bot added documentation Improvements or additions to documentation cpp labels Jul 19, 2026
@tpncoder tpncoder changed the title Add: Snake Game feat: add Snake Game in C++ Jul 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cpp documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant