Skip to content

bluehexagons/snake2d

Repository files navigation

A Simple Snake Game

A Simple Snake Game is a simple snake game in which you simply snake.

Controls

  • Movement: Arrow keys, WASD, Gamepad, or Mouse/Touch
  • Pause: Space/Escape/P/or Start button
  • Menu Navigation:
    • Keyboard arrows/WASD
    • Gamepad D-pad/stick
    • Mouse
  • Select: Enter/Space/A button
  • Back: Escape/B button

Features

  • Multiple control schemes:
    • Keyboard (Arrow keys or WASD)
    • Gamepad (D-pad or analog stick)
    • Mouse/Touch (Click/tap where you want to go)
  • Top 10 high scores system
  • Pause functionality (Space/P/Start button)
  • Full controller support with UI navigation
  • Sound toggle option

Technical Details

  • Audio engine supporting multiple types of waveforms (sin, square, saw)
  • Procedural color variations in the snake's tail
  • Responsive UI design
  • Save system for high scores
  • Mobile-compatible design
  • Smooth camera system

Credits

Created by bluehexagons in a few days as a learning project for Copilot-assisted Godot game development and release.

MIT License

Feel free to use this code as a learning resource or base for your own projects.