Thanks to visit codestin.com
Credit goes to github.com

Skip to content

aymanamkassou/Snake-Game-using-C-and-linked-lists

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Snake Game

This repository contains a simple implementation of the classic Snake game using C programming language. The game allows the player to control a snake and navigate it around the grid to eat prey while avoiding collisions with itself.

Features

  • User input for controlling the snake's direction (N - North, S - South, E - East, W - West).
  • Randomly generated prey on the grid.
  • Game over condition when the snake collides with itself.
  • Display of the game grid showing the snake, prey, and empty spaces.

Contributing

Contributions are welcome! If you have any ideas, bug fixes, or improvements, please submit a pull request.

License

This project is licensed under the MIT License. See the LICENSE file for more details.

Acknowledgments

  • The implementation is inspired by the classic Snake game.

Feel free to provide feedback or suggestions to improve this project. Happy gaming!

About

Snake Game terminal implementation using linked lists and C

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages