Skip to content

A classic Snake Game built using the Godot Engine. This project serves as a beginner-friendly introduction to game development with Godot, showcasing concepts like scene instancing, grid-based movement, and simple game mechanics. It is fully customizable and can be used as a foundation for more advanced projects.

License

Notifications You must be signed in to change notification settings

Princekashyap2024/snake-game-using-godot-engine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🐍 Snake Game

A classic Snake Game built using the Godot Engine.


🎮 Features

  • Dynamic, grid-based snake movement.
  • Randomly generated food with growth mechanics.
  • Collision detection for game-over logic.
  • Dynamic score display and responsive UI.
  • Restart functionality for endless fun.

🛠️ Technologies Used

  • Godot Engine 4.x: For building the game.
  • GDScript: For scripting game logic.
  • PackedScene: For instantiating snake segments dynamically.

🚀 How to Run the Project

  1. Clone the repository:
    git clone https://github.com/your-username/snake-game-godot.git
  2. Open the project in Godot Engine by selecting the project.godot file.
  3. Click the Play button to start the game.

🌟 Customization


The game is highly customizable! Here are a few ideas:

Grid Size: Change the cells and cell_size variables to adjust grid dimensions. Snake Speed: Adjust the MoveTimer duration for faster or slower gameplay. Assets: Replace sprites in the project to modify the game’s look and feel.


📜 License

This project is licensed under the MIT License. You are free to use, modify, and distribute it for personal or commercial purposes.


🤝 Contributing


Contributions are welcome! Follow these steps:
  1. Fork the repository.
  2. Create a new branch: feature/your-feature.
  3. Submit a pull request with a detailed description.

💌 Questions or Suggestions?


Reach out at: amitkumarraikwar92+github@gmail.com

About

A classic Snake Game built using the Godot Engine. This project serves as a beginner-friendly introduction to game development with Godot, showcasing concepts like scene instancing, grid-based movement, and simple game mechanics. It is fully customizable and can be used as a foundation for more advanced projects.

Resources

License

Stars

Watchers

Forks

Packages

No packages published