snake-core-gameplay

star 0

Core gameplay loop for a Slither-like game. Use this when implementing eat-grow-score-death cycle.

Jlu-waterbrother By Jlu-waterbrother schedule Updated 2/26/2026

name: snake-core-gameplay description: Core gameplay loop for a Slither-like game. Use this when implementing eat-grow-score-death cycle. license: MIT

Implement and preserve the core loop:

  1. Spawn food in safe positions.
  2. Snake eats food to gain score and length.
  3. Update movement scaling and camera feel gradually.
  4. Trigger death on invalid collisions.
  5. Convert dead snake mass into collectable food (optional but recommended).

Behavior defaults:

  • Keep controls responsive with turn-rate limits rather than hard input delay.
  • Keep growth incremental to preserve pacing.
  • Keep score and body length derived from one source of truth.
Install via CLI
npx skills add https://github.com/Jlu-waterbrother/snake_combat --skill snake-core-gameplay
Repository Details
star Stars 0
call_split Forks 0
navigation Branch main
article Path SKILL.md
More from Creator
Jlu-waterbrother
Jlu-waterbrother Explore all skills →