Skip to content

Satyam19946/Snake

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

Snake

A code for the classic snake game in C++.

The code uses basic C++ concepts like iteration and decision making. The program is divided into functions -

  1. Prints the area for the snake to move in and the fruit
  2. Takes input from the user
  3. Checks if the snake has crashed into its own tail and accordingly increment the snake's length or end the game.

About

A code for the classic snake game in C++.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages