Skip to content

Conversation

KRiSHnA88H
Copy link

Description of Change

Added a Snake game implementation in C under the games/ folder.

  • Fully playable game in the terminal.
  • Implements movement, food spawning, growth, and game-over conditions.
  • Uses simple board rendering with characters (#, O, *) for clarity.
  • Includes comments and modular functions for readability and learning purposes.

References

  • Inspired by the classic Snake arcade game.
  • No direct duplicate found in games/.

Checklist

  • Added description of change
  • File name matches File name guidelines
  • Added example usage (main() with play loop)
  • Relevant documentation/comments added
  • PR title follows semantic commit guidelines
  • Search previous suggestions before making a new one, as yours may be a duplicate
  • I acknowledge that all my contributions will be made under the project's license.

Notes: Added file games/csnake.c with playable Snake game implementation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant