Jide Oyelayo
CV

Lab / Snake

Snake

What this demonstrates: A fixed-step game loop with a queued direction, so a quick double turn cannot reverse the snake into itself.

Abstract poster for Snake: a path of square cells turning across a grid, ending in one red square.

Controls

Keyboard
  • Arrow keys or W, A, S, D steer
  • P pauses and resumes
Touch
  • Swipe on the board to steer
  • Or use the on-screen direction buttons