Fxgl Snake

Build a Snake game in FXGL — move on a discrete grid by timer steps, store the body as a deque of grid cells, grow when food is eaten, buffer direction changes, detect self-collision and wall rules, increase speed as the snake grows, and support multiple food types or wrap mode.

JohannesRabauer Updated

File contents

JohannesRabauer/fxgl-skills/tree/main/skills/fxgl-snake commit a324a14b9a

Frequently asked questions

npx skillmds@latest add johannesrabauer/fxgl-snake