Packet Snake

Packet Snake

You are a packet crossing the network. Collect the TCP flags in the correct order to open a connection, send data, and close it cleanly. Wrong flags corrupt your packet.

Packet Snake

Arrow keys or WASD to steer. Collect the highlighted flag, in order. Don't hit the walls or yourself.

Score
0
Best (this mode)
0
Length
3
Streak
0
Connections
0
Patch shield
None

Collect next

One connection = SYN, SYN-ACK, ACK (handshake), DATA, FIN, ACK (close).

Press Start to begin.

How to play

  • Steer with the arrow keys or WASD, the on-screen buttons, or by swiping.
  • Eat the outlined green flag that matches "Collect next". Correct flag: grow and score, with a bonus for streaks.
  • Wrong flag: lose up to 2 segments, 5 points, and your streak.
  • Complete a connection for +50 and more speed. After each one a blue PATCH appears: grab it and its shield absorbs your next crash.
  • Hardened mode adds red malware blocks after each connection. Wrap-around removes the edge walls.
  • Space or P pauses. Bests are saved per mode in this browser only.

Educational game: the flags and their order follow how TCP opens and closes a connection (real connections can also use RST, retransmissions, and simultaneous close, which are simplified here).